summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2019-03-01 14:33:36 -0800
committerKristian H. Kristensen <[email protected]>2019-03-11 11:37:53 -0700
commit5f0a922c277639abfd03c27c160b327a7889162b (patch)
tree2b6cccf06e50561394d2b1f2d05c5d05d7e133d1 /src
parent08c452bef7db5121b41ad781a3ec1b8a550006da (diff)
freedreno/a6xx: Remove extra parens
There's a warning about this now. Signed-off-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/freedreno/a6xx/fd6_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/a6xx/fd6_format.c b/src/gallium/drivers/freedreno/a6xx/fd6_format.c
index 5ba641d50a5..9448ff18e54 100644
--- a/src/gallium/drivers/freedreno/a6xx/fd6_format.c
+++ b/src/gallium/drivers/freedreno/a6xx/fd6_format.c
@@ -448,7 +448,7 @@ fd6_tex_swiz(enum pipe_format format, unsigned char *swiz,
/* Gallium expects stencil sampler to return (s,s,s,s), so massage
* the swizzle to do so.
*/
- if ((format == PIPE_FORMAT_X24S8_UINT)) {
+ if (format == PIPE_FORMAT_X24S8_UINT) {
const unsigned char stencil_swiz[4] = {
PIPE_SWIZZLE_X, PIPE_SWIZZLE_X, PIPE_SWIZZLE_X, PIPE_SWIZZLE_X
};