radv: fix possibly wrong PA_SC_AA_CONFIG value for conservative rast
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 6 Dec 2019 11:19:11 +0000 (12:19 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 10 Dec 2019 10:04:43 +0000 (11:04 +0100)
commit008fe909cac1449cac7cc71fca4c805cc6d3de95
tree247c48ff8dc348acd7f4292515bd75755183b63c
parent4f659224c850706db37e01235af96122b7cd1407
radv: fix possibly wrong PA_SC_AA_CONFIG value for conservative rast

PA_SC_AA_CONFIG might be updated when conversative rasterization is
enabled. Because the driver only re-emits the multisample state if
the number of samples is different, that register value might not
be updated correctly.

Found by inspection, doesn't fix anything known.

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