Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c238 so->astc_srgb = true; in fd5_sampler_view_create()
318 uint16_t astc_srgb = 0; in fd5_set_sampler_views() local
325 if (view->astc_srgb) in fd5_set_sampler_views()
326 astc_srgb |= (1 << i); in fd5_set_sampler_views()
333 fd5_ctx->fastc_srgb = astc_srgb; in fd5_set_sampler_views()
335 fd5_ctx->vastc_srgb = astc_srgb; in fd5_set_sampler_views()
Dfd5_texture.h56 bool astc_srgb; member
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c253 so->astc_srgb = true; in fd4_sampler_view_create()
335 uint16_t astc_srgb = 0; in fd4_set_sampler_views() local
342 if (view->astc_srgb) in fd4_set_sampler_views()
343 astc_srgb |= (1 << i); in fd4_set_sampler_views()
350 fd4_ctx->fastc_srgb = astc_srgb; in fd4_set_sampler_views()
352 fd4_ctx->vastc_srgb = astc_srgb; in fd4_set_sampler_views()
Dfd4_texture.h57 bool astc_srgb; member
Dfd4_emit.c171 unsigned num_textures = tex->num_textures + v->astc_srgb.count; in emit_textures()
204 for (i = 0; i < v->astc_srgb.count; i++) { in emit_textures()
207 unsigned idx = v->astc_srgb.orig_idx[i]; in emit_textures()
230 debug_assert(v->astc_srgb.count == 0); in emit_textures()
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_compiler_nir.c124 unsigned astc_srgb; member
158 ctx->astc_srgb = so->key.vastc_srgb; in compile_init()
160 ctx->astc_srgb = so->key.fastc_srgb; in compile_init()
2447 if ((ctx->astc_srgb & (1 << tex_idx)) && !nir_tex_instr_is_query(tex)) { in emit_tex()
2458 array_insert(ctx->ir, ctx->ir->astc_srgb, sam); in emit_tex()
3231 so->astc_srgb.base = tex_idx; in fixup_astc_srgb()
3234 struct ir3_instruction *sam = ctx->ir->astc_srgb[i]; in fixup_astc_srgb()
3241 so->astc_srgb.orig_idx[idx++] = sam->cat5.tex; in fixup_astc_srgb()
3242 so->astc_srgb.count++; in fixup_astc_srgb()
3421 if (ctx->astc_srgb) in ir3_compile_shader_nir()
Dir3_shader.h334 } astc_srgb; member
Dir3.h436 DECLARE_ARRAY(struct ir3_instruction *, astc_srgb);