radv: separate the sample shading state between FS and graphics pipeline
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 24 Mar 2023 13:26:20 +0000 (14:26 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 27 Mar 2023 09:29:12 +0000 (09:29 +0000)
commit8f6998ad8a9913d40d9820cc54398f9d02250cf0
treee24a965958fbdd819a2ea0c16d87c0719540270f
parent774e05582331d520d166815f41d6e286cce102c2
radv: separate the sample shading state between FS and graphics pipeline

Sample shading can be enabled inside the fragment shader and also
per-pipeline. Separate both cases to be able to enable sample shading
by only binding a FS.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22110>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_pipeline.c