radv: remove useless check when creating the noop FS
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 17 Aug 2022 10:17:45 +0000 (12:17 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 22 Aug 2022 13:45:28 +0000 (13:45 +0000)
commit0eab07bf66d927df32649cc8229012150f5f424f
treeeabc2fa2096bb08817af8d524d00a42d706e934b
parent4ac72f7d1a4cef6132b44b183a3930663c862429
radv: remove useless check when creating the noop FS

If the pipeline type is graphics, VK_PIPELINE_CREATE_LIBRARY_KHR
shouldn't never be set, so this was redundant.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18138>
src/amd/vulkan/radv_pipeline.c