Home
last modified time | relevance | path

Searched refs:astc_srgb (Results 1 – 9 of 9) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c167 so->astc_srgb = true; in fd4_sampler_view_create()
242 uint16_t astc_srgb = 0; in fd4_set_sampler_views() local
260 if (view->astc_srgb) in fd4_set_sampler_views()
261 astc_srgb |= (1 << (start + i)); in fd4_set_sampler_views()
292 astc_srgb &= ~(1 << (start + nr + i)); in fd4_set_sampler_views()
297 fd4_ctx->fastc_srgb = astc_srgb; in fd4_set_sampler_views()
299 fd4_ctx->vastc_srgb = astc_srgb; in fd4_set_sampler_views()
301 fd4_ctx->castc_srgb = astc_srgb; in fd4_set_sampler_views()
Dfd4_texture.h54 bool astc_srgb; member
Dfd4_emit.c203 unsigned num_textures = tex->num_textures + v->astc_srgb.count + v->tg4.count; in emit_textures()
236 for (i = 0; i < v->astc_srgb.count; i++) { in emit_textures()
239 unsigned idx = v->astc_srgb.orig_idx[i]; in emit_textures()
342 assert(v->astc_srgb.count == 0); in emit_textures()
928 cp->astc_srgb.count + in fd4_emit_cs_state()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_context.h153 unsigned astc_srgb; member
Dir3_context.c41 ctx->astc_srgb = so->key.vastc_srgb; in ir3_context_init()
45 ctx->astc_srgb = so->key.fastc_srgb; in ir3_context_init()
Dir3_compiler_nir.c3255 } else if ((ctx->astc_srgb & (1 << tex->texture_index)) && in emit_tex()
3270 array_insert(ctx->ir, ctx->ir->astc_srgb, sam); in emit_tex()
4435 so->astc_srgb.base = tex_idx; in fixup_astc_srgb()
4438 struct ir3_instruction *sam = ctx->ir->astc_srgb[i]; in fixup_astc_srgb()
4445 so->astc_srgb.orig_idx[idx++] = sam->cat5.tex; in fixup_astc_srgb()
4446 so->astc_srgb.count++; in fixup_astc_srgb()
4466 unsigned tex_idx = ctx->max_texture_index + so->astc_srgb.count + 1; in fixup_tg4()
4952 if (ctx->astc_srgb) in ir3_compile_shader_nir()
Dir3_shader.h705 } astc_srgb; member
Dir3.h535 DECLARE_ARRAY(struct ir3_instruction *, astc_srgb);
/third_party/mesa3d/docs/relnotes/
D19.1.0.rst4100 - freedreno/a6xx: remove astc_srgb workaround