Lines Matching defs:surf_tmpl
183 struct pipe_surface *zsurf, *cbsurf, surf_tmpl;
190 surf_tmpl.format = texture->resource.b.b.format;
191 surf_tmpl.u.tex.level = level;
192 surf_tmpl.u.tex.first_layer = layer;
193 surf_tmpl.u.tex.last_layer = layer;
194 surf_tmpl.usage = PIPE_BIND_DEPTH_STENCIL;
196 zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl);
198 surf_tmpl.format = flushed_depth_texture->resource.b.b.format;
199 surf_tmpl.u.tex.level = level;
200 surf_tmpl.u.tex.first_layer = layer;
201 surf_tmpl.u.tex.last_layer = layer;
202 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET;
204 &flushed_depth_texture->resource.b.b, &surf_tmpl);
278 struct pipe_surface *cbsurf, surf_tmpl;
280 surf_tmpl.format = rtex->resource.b.b.format;
281 surf_tmpl.u.tex.level = level;
282 surf_tmpl.u.tex.first_layer = layer;
283 surf_tmpl.u.tex.last_layer = layer;
284 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET;
285 cbsurf = ctx->create_surface(ctx, &rtex->resource.b.b, &surf_tmpl);