Home
last modified time | relevance | path

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

/external/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()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c2607 const uint32_t *swizzle_shift = tex_swizzle_shift; in r600_get_swizzle_combined() local
2610 swizzle_shift = vtx_swizzle_shift; in r600_get_swizzle_combined()
2622 result |= swizzle_bit[1] << swizzle_shift[i]; in r600_get_swizzle_combined()
2625 result |= swizzle_bit[2] << swizzle_shift[i]; in r600_get_swizzle_combined()
2628 result |= swizzle_bit[3] << swizzle_shift[i]; in r600_get_swizzle_combined()
2631 result |= V_038010_SQ_SEL_0 << swizzle_shift[i]; in r600_get_swizzle_combined()
2634 result |= V_038010_SQ_SEL_1 << swizzle_shift[i]; in r600_get_swizzle_combined()
2637 result |= swizzle_bit[0] << swizzle_shift[i]; in r600_get_swizzle_combined()