{
switch (swiz) {
default:
- case PIPE_SWIZZLE_X: return SQ_TEX_X;
+ case PIPE_SWIZZLE_X: return SQ_TEX_X;
case PIPE_SWIZZLE_Y: return SQ_TEX_Y;
- case PIPE_SWIZZLE_Z: return SQ_TEX_Z;
+ case PIPE_SWIZZLE_Z: return SQ_TEX_Z;
case PIPE_SWIZZLE_W: return SQ_TEX_W;
- case PIPE_SWIZZLE_0: return SQ_TEX_ZERO;
- case PIPE_SWIZZLE_1: return SQ_TEX_ONE;
+ case PIPE_SWIZZLE_0: return SQ_TEX_ZERO;
+ case PIPE_SWIZZLE_1: return SQ_TEX_ONE;
}
}
{
switch (swiz) {
default:
- case PIPE_SWIZZLE_X: return A3XX_TEX_X;
+ case PIPE_SWIZZLE_X: return A3XX_TEX_X;
case PIPE_SWIZZLE_Y: return A3XX_TEX_Y;
- case PIPE_SWIZZLE_Z: return A3XX_TEX_Z;
+ case PIPE_SWIZZLE_Z: return A3XX_TEX_Z;
case PIPE_SWIZZLE_W: return A3XX_TEX_W;
- case PIPE_SWIZZLE_0: return A3XX_TEX_ZERO;
- case PIPE_SWIZZLE_1: return A3XX_TEX_ONE;
+ case PIPE_SWIZZLE_0: return A3XX_TEX_ZERO;
+ case PIPE_SWIZZLE_1: return A3XX_TEX_ONE;
}
}
{
switch (swiz) {
default:
- case PIPE_SWIZZLE_X: return A4XX_TEX_X;
+ case PIPE_SWIZZLE_X: return A4XX_TEX_X;
case PIPE_SWIZZLE_Y: return A4XX_TEX_Y;
- case PIPE_SWIZZLE_Z: return A4XX_TEX_Z;
+ case PIPE_SWIZZLE_Z: return A4XX_TEX_Z;
case PIPE_SWIZZLE_W: return A4XX_TEX_W;
- case PIPE_SWIZZLE_0: return A4XX_TEX_ZERO;
- case PIPE_SWIZZLE_1: return A4XX_TEX_ONE;
+ case PIPE_SWIZZLE_0: return A4XX_TEX_ZERO;
+ case PIPE_SWIZZLE_1: return A4XX_TEX_ONE;
}
}