mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 14:40:21 +01:00
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: fbc0e74bda ("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>
This commit is contained in:
parent
47d9eaa0f1
commit
a15bffe2b8
1 changed files with 1 additions and 1 deletions
|
|
@ -590,7 +590,7 @@ get_features(const struct anv_physical_device *pdevice,
|
|||
|
||||
/* VK_EXT_graphics_pipeline_library */
|
||||
.graphicsPipelineLibrary =
|
||||
pdevice->vk.supported_features.graphicsPipelineLibrary,
|
||||
pdevice->vk.supported_extensions.EXT_graphics_pipeline_library,
|
||||
|
||||
/* VK_KHR_fragment_shading_rate */
|
||||
.pipelineFragmentShadingRate = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue