Home | History | Annotate | Download | only in r600

Lines Matching refs:tex

191 				surf_tmpl.u.tex.level = level;
192 surf_tmpl.u.tex.first_layer = layer;
193 surf_tmpl.u.tex.last_layer = layer;
199 surf_tmpl.u.tex.level = level;
200 surf_tmpl.u.tex.first_layer = layer;
201 surf_tmpl.u.tex.last_layer = layer;
238 struct r600_texture *tex;
245 tex = (struct r600_texture *)view->texture;
246 assert(tex->is_depth && !tex->is_flushing_texture);
248 r600_blit_decompress_depth(&rctx->context, tex, NULL,
249 view->u.tex.first_level, view->u.tex.last_level,
250 0, u_max_layer(&tex->resource.b.b, view->u.tex.first_level),
251 0, u_max_sample(&tex->resource.b.b));
281 surf_tmpl.u.tex.level = level;
282 surf_tmpl.u.tex.first_layer = layer;
283 surf_tmpl.u.tex.last_layer = layer;
318 struct r600_texture *tex;
325 tex = (struct r600_texture *)view->texture;
326 assert(tex->cmask_size && tex->fmask_size);
328 r600_blit_decompress_color(&rctx->context, tex,
329 view->u.tex.first_level, view->u.tex.last_level,
330 0, u_max_layer(&tex->resource.b.b, view->u.tex.first_level));
570 static void r600_compressed_to_blittable(struct pipe_resource *tex,
574 struct r600_texture *rtex = (struct r600_texture*)tex;
579 orig->format = tex->format;
580 orig->width0 = tex->width0;
581 orig->height0 = tex->height0;
592 new_width = util_format_get_nblocksx(tex->format, orig->width0);
593 new_height = util_format_get_nblocksy(tex->format, orig->height0);
595 tex->width0 = new_width;
596 tex->height0 = new_height;
597 tex->format = new_format;
604 static void r600_subsampled_2x1_32bpp_to_blittable(struct pipe_resource *tex,
608 struct r600_texture *rtex = (struct r600_texture*)tex;
610 orig->format = tex->format;
611 orig->width0 = tex->width0;
612 orig->height0 = tex->height0;
618 tex->width0 = util_format_get_nblocksx(orig->format, orig->width0);
619 tex->format = PIPE_FORMAT_R8G8B8A8_UINT;
624 static void r600_change_format(struct pipe_resource *tex,
629 struct r600_texture *rtex = (struct r600_texture*)tex;
631 orig->format = tex->format;
632 orig->width0 = tex->width0;
633 orig->height0 = tex->height0;
639 tex->format = format;
642 static void r600_reset_blittable_to_orig(struct pipe_resource *tex,
646 struct r600_texture *rtex = (struct r600_texture*)tex;
648 tex->format = orig->format;
649 tex->width0 = orig->width0;
650 tex->height0 = orig->height0;