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.c109 const uint32_t swizzle_shift[4] = { in r300_get_swizzle_combined() local
133 result |= swizzle_bit[1] << swizzle_shift[i]; in r300_get_swizzle_combined()
136 result |= swizzle_bit[2] << swizzle_shift[i]; in r300_get_swizzle_combined()
139 result |= swizzle_bit[3] << swizzle_shift[i]; in r300_get_swizzle_combined()
142 result |= R300_TX_FORMAT_ZERO << swizzle_shift[i]; in r300_get_swizzle_combined()
145 result |= R300_TX_FORMAT_ONE << swizzle_shift[i]; in r300_get_swizzle_combined()
148 result |= swizzle_bit[0] << swizzle_shift[i]; in r300_get_swizzle_combined()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state_common.c2455 const uint32_t *swizzle_shift = tex_swizzle_shift; in r600_get_swizzle_combined() local
2458 swizzle_shift = vtx_swizzle_shift; in r600_get_swizzle_combined()
2470 result |= swizzle_bit[1] << swizzle_shift[i]; in r600_get_swizzle_combined()
2473 result |= swizzle_bit[2] << swizzle_shift[i]; in r600_get_swizzle_combined()
2476 result |= swizzle_bit[3] << swizzle_shift[i]; in r600_get_swizzle_combined()
2479 result |= V_038010_SQ_SEL_0 << swizzle_shift[i]; in r600_get_swizzle_combined()
2482 result |= V_038010_SQ_SEL_1 << swizzle_shift[i]; in r600_get_swizzle_combined()
2485 result |= swizzle_bit[0] << swizzle_shift[i]; in r600_get_swizzle_combined()