mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 00:20:43 +01:00
radeonsi: fix compute-based culling with VERTEX_COUNTER_GDS_MODE == 1
Discovered when testing Sienna Cichlid. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6282>
This commit is contained in:
parent
2b78cb2e00
commit
4c84600afa
1 changed files with 1 additions and 1 deletions
|
|
@ -1028,7 +1028,7 @@ si_prepare_prim_discard_or_split_draw(struct si_context *sctx, const struct pipe
|
|||
unsigned num_subdraws = DIV_ROUND_UP(num_prims, SPLIT_PRIMS_PACKET_LEVEL);
|
||||
unsigned need_compute_dw = 11 /* shader */ + 34 /* first draw */ +
|
||||
24 * (num_subdraws - 1) + /* subdraws */
|
||||
20; /* leave some space at the end */
|
||||
30; /* leave some space at the end */
|
||||
unsigned need_gfx_dw = si_get_minimum_num_gfx_cs_dwords(sctx);
|
||||
|
||||
if (sctx->chip_class <= GFX7 || FORCE_REWIND_EMULATION)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue