radv: Slight refactor to late_scissor_emission.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 25 Jan 2023 17:57:53 +0000 (18:57 +0100)
committerMarge Bot <emma+marge@anholt.net>
Sat, 20 May 2023 19:33:20 +0000 (19:33 +0000)
commit8436fe5af47414b6b100096411633ee58f301554
tree0be38ab4b5240cb16eacbdc2414b09bb5508e086
parent2249ab1daa1d953553f54f2fc3c5f4c2f11c3c60
radv: Slight refactor to late_scissor_emission.

There is no need to set context_roll_without_scissor_emitted
when pipeline, rbplus state, or binning state changes,
because radv_need_late_scissor_emission already checks
their dirty flags.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20659>
src/amd/vulkan/radv_cmd_buffer.c