Lines Matching defs:swizzle
967 /* swizzle bits fields: wwzzyyxx */
968 DWORD swizzle = param->swizzle;
969 DWORD swizzle_x = swizzle & 0x03;
970 DWORD swizzle_y = (swizzle >> 2) & 0x03;
971 DWORD swizzle_z = (swizzle >> 4) & 0x03;
972 DWORD swizzle_w = (swizzle >> 6) & 0x03;
974 /* If the swizzle is the default swizzle (ie, "xyzw"), we don't need to
975 * generate a swizzle string. Unless we need to our own swizzling. */
976 if (swizzle != WINED3DSP_NOSWIZZLE || fixup)
1581 /* Return modified or original register, with swizzle */
1720 DWORD swizzle = tmp_param.swizzle & 0xf; /* Selects .xy */
1721 tmp_param.swizzle = swizzle | (swizzle << 4); /* Creates .xyxy */
1861 tmp_src.swizzle = (tmp_src.swizzle & 0x3) * 0x55;
1905 * is not valid as a swizzle in ARB (needs ".xyyy"). Use SWZ to load the register properly, and set
2480 if (ins->src[0].swizzle == WINED3DSP_NOSWIZZLE)
2482 /* Dx sdk says .x is used if no swizzle is given, but our test shows that
2512 if (ins->src[0].swizzle == WINED3DSP_NOSWIZZLE)
2514 /* Dx sdk says .x is used if no swizzle is given, but our test shows that
2675 * The swizzles .yz and xw however fit into the .yzxw swizzle added to ps_2_0. Maybe