Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c512 unsigned col_format = 0, is_int8 = 0, is_int10 = 0; in radv_pipeline_compute_spi_color_formats() local
536 col_format |= cf << (4 * i); in radv_pipeline_compute_spi_color_formats()
539 if (!(col_format & 0xf) && blend->need_src_alpha & (1 << 0)) { in radv_pipeline_compute_spi_color_formats()
544 col_format |= V_028714_SPI_SHADER_32_AR; in radv_pipeline_compute_spi_color_formats()
550 num_targets = (util_last_bit(col_format) + 3) / 4; in radv_pipeline_compute_spi_color_formats()
552 if (!(col_format & (0xfu << (i * 4)))) { in radv_pipeline_compute_spi_color_formats()
553 col_format |= V_028714_SPI_SHADER_32_R << (i * 4); in radv_pipeline_compute_spi_color_formats()
561 assert(!(col_format >> 4)); in radv_pipeline_compute_spi_color_formats()
562 col_format |= (col_format & 0xf) << 4; in radv_pipeline_compute_spi_color_formats()
565 blend->spi_shader_col_format = col_format; in radv_pipeline_compute_spi_color_formats()
[all …]
Dradv_shader.h101 uint32_t col_format; member
Dradv_nir_to_llvm.c1388 unsigned col_format = (ctx->args->options->key.fs.col_format >> (4 * index)) & 0xf; in si_llvm_init_export_args() local
1397 switch(col_format) { in si_llvm_init_export_args()
1480 (col_format == V_028714_SPI_SHADER_32_R || in si_llvm_init_export_args()
1481 col_format == V_028714_SPI_SHADER_32_GR || in si_llvm_init_export_args()
1482 col_format == V_028714_SPI_SHADER_32_AR || in si_llvm_init_export_args()
1483 col_format == V_028714_SPI_SHADER_32_ABGR || in si_llvm_init_export_args()
1484 col_format == V_028714_SPI_SHADER_FP16_ABGR)) { in si_llvm_init_export_args()
Dradv_private.h399 uint32_t col_format; member
1757 uint32_t col_format; member
Dradv_cmd_buffer.c1096 uint32_t spi_format = (pipeline->graphics.col_format >> (i * 4)) & 0xf; in radv_emit_rbplus_state()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp10363 unsigned target, col_format; in export_fs_mrt_color() local
10369 col_format = (ctx->options->key.fs.col_format >> (4 * slot)) & 0xf; in export_fs_mrt_color()
10378 (col_format == V_028714_SPI_SHADER_32_R || in export_fs_mrt_color()
10379 col_format == V_028714_SPI_SHADER_32_GR || in export_fs_mrt_color()
10380 col_format == V_028714_SPI_SHADER_32_AR || in export_fs_mrt_color()
10381 col_format == V_028714_SPI_SHADER_32_ABGR || in export_fs_mrt_color()
10382 col_format == V_028714_SPI_SHADER_FP16_ABGR)) { in export_fs_mrt_color()
10395 switch (col_format) in export_fs_mrt_color()