summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_extensions_gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/anv_extensions_gen.py')
-rw-r--r--src/intel/vulkan/anv_extensions_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_extensions_gen.py b/src/intel/vulkan/anv_extensions_gen.py
index 5ea82204eea..b75cb3e6fbb 100644
--- a/src/intel/vulkan/anv_extensions_gen.py
+++ b/src/intel/vulkan/anv_extensions_gen.py
@@ -157,7 +157,7 @@ anv_physical_device_api_version(struct anv_physical_device *device)
%for version in API_VERSIONS:
if (!(${version.enable}))
return version;
- version = ${version.max_patch_version.c_vk_version()};
+ version = ${version.version.c_vk_version()};
%endfor
return version;