Home
last modified time | relevance | path

Searched refs:col_format (Results 1 – 6 of 6) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline.c475 unsigned col_format = 0, is_int8 = 0, is_int10 = 0; in radv_pipeline_compute_spi_color_formats() local
498 col_format |= cf << (4 * i); in radv_pipeline_compute_spi_color_formats()
501 if (!(col_format & 0xf) && blend->need_src_alpha & (1 << 0)) { in radv_pipeline_compute_spi_color_formats()
506 col_format |= V_028714_SPI_SHADER_32_AR; in radv_pipeline_compute_spi_color_formats()
512 num_targets = (util_last_bit(col_format) + 3) / 4; in radv_pipeline_compute_spi_color_formats()
514 if (!(col_format & (0xfu << (i * 4)))) { in radv_pipeline_compute_spi_color_formats()
515 col_format |= V_028714_SPI_SHADER_32_R << (i * 4); in radv_pipeline_compute_spi_color_formats()
523 assert(!(col_format >> 4)); in radv_pipeline_compute_spi_color_formats()
524 col_format |= (col_format & 0xf) << 4; in radv_pipeline_compute_spi_color_formats()
527 blend->cb_shader_mask = ac_get_cb_shader_mask(col_format); in radv_pipeline_compute_spi_color_formats()
[all …]
Dradv_nir_to_llvm.c907 unsigned col_format = (ctx->args->options->key.ps.col_format >> (4 * index)) & 0xf; in si_llvm_init_export_args() local
915 switch (col_format) { in si_llvm_init_export_args()
993 (col_format == V_028714_SPI_SHADER_32_R || col_format == V_028714_SPI_SHADER_32_GR || in si_llvm_init_export_args()
994 col_format == V_028714_SPI_SHADER_32_AR || col_format == V_028714_SPI_SHADER_32_ABGR || in si_llvm_init_export_args()
995 col_format == V_028714_SPI_SHADER_FP16_ABGR)) { in si_llvm_init_export_args()
Dradv_shader.h84 uint32_t col_format; member
Dradv_private.h1817 uint32_t col_format; member
Dradv_cmd_buffer.c1150 uint32_t spi_format = (pipeline->graphics.col_format >> (i * 4)) & 0xf; in radv_emit_rbplus_state()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp10882 unsigned target, col_format; in export_fs_mrt_color() local
10889 col_format = (ctx->options->key.ps.col_format >> (4 * slot)) & 0xf; in export_fs_mrt_color()
10897 (col_format == V_028714_SPI_SHADER_32_R || col_format == V_028714_SPI_SHADER_32_GR || in export_fs_mrt_color()
10898 col_format == V_028714_SPI_SHADER_32_AR || col_format == V_028714_SPI_SHADER_32_ABGR || in export_fs_mrt_color()
10899 col_format == V_028714_SPI_SHADER_FP16_ABGR)) { in export_fs_mrt_color()
10911 switch (col_format) { in export_fs_mrt_color()