Home | History | Annotate | Download | only in compiler

Lines Matching refs:swizzle

44 	unsigned int hash; /**< swizzle value this matches */
45 unsigned int base; /**< base value for hw swizzle */
67 * Find a native RGB swizzle that matches the given swizzle.
70 static const struct swizzle_data* lookup_native_swizzle(unsigned int swizzle)
77 unsigned int swz = GET_SWZ(swizzle, comp);
91 * Determines if the given swizzle is valid for r300/r400. In most situations
95 int r300_swizzle_is_native_basic(unsigned int swizzle)
97 if(lookup_native_swizzle(swizzle))
104 * Check whether the given instruction supports the swizzle and negate
121 unsigned int swz = GET_SWZ(reg.Swizzle, j);
134 if (GET_SWZ(reg.Swizzle, j) != RC_SWIZZLE_UNUSED)
140 sd = lookup_native_swizzle(reg.Swizzle);
167 swz = GET_SWZ(src.Swizzle, comp);
203 * Translate an RGB (XYZ) swizzle into the hardware code for the given
206 unsigned int r300FPTranslateRGBSwizzle(unsigned int src, unsigned int swizzle)
208 const struct swizzle_data* sd = lookup_native_swizzle(swizzle);
211 fprintf(stderr, "Not a native swizzle: %08x\n", swizzle);
224 * Translate an Alpha (W) swizzle into the hardware code for the given
227 unsigned int r300FPTranslateAlphaSwizzle(unsigned int src, unsigned int swizzle)
229 unsigned int swz = GET_SWZ(swizzle, 0);