Lines Matching defs:swap
140 unsigned format, swap, spi_format, colormask;
155 swap = G_028C70_COMP_SWAP(surf->cb_color_info);
222 if (swap == V_028C70_SWAP_STD && spi_format == V_028714_SPI_SHADER_32_R)
224 else if (swap == V_028C70_SWAP_ALT_REV && spi_format == V_028714_SPI_SHADER_32_AR)
235 if (swap == V_028C70_SWAP_STD || swap == V_028C70_SWAP_STD_REV)
2499 static void si_choose_spi_color_formats(struct si_surface *surf, unsigned format, unsigned swap,
2504 ac_choose_spi_color_formats(format, swap, ntype, is_depth, true, &formats);
2516 unsigned format, swap, ntype, endian;
2555 swap = si_translate_colorswap(sctx->gfx_level, surf->base.format, false);
2581 S_028C70_COMP_SWAP(swap) | S_028C70_BLEND_CLAMP(blend_clamp) |
2689 si_choose_spi_color_formats(surf, format, swap, ntype, tex->is_depth);
3255 unsigned swap = rgb_to_bgr[G_028C70_COMP_SWAP(cb_color_info)];
3258 cb_color_info |= S_028C70_COMP_SWAP(swap);