radv: rework dirtying scissors when the line width changes
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 25 Aug 2022 08:46:51 +0000 (10:46 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 29 Aug 2022 19:40:36 +0000 (19:40 +0000)
commit3c2966fa1b00bcd85a02a0f453a640a3a97f37a3
tree5efcffa625a651ebc8926910f1f3a78cdf48aaab
parent5bbb7de51434f3811bd2a698a3a2ea3138db71e5
radv: rework dirtying scissors when the line width changes

The guardband state (part of scissors) needs to be re-emitted when
the line width changes. Given this is a dynamic state, it's not
necessary to look at the pipeline line width.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18247>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h