summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a2xx/fd2_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx/fd2_util.c')
-rw-r--r--src/gallium/drivers/freedreno/a2xx/fd2_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_util.c b/src/gallium/drivers/freedreno/a2xx/fd2_util.c
index 6cece91a277..0bdcfcd4bc5 100644
--- a/src/gallium/drivers/freedreno/a2xx/fd2_util.c
+++ b/src/gallium/drivers/freedreno/a2xx/fd2_util.c
@@ -294,12 +294,12 @@ tex_swiz(unsigned swiz)
{
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;
}
}