radv: Avoid VEGA/RAVEN scissor bug in binning.
CC: <mesa-stable@lists.freedesktop.org> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -3177,7 +3177,8 @@ radv_pipeline_generate_binning_state(struct radeon_cmdbuf *ctx_cs,
|
||||
persistent_states_per_bin = 1;
|
||||
fpovs_per_batch = 63;
|
||||
} else {
|
||||
context_states_per_bin = 6;
|
||||
/* The context states are affected by the scissor bug. */
|
||||
context_states_per_bin = pipeline->device->physical_device->has_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