diff options
author | Jason Ekstrand <[email protected]> | 2018-06-17 16:28:02 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-18 17:11:52 -0700 |
commit | 0146d7963651ca3226a8bf25eb683624ce3b0143 (patch) | |
tree | 017d7b7c10883707944c1b4b908b053c1adbe541 /src/intel/vulkan/anv_extensions_gen.py | |
parent | 68bf94a8b0b6060660b1937c7e21188af7f777f3 (diff) |
anv: Use a single global API patch version
The Vulkan API has only one patch version shared among all of the
major.minor versions. We should also advertise the same patch version
regardless of major.minor.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106941
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_extensions_gen.py')
-rw-r--r-- | src/intel/vulkan/anv_extensions_gen.py | 2 |
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; |