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.c48 const uint32_t swizzle_shift[4] = { in r300_get_swizzle_combined() local
72 result |= swizzle_bit[1] << swizzle_shift[i]; in r300_get_swizzle_combined()
75 result |= swizzle_bit[2] << swizzle_shift[i]; in r300_get_swizzle_combined()
78 result |= swizzle_bit[3] << swizzle_shift[i]; in r300_get_swizzle_combined()
81 result |= R300_TX_FORMAT_ZERO << swizzle_shift[i]; in r300_get_swizzle_combined()
84 result |= R300_TX_FORMAT_ONE << swizzle_shift[i]; in r300_get_swizzle_combined()
87 result |= swizzle_bit[0] << swizzle_shift[i]; in r300_get_swizzle_combined()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c801 const uint32_t swizzle_shift[4] = { in r600_get_swizzle_combined() local
818 result |= swizzle_bit[1] << swizzle_shift[i]; in r600_get_swizzle_combined()
821 result |= swizzle_bit[2] << swizzle_shift[i]; in r600_get_swizzle_combined()
824 result |= swizzle_bit[3] << swizzle_shift[i]; in r600_get_swizzle_combined()
827 result |= V_038010_SQ_SEL_0 << swizzle_shift[i]; in r600_get_swizzle_combined()
830 result |= V_038010_SQ_SEL_1 << swizzle_shift[i]; in r600_get_swizzle_combined()
833 result |= swizzle_bit[0] << swizzle_shift[i]; in r600_get_swizzle_combined()