amd: replace major llvm version checks with LLVM_VERSION_MAJOR
[mesa.git] / src / gallium / drivers / radeonsi / si_state_binning.c
index a361ea253c32e20e332455c4fa2da5701befeaf7..3963823d461ac0a64818406a7a4d84d2c6a13d80 100644 (file)
@@ -567,7 +567,7 @@ void si_emit_dpbb_state(struct si_context *sctx)
                 *    https://bugs.freedesktop.org/show_bug.cgi?id=110214
                 * (an alternative is to insert manual BATCH_BREAK event when
                 * a context_roll is detected). */
-               context_states_per_bin = sctx->screen->has_gfx9_scissor_bug ? 1 : 6;
+               context_states_per_bin = sctx->screen->info.has_gfx9_scissor_bug ? 1 : 6;
                /* Using 32 here can cause GPU hangs on RAVEN1 */
                persistent_states_per_bin = 16;
        }