Searched refs:swizzle_chars (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dshader.c1073 static const char *swizzle_chars = "xyzw"; local
1083 TRACE(".%c", swizzle_chars[swizzle_x]);
1087 TRACE(".%c%c%c%c", swizzle_chars[swizzle_x], swizzle_chars[swizzle_y],
1088 swizzle_chars[swizzle_z], swizzle_chars[swizzle_w]);
H A Dglsl_shader.c1708 const char *swizzle_chars = fixup ? "zyxw" : "xyzw"; local
1712 if (mask & WINED3DSP_WRITEMASK_0) *str++ = swizzle_chars[swizzle & 0x03];
1713 if (mask & WINED3DSP_WRITEMASK_1) *str++ = swizzle_chars[(swizzle >> 2) & 0x03];
1714 if (mask & WINED3DSP_WRITEMASK_2) *str++ = swizzle_chars[(swizzle >> 4) & 0x03];
1715 if (mask & WINED3DSP_WRITEMASK_3) *str++ = swizzle_chars[(swizzle >> 6) & 0x03];
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dshader.c1073 static const char *swizzle_chars = "xyzw"; local
1083 TRACE(".%c", swizzle_chars[swizzle_x]);
1087 TRACE(".%c%c%c%c", swizzle_chars[swizzle_x], swizzle_chars[swizzle_y],
1088 swizzle_chars[swizzle_z], swizzle_chars[swizzle_w]);
H A Dglsl_shader.c1661 const char *swizzle_chars = fixup ? "zyxw" : "xyzw"; local
1665 if (mask & WINED3DSP_WRITEMASK_0) *str++ = swizzle_chars[swizzle & 0x03];
1666 if (mask & WINED3DSP_WRITEMASK_1) *str++ = swizzle_chars[(swizzle >> 2) & 0x03];
1667 if (mask & WINED3DSP_WRITEMASK_2) *str++ = swizzle_chars[(swizzle >> 4) & 0x03];
1668 if (mask & WINED3DSP_WRITEMASK_3) *str++ = swizzle_chars[(swizzle >> 6) & 0x03];
H A Darb_program_shader.c836 const char *swizzle_chars = fixup ? "zyxw" : "xyzw"; local
852 *ptr++ = swizzle_chars[swizzle_x];
854 *ptr++ = swizzle_chars[swizzle_x];
855 *ptr++ = swizzle_chars[swizzle_y];
856 *ptr++ = swizzle_chars[swizzle_z];
857 *ptr++ = swizzle_chars[swizzle_w];
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Dshader.c1224 static const char *swizzle_chars = "xyzw"; local
1234 TRACE(".%c", swizzle_chars[swizzle_x]);
1238 TRACE(".%c%c%c%c", swizzle_chars[swizzle_x], swizzle_chars[swizzle_y],
1239 swizzle_chars[swizzle_z], swizzle_chars[swizzle_w]);
H A Darb_program_shader.c964 const char *swizzle_chars = fixup ? "zyxw" : "xyzw"; local
980 *ptr++ = swizzle_chars[swizzle_x];
982 *ptr++ = swizzle_chars[swizzle_x];
983 *ptr++ = swizzle_chars[swizzle_y];
984 *ptr++ = swizzle_chars[swizzle_z];
985 *ptr++ = swizzle_chars[swizzle_w];
H A Dglsl_shader.c1757 const char *swizzle_chars = fixup ? "zyxw" : "xyzw"; local
1761 if (mask & WINED3DSP_WRITEMASK_0) *str++ = swizzle_chars[swizzle & 0x03];
1762 if (mask & WINED3DSP_WRITEMASK_1) *str++ = swizzle_chars[(swizzle >> 2) & 0x03];
1763 if (mask & WINED3DSP_WRITEMASK_2) *str++ = swizzle_chars[(swizzle >> 4) & 0x03];
1764 if (mask & WINED3DSP_WRITEMASK_3) *str++ = swizzle_chars[(swizzle >> 6) & 0x03];

Completed in 827 milliseconds