intel/blorp: Dirty depth bounds dynamic state bits after blorp

Blorp emits its own 3DSTATE_DEPTH_BOUNDS, so we'll have to re-emit the
expected state after that.

Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
Fixes: 56ef501e3a ("blorp: disable depth bounds")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17205>
(cherry picked from commit 3f6edbc725)
This commit is contained in:
Sviatoslav Peleshko 2022-06-24 10:43:09 +03:00 committed by Dylan Baker
parent ba1d27bdee
commit c7dce6945d
2 changed files with 1 additions and 3 deletions

View file

@ -103,7 +103,7 @@
"description": "intel/blorp: Dirty depth bounds dynamic state bits after blorp",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "56ef501e3aa4b12f41c0520bbc5fa920b0efa0f8"
},

View file

@ -337,11 +337,9 @@ blorp_exec_on_render(struct blorp_batch *batch,
* Flush everything else.
*/
anv_cmd_dirty_mask_t skip_bits = ANV_CMD_DIRTY_DYNAMIC_SCISSOR |
ANV_CMD_DIRTY_DYNAMIC_DEPTH_BOUNDS |
ANV_CMD_DIRTY_INDEX_BUFFER |
ANV_CMD_DIRTY_XFB_ENABLE |
ANV_CMD_DIRTY_DYNAMIC_LINE_STIPPLE |
ANV_CMD_DIRTY_DYNAMIC_DEPTH_BOUNDS_TEST_ENABLE |
ANV_CMD_DIRTY_DYNAMIC_SAMPLE_LOCATIONS |
ANV_CMD_DIRTY_DYNAMIC_SHADING_RATE |
ANV_CMD_DIRTY_DYNAMIC_PRIMITIVE_RESTART_ENABLE;