mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
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:
parent
3b5d5c072a
commit
91f36ba5b6
2 changed files with 3 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue