Home | History | Annotate | Download | only in radeonsi

Lines Matching refs:surf_tmpl

129 			struct pipe_surface *zsurf, *cbsurf, surf_tmpl;
131 surf_tmpl.format = texture->real_format;
132 surf_tmpl.u.tex.level = level;
133 surf_tmpl.u.tex.first_layer = layer;
134 surf_tmpl.u.tex.last_layer = layer;
135 surf_tmpl.usage = PIPE_BIND_DEPTH_STENCIL;
137 zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl);
139 surf_tmpl.format = texture->flushed_depth_texture->real_format;
140 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET;
142 (struct pipe_resource*)texture->flushed_depth_texture, &surf_tmpl);