Home
last modified time | relevance | path

Searched refs:swizzle_shift (Results 1 – 2 of 2) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_texture.c110 const uint32_t swizzle_shift[4] = { in r300_get_swizzle_combined() local
134 result |= swizzle_bit[1] << swizzle_shift[i]; in r300_get_swizzle_combined()
137 result |= swizzle_bit[2] << swizzle_shift[i]; in r300_get_swizzle_combined()
140 result |= swizzle_bit[3] << swizzle_shift[i]; in r300_get_swizzle_combined()
143 result |= R300_TX_FORMAT_ZERO << swizzle_shift[i]; in r300_get_swizzle_combined()
146 result |= R300_TX_FORMAT_ONE << swizzle_shift[i]; in r300_get_swizzle_combined()
149 result |= swizzle_bit[0] << swizzle_shift[i]; in r300_get_swizzle_combined()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c2659 const uint32_t *swizzle_shift = tex_swizzle_shift; in r600_get_swizzle_combined() local
2662 swizzle_shift = vtx_swizzle_shift; in r600_get_swizzle_combined()
2674 result |= swizzle_bit[1] << swizzle_shift[i]; in r600_get_swizzle_combined()
2677 result |= swizzle_bit[2] << swizzle_shift[i]; in r600_get_swizzle_combined()
2680 result |= swizzle_bit[3] << swizzle_shift[i]; in r600_get_swizzle_combined()
2683 result |= V_038010_SQ_SEL_0 << swizzle_shift[i]; in r600_get_swizzle_combined()
2686 result |= V_038010_SQ_SEL_1 << swizzle_shift[i]; in r600_get_swizzle_combined()
2689 result |= swizzle_bit[0] << swizzle_shift[i]; in r600_get_swizzle_combined()