Home
last modified time | relevance | path

Searched refs:colors_read (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm.c385 unsigned colors_read = ctx->shader->selector->info.colors_read; in si_nir_build_llvm() local
392 if (colors_read & 0x0f) { in si_nir_build_llvm()
393 unsigned mask = colors_read & 0x0f; in si_nir_build_llvm()
401 if (colors_read & 0xf0) { in si_nir_build_llvm()
402 unsigned mask = (colors_read & 0xf0) >> 4; in si_nir_build_llvm()
Dsi_shader.h350 ubyte colors_read; /**< which color components are read by the FS */ member
578 unsigned colors_read : 8; /* color input components read */ member
Dsi_shader_nir.c268 info->colors_read |= mask << (index * 4); in scan_instruction()
400 if ((info->colors_read >> (i * 4)) & 0xf) { in si_nir_scan_shader()
403 info->input_usage_mask[info->num_inputs] = info->colors_read >> (i * 4); in si_nir_scan_shader()
Dsi_shader.c659 if (shader->selector->info.colors_read) { in si_create_function()
660 unsigned num_color_elements = util_bitcount(shader->selector->info.colors_read); in si_create_function()
2179 key->ps_prolog.colors_read = info->colors_read; in si_get_ps_prolog_key()
2184 (key->ps_prolog.colors_read || key->ps_prolog.states.force_persp_sample_interp || in si_get_ps_prolog_key()
2191 if (info->colors_read) { in si_get_ps_prolog_key()
2206 if (!(info->colors_read & (0xf << i * 4))) in si_get_ps_prolog_key()
2295 return key->ps_prolog.colors_read || key->ps_prolog.states.force_persp_sample_interp || in si_need_ps_prolog()
Dsi_shader_llvm_ps.c625 num_color_channels = util_bitcount(key->ps_prolog.colors_read); in si_llvm_build_ps_prolog()
781 unsigned writemask = (key->ps_prolog.colors_read >> (i * 4)) & 0xf; in si_llvm_build_ps_prolog()
809 key->ps_prolog.colors_read, interp_ij, prim_mask, face, color); in si_llvm_build_ps_prolog()
Dsi_state_shaders.c1501 unsigned num_colors = !!(info->colors_read & 0x0f) + !!(info->colors_read & 0xf0); in si_get_ps_num_interp()
1994 key->part.ps.prolog.color_two_side = rs->two_side && sel->info.colors_read; in si_shader_selector_key()
1995 key->part.ps.prolog.flatshade_colors = rs->flatshade && sel->info.colors_read; in si_shader_selector_key()
3348 if (!(psinfo->colors_read & (0xf << (i * 4)))) in si_emit_spi_map()
Dsi_compute_prim_discard.c868 (rs->two_side && ps->info.colors_read); in si_shader_select_prim_discard_cs()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.h94 ubyte colors_read; /**< which color components are read by the FS */ member
Dtgsi_scan.c175 info->colors_read |= usage_mask_after_swizzle << (index * 4); in scan_src_operand()
/external/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c159 info->colors_read |= mask << (semantic_index * 4); in gather_intrinsic_load_deref_info()
/external/mesa3d/docs/relnotes/
D19.1.0.rst4494 - radeonsi/nir: set colors_read properly