anv: Dirty all dynamic state bits when creating command buffer state
authorSviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
Thu, 23 Jun 2022 11:20:24 +0000 (14:20 +0300)
committerMarge Bot <emma+marge@anholt.net>
Mon, 27 Jun 2022 11:11:30 +0000 (11:11 +0000)
commitb6bb7f899849145e759eb175421d378b9709c57c
tree9ed5721da6b1b4d620317aa0b594c951373f1f22
parentf4386b81e612a81829911b2398248b30f27aaee0
anv: Dirty all dynamic state bits when creating command buffer state

This makes sure that we'll handle situations when the new state has
the same value as the default one, so we won't dirty some bits, and
consequently will not emit necessary commands (e.g. 3DSTATE_DEPTH_BOUNDS).

Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
Fixes: 48229d11 ("anv: don't emit 3DSTATE_DEPTH_BOUNDS in pipeline batch")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6722
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17205>
src/intel/vulkan/anv_cmd_buffer.c