Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/common/
Dac_shader_util.c53 ac_get_cb_shader_mask(unsigned spi_shader_col_format) in ac_get_cb_shader_mask() argument
58 switch ((spi_shader_col_format >> (i * 4)) & 0xf) { in ac_get_cb_shader_mask()
Dac_shader_util.h38 ac_get_cb_shader_mask(unsigned spi_shader_col_format);
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_shaders.c945 unsigned value = shader->key.part.ps.epilog.spi_shader_col_format; in si_get_spi_shader_col_format()
962 unsigned spi_ps_in_control, spi_shader_col_format, cb_shader_mask; in si_shader_ps() local
1039 spi_shader_col_format = si_get_spi_shader_col_format(shader); in si_shader_ps()
1040 cb_shader_mask = ac_get_cb_shader_mask(spi_shader_col_format); in si_shader_ps()
1053 if (!spi_shader_col_format && in si_shader_ps()
1055 spi_shader_col_format = V_028714_SPI_SHADER_32_R; in si_shader_ps()
1073 si_pm4_set_reg(pm4, R_028714_SPI_SHADER_COL_FORMAT, spi_shader_col_format); in si_shader_ps()
1316 key->part.ps.epilog.spi_shader_col_format = in si_shader_selector_key()
1324 sctx->framebuffer.spi_shader_col_format); in si_shader_selector_key()
1325 key->part.ps.epilog.spi_shader_col_format &= blend->cb_target_enabled_4bit; in si_shader_selector_key()
[all …]
Dsi_shader.h439 unsigned spi_shader_col_format; member
Dsi_state.c142 unsigned spi_shader_col_format = in si_emit_cb_render_state() local
144 sctx->ps_shader.current->key.part.ps.epilog.spi_shader_col_format : 0; in si_emit_cb_render_state()
160 spi_format = (spi_shader_col_format >> (i * 4)) & 0xf; in si_emit_cb_render_state()
2340 surf->spi_shader_col_format = normal; in si_choose_spi_color_formats()
2823 sctx->framebuffer.spi_shader_col_format = 0; in si_set_framebuffer_state()
2849 sctx->framebuffer.spi_shader_col_format |= in si_set_framebuffer_state()
2850 surf->spi_shader_col_format << (i * 4); in si_set_framebuffer_state()
Dsi_pipe.h278 unsigned spi_shader_col_format; member
Dsi_shader.c2418 unsigned spi_shader_col_format = V_028714_SPI_SHADER_32_ABGR; in si_llvm_init_export_args() local
2436 unsigned col_formats = key->part.ps.epilog.spi_shader_col_format; in si_llvm_init_export_args()
2440 spi_shader_col_format = (col_formats >> (cbuf * 4)) & 0xf; in si_llvm_init_export_args()
2451 switch (spi_shader_col_format) { in si_llvm_init_export_args()
5861 …f(f, " part.ps.epilog.spi_shader_col_format = 0x%x\n", key->part.ps.epilog.spi_shader_col_format); in si_dump_shader_key()
7761 unsigned spi_format = key->ps_epilog.states.spi_shader_col_format; in si_build_ps_epilog_function()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_pipe_common.h296 unsigned spi_shader_col_format:8; /* no blending, no alpha-to-coverage. */ member
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c452 blend->spi_shader_col_format = col_format; in radv_pipeline_compute_spi_color_formats()
1777 key.col_format = pipeline->graphics.blend.spi_shader_col_format; in radv_generate_graphics_pipeline_key()
2495 if (!pipeline->graphics.blend.spi_shader_col_format) { in radv_pipeline_init()
2499 pipeline->graphics.blend.spi_shader_col_format = V_028714_SPI_SHADER_32_R; in radv_pipeline_init()
Dradv_private.h1149 uint32_t spi_shader_col_format; member
Dradv_cmd_buffer.c1022 …deon_set_context_reg(cmd_buffer->cs, R_028714_SPI_SHADER_COL_FORMAT, blend->spi_shader_col_format); in radv_emit_fragment_shader()