Home
last modified time | relevance | path

Searched refs:swz1 (Results 1 – 7 of 7) sorted by relevance

/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
153 swz1 = GET_SWZ(new_swizzle, 1); in try_rewrite_constant()
157 if (swz1 == RC_SWIZZLE_W || in try_rewrite_constant()
158 swz1 == RC_SWIZZLE_UNUSED || in try_rewrite_constant()
159 swz1 == RC_SWIZZLE_ZERO || in try_rewrite_constant()
160 swz1 == RC_SWIZZLE_HALF || in try_rewrite_constant()
161 swz1 == RC_SWIZZLE_ONE) { in try_rewrite_constant()
180 switch (swz1) { in try_rewrite_constant()
215 switch (swz1) { in try_rewrite_constant()
250 switch (swz1) { in try_rewrite_constant()
[all …]
/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/intel/compiler/
Dbrw_reg.h115 brw_compose_swizzle(unsigned swz0, unsigned swz1) in brw_compose_swizzle() argument
118 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 0)), in brw_compose_swizzle()
119 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 1)), in brw_compose_swizzle()
120 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 2)), in brw_compose_swizzle()
121 BRW_GET_SWZ(swz1, BRW_GET_SWZ(swz0, 3))); in brw_compose_swizzle()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_format.c397 void util_format_compose_swizzles(const unsigned char swz1[4], in util_format_compose_swizzles()
405 swz1[swz2[i]] : swz2[i]; in util_format_compose_swizzles()
Du_format.h1047 void util_format_compose_swizzles(const unsigned char swz1[4],
/external/mesa3d/src/gallium/auxiliary/util/
Du_format.c807 void util_format_compose_swizzles(const unsigned char swz1[4], in util_format_compose_swizzles()
815 swz1[swz2[i]] : swz2[i]; in util_format_compose_swizzles()
Du_format.h1309 void util_format_compose_swizzles(const unsigned char swz1[4],