freedreno/a6xx: small cleanup
authorRob Clark <robdclark@gmail.com>
Fri, 26 Oct 2018 17:50:58 +0000 (13:50 -0400)
committerRob Clark <robdclark@gmail.com>
Fri, 26 Oct 2018 22:10:00 +0000 (18:10 -0400)
Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_emit.c

index ebec740c52e86c0e894f8ba0b6eeaf7108bfa78e..16b0def6a40621a6a60ff0d94efd93315bce4a57 100644 (file)
@@ -841,7 +841,7 @@ fd6_emit_state(struct fd_ringbuffer *ring, struct fd6_emit *emit)
                }
        }
 
-       if ((dirty & FD_DIRTY_BLEND)) {
+       if (dirty & FD_DIRTY_BLEND) {
                struct fd6_blend_stateobj *blend = fd6_blend_stateobj(ctx->blend);
                uint32_t i;