Home
last modified time | relevance | path

Searched refs:swz2 (Results 1 - 6 of 6) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_asm.h107 /* Compose two swizzles (computes swz1.swz2) */
108 static inline uint32_t inst_swiz_compose(uint32_t swz1, uint32_t swz2) in inst_swiz_compose() argument
110 return INST_SWIZ_X((swz1 >> (((swz2 >> 0)&3)*2))&3) | in inst_swiz_compose()
111 INST_SWIZ_Y((swz1 >> (((swz2 >> 2)&3)*2))&3) | in inst_swiz_compose()
112 INST_SWIZ_Z((swz1 >> (((swz2 >> 4)&3)*2))&3) | in inst_swiz_compose()
113 INST_SWIZ_W((swz1 >> (((swz2 >> 6)&3)*2))&3); in inst_swiz_compose()
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_dataflow_swizzles.c98 unsigned new_swizzle, chan, swz0, swz1, swz2, swz3, found_swizzle, swz; in try_rewrite_constant() local
149 swz2 = GET_SWZ(new_swizzle, 2); in try_rewrite_constant()
164 if (swz2 == RC_SWIZZLE_UNUSED) { in try_rewrite_constant()
191 if (swz2 == RC_SWIZZLE_Z) { in try_rewrite_constant()
226 if (swz2 == RC_SWIZZLE_X) { in try_rewrite_constant()
261 if (swz2 == RC_SWIZZLE_Y) { in try_rewrite_constant()
297 if (swz2 == RC_SWIZZLE_Y) { in try_rewrite_constant()
H A Dradeon_optimize.c889 static unsigned int merge_swizzles(unsigned int swz1, unsigned int swz2) { in merge_swizzles() argument
897 swz = GET_SWZ(swz2, chan); in merge_swizzles()
/third_party/mesa3d/src/util/format/
H A Du_format.c900 const unsigned char swz2[4], in util_format_compose_swizzles()
906 dst[i] = swz2[i] <= PIPE_SWIZZLE_W ? in util_format_compose_swizzles()
907 swz1[swz2[i]] : swz2[i]; in util_format_compose_swizzles()
899 util_format_compose_swizzles(const unsigned char swz1[4], const unsigned char swz2[4], unsigned char dst[4]) util_format_compose_swizzles() argument
H A Du_format.h1655 * swz2(swz1(V)) = dst(V)
1658 const unsigned char swz2[4],
/third_party/astc-encoder/Source/UnitTest/
H A Dtest_simd.cpp408 TEST(vfloat4, swz2) in TEST()

Completed in 10 milliseconds