aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state_binning.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-07-30 17:43:41 -0400
committerMarek Olšák <[email protected]>2019-08-06 17:08:39 -0400
commitb758eed9c373db14a5acc04d9522ec9d74e51f1b (patch)
tree011676751d66428073af2aac9f49212c027b1086 /src/gallium/drivers/radeonsi/si_state_binning.c
parent8b68511ebc1f6444b80e94516826ec87ad495cb1 (diff)
radeonsi: make sure that blend state != NULL and remove all NULL checking
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state_binning.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_state_binning.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state_binning.c b/src/gallium/drivers/radeonsi/si_state_binning.c
index be0dd3c1bcb..ce87acab69a 100644
--- a/src/gallium/drivers/radeonsi/si_state_binning.c
+++ b/src/gallium/drivers/radeonsi/si_state_binning.c
@@ -483,7 +483,7 @@ void si_emit_dpbb_state(struct si_context *sctx)
assert(sctx->chip_class >= GFX9);
- if (!sscreen->dpbb_allowed || !blend || !dsa || sctx->dpbb_force_off) {
+ if (!sscreen->dpbb_allowed || !dsa || sctx->dpbb_force_off) {
si_emit_dpbb_disable(sctx);
return;
}