freedreno: remove unnecessary null checks
[mesa.git] / src / gallium / drivers / freedreno / a4xx / fd4_emit.c
index c7ed1d2e379faeeeffc73b9851216e54137d77a9..cf5dd7b0f17ed8b3d4e3305c3e8ac8cae27f5abb 100644 (file)
@@ -594,7 +594,7 @@ fd4_emit_state(struct fd_context *ctx, struct fd_ringbuffer *ring,
                ctx->prog.dirty = 0;
        }
 
-       if ((dirty & FD_DIRTY_BLEND) && ctx->blend) {
+       if ((dirty & FD_DIRTY_BLEND)) {
                struct fd4_blend_stateobj *blend = fd4_blend_stateobj(ctx->blend);
                uint32_t i;