ac: add has_gfx9_scissor_bug to ac_gpu_info
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
@@ -3212,7 +3212,7 @@ radv_pipeline_generate_binning_state(struct radeon_cmdbuf *ctx_cs,
|
||||
fpovs_per_batch = 63;
|
||||
} else {
|
||||
/* The context states are affected by the scissor bug. */
|
||||
context_states_per_bin = pipeline->device->physical_device->has_scissor_bug ? 1 : 6;
|
||||
context_states_per_bin = pipeline->device->physical_device->rad_info.has_gfx9_scissor_bug ? 1 : 6;
|
||||
/* 32 causes hangs for RAVEN. */
|
||||
persistent_states_per_bin = 16;
|
||||
fpovs_per_batch = 63;
|
||||
|
Reference in New Issue
Block a user