radv: stop using radv_pipeline_has_stage() in BindPipeline
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 10 Jan 2023 16:04:01 +0000 (11:04 -0500)
committerMarge Bot <emma+marge@anholt.net>
Mon, 23 Jan 2023 21:04:53 +0000 (21:04 +0000)
commitc26306f7d9c72f53da219f487f4551422b3b100e
treeff77f0f2507075d47746b228adcaa381b0a9d5b8
parent5039acfd9df6f4d3fc7cc655717b1c5389120260
radv: stop using radv_pipeline_has_stage() in BindPipeline

this incurs a small amount of unnecessary cpu overhead as compared to just
checking bitflags

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20615>
src/amd/vulkan/radv_cmd_buffer.c