mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-27 09:31:03 +00:00
radeonsi/gfx11: don't set VERTS_PER_SUBGRP to 0
It seems slower.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Fixes: 25a66477d0
("radeonsi/gfx11: register changes")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18758>
(cherry picked from commit 4fdf10fdafe5ef4333afeb478e742c0a24ce3898)
This commit is contained in:
parent
a7750abce3
commit
35ebfa8a63
@ -859,7 +859,7 @@
|
|||||||
"description": "radeonsi/gfx11: don't set VERTS_PER_SUBGRP to 0",
|
"description": "radeonsi/gfx11: don't set VERTS_PER_SUBGRP to 0",
|
||||||
"nominated": true,
|
"nominated": true,
|
||||||
"nomination_type": 1,
|
"nomination_type": 1,
|
||||||
"resolution": 0,
|
"resolution": 1,
|
||||||
"main_sha": null,
|
"main_sha": null,
|
||||||
"because_sha": "25a66477d0268181121c0436f62b2100b72df068"
|
"because_sha": "25a66477d0268181121c0436f62b2100b72df068"
|
||||||
},
|
},
|
||||||
|
@ -1320,7 +1320,7 @@ static void gfx10_emit_ge_cntl(struct si_context *sctx, unsigned num_patches)
|
|||||||
G_03096C_PRIM_GRP_SIZE_GFX11(si_get_vs_inline(sctx, HAS_TESS, HAS_GS)->current->ge_cntl);
|
G_03096C_PRIM_GRP_SIZE_GFX11(si_get_vs_inline(sctx, HAS_TESS, HAS_GS)->current->ge_cntl);
|
||||||
|
|
||||||
ge_cntl = S_03096C_PRIMS_PER_SUBGRP(num_patches) |
|
ge_cntl = S_03096C_PRIMS_PER_SUBGRP(num_patches) |
|
||||||
S_03096C_VERTS_PER_SUBGRP(0) |
|
S_03096C_VERTS_PER_SUBGRP(si_get_vs_inline(sctx, HAS_TESS, HAS_GS)->current->ngg.hw_max_esverts) |
|
||||||
S_03096C_BREAK_PRIMGRP_AT_EOI(key.u.tess_uses_prim_id) |
|
S_03096C_BREAK_PRIMGRP_AT_EOI(key.u.tess_uses_prim_id) |
|
||||||
S_03096C_PRIM_GRP_SIZE_GFX11(prim_grp_size);
|
S_03096C_PRIM_GRP_SIZE_GFX11(prim_grp_size);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user