Module: Mesa
Branch: main
Commit: 514a9b3b75cfaa3e77e350b618c18f0707044c79
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=514a9b3b75cfaa3e77e350b618c18f0707044c79

Author: Bas Nieuwenhuizen <[email protected]>
Date:   Fri Oct 21 13:41:06 2022 +0200

radv: Use correct primgrp size for gfx11.

>From radeonsi, found by inspection.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19222>

---

 src/amd/vulkan/radv_pipeline.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
index 9e34cb218d9..bea25964676 100644
--- a/src/amd/vulkan/radv_pipeline.c
+++ b/src/amd/vulkan/radv_pipeline.c
@@ -5022,7 +5022,7 @@ radv_pipeline_emit_hw_ngg(struct radeon_cmdbuf *ctx_cs, 
struct radeon_cmdbuf *cs
       ge_cntl = S_03096C_PRIMS_PER_SUBGRP(ngg_state->max_gsprims) |
                 S_03096C_VERTS_PER_SUBGRP(ngg_state->hw_max_esverts) |
                 S_03096C_BREAK_PRIMGRP_AT_EOI(break_wave_at_eoi) |
-                S_03096C_PRIM_GRP_SIZE_GFX11(256);
+                S_03096C_PRIM_GRP_SIZE_GFX11(252);
    } else {
       ge_cntl = S_03096C_PRIM_GRP_SIZE_GFX10(ngg_state->max_gsprims) |
                 S_03096C_VERT_GRP_SIZE(ngg_state->hw_max_esverts) |

Reply via email to