anv: enable the GPL feature based on whether the extension is supported
authorIván Briano <ivan.briano@intel.com>
Mon, 15 May 2023 22:10:39 +0000 (15:10 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 16 May 2023 02:01:30 +0000 (02:01 +0000)
commita15bffe2b84a02b2bfcd0af6e3dfb2de78b54a80
tree5490a78dbba728ba40ac55ff45b16832361e5687
parent47d9eaa0f1b9bf4215e15bcf446a35a1bd4c0215
anv: enable the GPL feature based on whether the extension is supported

Instead of checking if the very same bit we want to enable is already
enabled, which obviously doesn't work.

Fixes: fbc0e74bdac ("anv: enable graphics pipeline libraries by default")

Acked-by: Nanley Chery <nanley.g.chery@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23039>
src/intel/vulkan/anv_device.c