radv: prevent dirtying of dynamic state when it does not change
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 18 Jan 2019 20:35:15 +0000 (20:35 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 21 Jan 2019 14:37:53 +0000 (14:37 +0000)
commitf0ba8260541f6eac7ce88e4d72f9c2b955f5e3ea
tree3c94e7f6520765e1d47eea4b6357fabaf81a8133
parente4c6423c5efbcba66fd473e004c6526d9beb6430
radv: prevent dirtying of dynamic state when it does not change

DXVK often sets dynamic state without actually changing it.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c