Home
last modified time | relevance | path

Searched refs:spi_shader_col_format (Results 1 – 25 of 26) sorted by relevance

12

/aosp_15_r20/external/mesa3d/src/amd/common/
H A Dac_nir_lower_ps.c451 unsigned spi_shader_col_format = (s->options->spi_shader_col_format >> (cbuf * 4)) & 0xf; in emit_ps_color_export() local
452 if (spi_shader_col_format == V_028714_SPI_SHADER_ZERO) in emit_ps_color_export()
491 switch (spi_shader_col_format) { in emit_ps_color_export()
543 switch (spi_shader_col_format) { in emit_ps_color_export()
H A Dac_shader_util.h252 unsigned ac_get_cb_shader_mask(unsigned spi_shader_col_format);
H A Dac_nir.h260 unsigned spi_shader_col_format; member
H A Dac_shader_util.c217 unsigned ac_get_cb_shader_mask(unsigned spi_shader_col_format) in ac_get_cb_shader_mask() argument
222 switch ((spi_shader_col_format >> (i * 4)) & 0xf) { in ac_get_cb_shader_mask()
/aosp_15_r20/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_shader_llvm_ps.c152 unsigned col_formats = key->ps.part.epilog.spi_shader_col_format; in si_llvm_init_ps_export_args()
154 unsigned spi_shader_col_format; in si_llvm_init_ps_export_args() local
160 spi_shader_col_format = (col_formats >> (cbuf * 4)) & 0xf; in si_llvm_init_ps_export_args()
161 if (spi_shader_col_format == V_028714_SPI_SHADER_ZERO) in si_llvm_init_ps_export_args()
195 switch (spi_shader_col_format) { in si_llvm_init_ps_export_args()
H A Dsi_state_shaders.cpp1902 unsigned spi_shader_col_format = shader->key.ps.part.epilog.spi_shader_col_format; in si_get_spi_shader_col_format() local
1904 unsigned i, num_targets = (util_last_bit(spi_shader_col_format) + 3) / 4; in si_get_spi_shader_col_format()
1908 unsigned spi_format = (spi_shader_col_format >> (i * 4)) & 0xf; in si_get_spi_shader_col_format()
1933 shader->ps.spi_shader_col_format); in gfx6_emit_shader_ps()
1956 shader->ps.spi_shader_col_format); in gfx11_dgpu_emit_shader_ps()
1974 shader->ps.spi_shader_col_format); in gfx12_emit_shader_ps()
2119 shader->ps.spi_shader_col_format = si_get_spi_shader_col_format(shader); in si_shader_ps()
2120 …hader->ps.cb_shader_mask = ac_get_cb_shader_mask(shader->key.ps.part.epilog.spi_shader_col_format); in si_shader_ps()
2147 if (!shader->ps.spi_shader_col_format) { in si_shader_ps()
2149 shader->ps.spi_shader_col_format = V_028714_SPI_SHADER_32_R; in si_shader_ps()
[all …]
H A Dsi_shader_aco.c314 .spi_shader_col_format = key->ps_epilog.states.spi_shader_col_format, in si_aco_build_ps_epilog()
H A Dsi_shader.h630 unsigned spi_shader_col_format; member
963 unsigned spi_shader_col_format; member
H A Dsi_state.c99 unsigned spi_shader_col_format = in si_emit_cb_render_state() local
100 sctx->shader.ps.cso ? sctx->shader.ps.current->key.ps.part.epilog.spi_shader_col_format in si_emit_cb_render_state()
123 spi_format = (spi_shader_col_format >> (i * 4)) & 0xf; in si_emit_cb_render_state()
2378 surf->spi_shader_col_format = formats.normal; in si_choose_spi_color_formats()
2589 sctx->framebuffer.spi_shader_col_format = 0; in si_set_framebuffer_state()
2623 sctx->framebuffer.spi_shader_col_format |= surf->spi_shader_col_format << (i * 4); in si_set_framebuffer_state()
H A Dsi_pipe.h434 unsigned spi_shader_col_format : 8; /* no blending, no alpha-to-coverage. */ member
726 unsigned spi_shader_col_format; member
H A Dsi_shader.c1568 key->ps.part.epilog.spi_shader_col_format); in si_dump_shader_key()
1753 unsigned cb_shader_mask = ac_get_cb_shader_mask(key->ps.part.epilog.spi_shader_col_format); in kill_ps_outputs_cb()
2468 .spi_shader_col_format = key->ps.part.epilog.spi_shader_col_format, in si_get_nir_shader()
H A Dsi_state_draw.cpp52 old_ps ? old_ps->key.ps.part.epilog.spi_shader_col_format : 0; in si_update_shaders()
295 sctx->shader.ps.current->key.ps.part.epilog.spi_shader_col_format)) in si_update_shaders()
/aosp_15_r20/external/mesa3d/src/amd/vulkan/
H A Dradv_shader.h95 uint32_t spi_shader_col_format; member
365 uint32_t spi_shader_col_format; member
464 uint32_t spi_shader_col_format; member
H A Dradv_pipeline_graphics.h89 uint32_t spi_shader_col_format; member
566 unsigned radv_compact_spi_shader_col_format(uint32_t spi_shader_col_format);
H A Dradv_pipeline_graphics.c158 radv_compact_spi_shader_col_format(uint32_t spi_shader_col_format) in radv_compact_spi_shader_col_format() argument
164 num_targets = DIV_ROUND_UP(util_last_bit(spi_shader_col_format), 4); in radv_compact_spi_shader_col_format()
168 unsigned spi_format = (spi_shader_col_format >> (i * 4)) & 0xf; in radv_compact_spi_shader_col_format()
1114 unsigned col_format = (gfx_state->ps.epilog.spi_shader_col_format >> (4 * cb_idx)) & 0xf; in radv_remove_color_exports()
1760 key.spi_shader_col_format = col_format; in radv_generate_ps_epilog_key()
3394 pipeline->spi_shader_col_format = ps->info.ps.spi_shader_col_format; in radv_graphics_pipeline_init()
3399 …_needs_null_export_workaround(device, ps, custom_blend_mode) && !pipeline->spi_shader_col_format) { in radv_graphics_pipeline_init()
3400 pipeline->spi_shader_col_format = V_028714_SPI_SHADER_32_R; in radv_graphics_pipeline_init()
H A Dradv_aco_shader_info.h78 ASSIGN_FIELD(spi_shader_col_format); in radv_aco_convert_ps_epilog_key()
H A Dradv_shader_info.h211 unsigned spi_shader_col_format; member
H A Dradv_shader_info.c922 info->ps.spi_shader_col_format = gfx_state->ps.epilog.spi_shader_col_format; in gather_shader_info_fs()
925 info->ps.spi_shader_col_format &= info->ps.colors_written; in gather_shader_info_fs()
927 info->ps.cb_shader_mask = ac_get_cb_shader_mask(info->ps.spi_shader_col_format); in gather_shader_info_fs()
H A Dradv_shader.c2714 shader_part->spi_shader_col_format = binary->info.spi_shader_col_format; in radv_shader_part_create()
3248 binary->info.spi_shader_col_format = key->spi_shader_col_format;
3249 binary->info.cb_shader_mask = ac_get_cb_shader_mask(key->spi_shader_col_format);
H A Dradv_cmd_buffer.h431 unsigned spi_shader_col_format; member
H A Dradv_pipeline.c537 …options.spi_shader_col_format = gfx_state->ps.epilog.spi_shader_col_format & stage->info.ps.colors… in radv_postprocess_nir()
H A Dradv_cmd_buffer.c1800 uint32_t spi_format = (cmd_buffer->state.spi_shader_col_format >> (i * 4)) & 0xf; in radv_emit_rbplus_state()
5596 key.spi_shader_col_format &= colors_written; in lookup_ps_epilog()
8252 cmd_buffer->state.spi_shader_col_format != graphics_pipeline->spi_shader_col_format) { in radv_CmdBindPipeline()
8253 cmd_buffer->state.spi_shader_col_format = graphics_pipeline->spi_shader_col_format; in radv_CmdBindPipeline()
10759 …col_format_compacted = radv_compact_spi_shader_col_format(cmd_buffer->state.spi_shader_col_format); in radv_emit_color_output_state()
10793 uint32_t col_format = ps_epilog->spi_shader_col_format; in radv_emit_all_graphics_states()
10802 if (cmd_buffer->state.spi_shader_col_format != col_format) { in radv_emit_all_graphics_states()
10803 cmd_buffer->state.spi_shader_col_format = col_format; in radv_emit_all_graphics_states()
11001 if (cmd_buffer->state.spi_shader_col_format != col_format) { in radv_bind_graphics_shaders()
11002 cmd_buffer->state.spi_shader_col_format = col_format; in radv_bind_graphics_shaders()
[all …]
/aosp_15_r20/external/mesa3d/src/amd/compiler/
H A Daco_shader_info.h53 uint32_t spi_shader_col_format; member
/aosp_15_r20/external/mesa3d/docs/relnotes/
H A D24.2.0.rst4123 - radv: rename col_format_non_compacted to spi_shader_col_format
H A D23.1.0.rst4861 - radv: store spi_shader_col_format to radv_shader_part_binary

12