summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-11-17 06:30:02 -0800
committerJason Ekstrand <[email protected]>2015-11-17 08:27:51 -0800
commitaa3002bd42c0fcd70dbeff7a3c2b049e048c0009 (patch)
treee39a31e0de8a5af23dc78b0ff9dbcc16419cacd8 /src/vulkan/anv_device.c
parent0508046dc839a2ebd2800f169b45f2d3243dcda6 (diff)
anv/entrypoints: Use devinfo instead of a gen number
Diffstat (limited to 'src/vulkan/anv_device.c')
-rw-r--r--src/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c
index 6cdfd4e5c46..0643944fa23 100644
--- a/src/vulkan/anv_device.c
+++ b/src/vulkan/anv_device.c
@@ -637,7 +637,7 @@ VkResult anv_CreateDevice(
return vk_error(VK_ERROR_EXTENSION_NOT_PRESENT);
}
- anv_set_dispatch_gen(physical_device->info->gen);
+ anv_set_dispatch_devinfo(physical_device->info);
device = anv_instance_alloc(instance, sizeof(*device), 8,
VK_SYSTEM_ALLOC_TYPE_API_OBJECT);