summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2018-03-23 14:55:52 -0700
committerJordan Justen <[email protected]>2018-03-23 17:23:59 -0700
commitd60eaf7b1fe154bd96408c4a9ec5b400293e47f1 (patch)
tree0779300d4096963753c79e5566bb9d12f1495451 /src/intel/vulkan/anv_device.c
parentaf8535d02f9ca896292501cb4bb0e658c5229007 (diff)
anv: Set genX_table for gen11
Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 4cacba93430..d400a1328b4 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -1367,6 +1367,9 @@ anv_device_init_dispatch(struct anv_device *device)
{
const struct anv_dispatch_table *genX_table;
switch (device->info.gen) {
+ case 11:
+ genX_table = &gen11_dispatch_table;
+ break;
case 10:
genX_table = &gen10_dispatch_table;
break;