Lines Matching refs:col_format
512 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()
591 unsigned col_format = radv_choose_spi_color_format(format, false, false); in radv_format_meta_fs_key() local
593 assert(col_format != V_028714_SPI_SHADER_32_AR); in radv_format_meta_fs_key()
594 if (col_format >= V_028714_SPI_SHADER_32_AR) in radv_format_meta_fs_key()
595 --col_format; /* Skip V_028714_SPI_SHADER_32_AR since there is no such VkFormat */ in radv_format_meta_fs_key()
597 --col_format; /* Skip V_028714_SPI_SHADER_ZERO */ in radv_format_meta_fs_key()
601 return col_format + (is_int8 ? 3 : is_int10 ? 5 : 0); in radv_format_meta_fs_key()
2573 key.col_format = blend->spi_shader_col_format; in radv_generate_graphics_pipeline_key()
2684 keys[MESA_SHADER_FRAGMENT].fs.col_format = key->col_format; in radv_fill_shader_keys()
5251 pipeline->graphics.col_format = blend.spi_shader_col_format; in radv_pipeline_init()