anv: fix missing 3DSTATE_PS:Kernel0MaximumPolysperThread programming

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 815d2e3e8b ("anv: move 3DSTATE_PS to partial packing")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33712>
This commit is contained in:
Lionel Landwerlin 2025-02-24 14:13:55 +02:00 committed by Marge Bot
parent 3b5d5c072a
commit 91f36ba5b6
2 changed files with 3 additions and 0 deletions

View file

@ -1642,6 +1642,7 @@ struct anv_gfx_dynamic_state {
uint32_t Kernel0SIMDWidth;
uint32_t Kernel1SIMDWidth;
uint32_t Kernel0PolyPackingPolicy;
uint32_t Kernel0MaximumPolysperThread;
} ps;
/* 3DSTATE_PS_EXTRA */

View file

@ -799,6 +799,7 @@ update_ps(struct anv_gfx_dynamic_state *hw_state,
SET(PS, ps.Kernel0SIMDWidth, ps.Kernel0SIMDWidth);
SET(PS, ps.Kernel1SIMDWidth, ps.Kernel1SIMDWidth);
SET(PS, ps.Kernel0PolyPackingPolicy, ps.Kernel0PolyPackingPolicy);
SET(PS, ps.Kernel0MaximumPolysperThread, ps.Kernel0MaximumPolysperThread);
#endif
SET(PS, ps.PositionXYOffsetSelect,
@ -2305,6 +2306,7 @@ cmd_buffer_gfx_state_emission(struct anv_cmd_buffer *cmd_buffer)
SET(ps, ps, Kernel0SIMDWidth);
SET(ps, ps, Kernel1SIMDWidth);
SET(ps, ps, Kernel0PolyPackingPolicy);
SET(ps, ps, Kernel0MaximumPolysperThread);
#endif
SET(ps, ps, PositionXYOffsetSelect);
}