Home | History | Annotate | Download | only in radeonsi

Lines Matching refs:tex

132 			surf_tmpl.u.tex.level = level;
133 surf_tmpl.u.tex.first_layer = layer;
134 surf_tmpl.u.tex.last_layer = layer;
164 struct r600_resource_texture *tex;
169 tex = (struct r600_resource_texture *)view->base.texture;
170 if (!tex->depth)
173 if (tex->is_flushing_texture)
176 si_blit_uncompress_depth(&rctx->context, tex);
181 struct r600_resource_texture *tex;
182 tex = (struct r600_resource_texture *)rctx->framebuffer.cbufs[i]->texture;
184 if (!tex->depth)
187 if (tex->is_flushing_texture)
190 si_blit_uncompress_depth(&rctx->context, tex);
267 static void r600_compressed_to_blittable(struct pipe_resource *tex,
271 struct r600_resource_texture *rtex = (struct r600_resource_texture*)tex;
272 struct r600_screen *rscreen = (struct r600_screen *)tex->screen;
277 orig->format = tex->format;
278 orig->width0 = tex->width0;
279 orig->height0 = tex->height0;
290 new_width = util_format_get_nblocksx(tex->format, orig->width0);
291 new_height = util_format_get_nblocksy(tex->format, orig->height0);
293 tex->width0 = new_width;
294 tex->height0 = new_height;
295 tex->format = new_format;
302 static void r600_reset_blittable_to_compressed(struct pipe_resource *tex,
306 struct r600_resource_texture *rtex = (struct r600_resource_texture*)tex;
307 struct r600_screen *rscreen = (struct r600_screen *)tex->screen;
309 tex->format = orig->format;
310 tex->width0 = orig->width0;
311 tex->height0 = orig->height0;