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.c108 const uint32_t swizzle_shift[4] = { in r300_get_swizzle_combined() local
132 result |= swizzle_bit[1] << swizzle_shift[i]; in r300_get_swizzle_combined()
135 result |= swizzle_bit[2] << swizzle_shift[i]; in r300_get_swizzle_combined()
138 result |= swizzle_bit[3] << swizzle_shift[i]; in r300_get_swizzle_combined()
141 result |= R300_TX_FORMAT_ZERO << swizzle_shift[i]; in r300_get_swizzle_combined()
144 result |= R300_TX_FORMAT_ONE << swizzle_shift[i]; in r300_get_swizzle_combined()
147 result |= swizzle_bit[0] << swizzle_shift[i]; in r300_get_swizzle_combined()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c2725 const uint32_t *swizzle_shift = tex_swizzle_shift; in r600_get_swizzle_combined() local
2728 swizzle_shift = vtx_swizzle_shift; in r600_get_swizzle_combined()
2740 result |= swizzle_bit[1] << swizzle_shift[i]; in r600_get_swizzle_combined()
2743 result |= swizzle_bit[2] << swizzle_shift[i]; in r600_get_swizzle_combined()
2746 result |= swizzle_bit[3] << swizzle_shift[i]; in r600_get_swizzle_combined()
2749 result |= V_038010_SQ_SEL_0 << swizzle_shift[i]; in r600_get_swizzle_combined()
2752 result |= V_038010_SQ_SEL_1 << swizzle_shift[i]; in r600_get_swizzle_combined()
2755 result |= swizzle_bit[0] << swizzle_shift[i]; in r600_get_swizzle_combined()