diff options
author | Rob Clark <[email protected]> | 2016-04-27 13:53:01 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2016-04-30 14:56:19 -0400 |
commit | 482cdc4c92224c6204a96ff0fca30ddfe0fbdfc1 (patch) | |
tree | 6a9c5d3ea7d8a5f64c7f952efc86518d09719882 /src | |
parent | 53435514c16714b3ed80fc0c1008461b2fff8a9a (diff) |
freedreno: fix indentation
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_util.c | 8 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_format.c | 8 | ||||
-rw-r--r-- | src/gallium/drivers/freedreno/a4xx/fd4_format.c | 8 |
3 files changed, 12 insertions, 12 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; } } diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_format.c b/src/gallium/drivers/freedreno/a3xx/fd3_format.c index 7050ded133d..5cf458bb09b 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_format.c +++ b/src/gallium/drivers/freedreno/a3xx/fd3_format.c @@ -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; } } diff --git a/src/gallium/drivers/freedreno/a4xx/fd4_format.c b/src/gallium/drivers/freedreno/a4xx/fd4_format.c index fa5efc00a9e..efc5e7c2297 100644 --- a/src/gallium/drivers/freedreno/a4xx/fd4_format.c +++ b/src/gallium/drivers/freedreno/a4xx/fd4_format.c @@ -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; } } |