mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
pvr: fix dirty tracking for stencil ops
The dirty state of stencil ops is not checked when deciding whether to rebuild the ISP state, although the values are part of the ISP state (the 27:16 bits of ISPB word). Add MESA_VK_DYNAMIC_DS_STENCIL_OP to the condition for rebuilding ISP control registers. Fixes GLCTS tests when running on top of Zink: dEQP-GLES2.functional.fragment_ops.stencil.zero_stencil_fail Fixes:88f1fad3f7("pvr: Use common pipeline & dynamic state frameworks") Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn> Reviewed-by: Simon Perretta <simon.perretta@imgtec.com> (cherry picked from commitee031d67b4) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40752>
This commit is contained in:
parent
e84168bdac
commit
ee98ce1142
2 changed files with 2 additions and 1 deletions
|
|
@ -1434,7 +1434,7 @@
|
|||
"description": "pvr: fix dirty tracking for stencil ops",
|
||||
"nominated": true,
|
||||
"nomination_type": 2,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "88f1fad3f76837c1d968a8636bf157e1e1e28b2b",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -7810,6 +7810,7 @@ static inline bool pvr_ppp_dynamic_state_isp_faces_and_control_dirty(
|
|||
BITSET_TEST(dynamic_dirty, MESA_VK_DYNAMIC_DS_STENCIL_COMPARE_MASK) ||
|
||||
BITSET_TEST(dynamic_dirty, MESA_VK_DYNAMIC_DS_STENCIL_REFERENCE) ||
|
||||
BITSET_TEST(dynamic_dirty, MESA_VK_DYNAMIC_DS_STENCIL_WRITE_MASK) ||
|
||||
BITSET_TEST(dynamic_dirty, MESA_VK_DYNAMIC_DS_STENCIL_OP) ||
|
||||
BITSET_TEST(dynamic_dirty, MESA_VK_DYNAMIC_RS_DEPTH_BIAS_ENABLE) ||
|
||||
BITSET_TEST(dynamic_dirty, MESA_VK_DYNAMIC_RS_LINE_WIDTH) ||
|
||||
BITSET_TEST(dynamic_dirty,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue