Lines Matching defs:rtex
336 struct r600_texture *rtex,
343 if (!rtex->dirty_level_mask)
347 if (!(rtex->dirty_level_mask & (1 << level)))
352 max_layer = util_max_layer(&rtex->resource.b.b, level);
358 surf_tmpl.format = rtex->resource.b.b.format;
362 cbsurf = ctx->create_surface(ctx, &rtex->resource.b.b, &surf_tmpl);
366 rtex->fmask.size ? rctx->custom_blend_decompress : rctx->custom_blend_fastclear);
375 rtex->dirty_level_mask &= ~(1 << level);
439 struct r600_texture *rtex = (struct r600_texture*)tex;
441 if (rtex->db_compatible) {
442 if (r600_can_sample_zs(rtex, false)) {
443 r600_blit_decompress_depth_in_place(rctx, rtex, false,
446 if (rtex->surface.has_stencil) {
447 r600_blit_decompress_depth_in_place(rctx, rtex, true,
455 r600_blit_decompress_depth(ctx, rtex, NULL,
460 } else if (rtex->cmask.size) {
461 r600_blit_decompress_color(ctx, rtex, level, level,
504 struct r600_texture *rtex;
507 rtex = (struct r600_texture*)fb->zsbuf->texture;
513 if (r600_htile_enabled(rtex, level) &&
515 fb->zsbuf->u.tex.last_layer == util_max_layer(&rtex->resource.b.b, level)) {
516 if (rtex->depth_clear_value != depth) {
517 rtex->depth_clear_value = depth;
961 struct r600_texture *rtex = (struct r600_texture*)res;
965 if (!rtex->is_depth && rtex->cmask.size) {
966 r600_blit_decompress_color(ctx, rtex, 0, res->last_level,