freedreno: fix indentation
authorRob Clark <robclark@freedesktop.org>
Wed, 27 Apr 2016 17:53:01 +0000 (13:53 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 30 Apr 2016 18:56:19 +0000 (14:56 -0400)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a2xx/fd2_util.c
src/gallium/drivers/freedreno/a3xx/fd3_format.c
src/gallium/drivers/freedreno/a4xx/fd4_format.c

index 6cece91a277cdf21bc010bbcf99bda0102a5efae..0bdcfcd4bc5a2f97405a429b0baf905faf2fea46 100644 (file)
@@ -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;
        }
 }
 
index 7050ded133d6e23c3faf45ccf667ca4f37b6687a..5cf458bb09b92485929753a97370ff0edbbfeef3 100644 (file)
@@ -391,12 +391,12 @@ tex_swiz(unsigned swiz)
 {
        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;
        }
 }
 
index fa5efc00a9eb3171feaa111e29719105471b8ba2..efc5e7c229738b22d4de78380536055db4fb1abb 100644 (file)
@@ -441,12 +441,12 @@ tex_swiz(unsigned swiz)
 {
        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;
        }
 }