summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-08-01 11:50:59 -0700
committerJason Ekstrand <[email protected]>2017-08-02 09:13:13 -0700
commit077b200096d07d514734f5ffb5208fed8500fa0f (patch)
tree38417bd209d16c570ee39847c9d726beeea65df7 /src/intel/vulkan/anv_device.c
parent0ab04ba979b7eb360176e6abad1d296e9da94985 (diff)
anv: Pull the API version from anv_extensions.py
This way everything stays in sync and we only have the one version number. Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 70b5cd1ec68..793e519ad97 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -794,7 +794,7 @@ void anv_GetPhysicalDeviceProperties(
};
*pProperties = (VkPhysicalDeviceProperties) {
- .apiVersion = VK_MAKE_VERSION(1, 0, 54),
+ .apiVersion = anv_physical_device_api_version(pdevice),
.driverVersion = vk_get_driver_version(),
.vendorID = 0x8086,
.deviceID = pdevice->chipset_id,