Home
last modified time | relevance | path

Searched refs:swz2 (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_asm.h94 static inline uint32_t inst_swiz_compose(uint32_t swz1, uint32_t swz2) in inst_swiz_compose() argument
96 return INST_SWIZ_X((swz1 >> (((swz2 >> 0)&3)*2))&3) | in inst_swiz_compose()
97 INST_SWIZ_Y((swz1 >> (((swz2 >> 2)&3)*2))&3) | in inst_swiz_compose()
98 INST_SWIZ_Z((swz1 >> (((swz2 >> 4)&3)*2))&3) | in inst_swiz_compose()
99 INST_SWIZ_W((swz1 >> (((swz2 >> 6)&3)*2))&3); in inst_swiz_compose()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_dataflow_swizzles.c104 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; in try_rewrite_constant() local
154 swz2 = GET_SWZ(new_swizzle, 2); in try_rewrite_constant()
169 if (swz2 == RC_SWIZZLE_UNUSED) { in try_rewrite_constant()
196 if (swz2 == RC_SWIZZLE_Z) { in try_rewrite_constant()
231 if (swz2 == RC_SWIZZLE_X) { in try_rewrite_constant()
266 if (swz2 == RC_SWIZZLE_Y) { in try_rewrite_constant()
302 if (swz2 == RC_SWIZZLE_Y) { in try_rewrite_constant()
/external/mesa3d/src/gallium/auxiliary/util/
Du_format.c806 const unsigned char swz2[4], in util_format_compose_swizzles()
812 dst[i] = swz2[i] <= PIPE_SWIZZLE_W ? in util_format_compose_swizzles()
813 swz1[swz2[i]] : swz2[i]; in util_format_compose_swizzles()
Du_format.h1297 const unsigned char swz2[4],