From: Anuj Phogat Date: Fri, 26 May 2017 19:32:23 +0000 (-0700) Subject: anv/icl: Use gen11 functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd7102972f91144be6b4fe64465fc24e817920d9;p=mesa.git anv/icl: Use gen11 functions Signed-off-by: Anuj Phogat Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c index d38b343671f..d98bf8364de 100644 --- a/src/intel/vulkan/anv_blorp.c +++ b/src/intel/vulkan/anv_blorp.c @@ -111,6 +111,9 @@ anv_device_init_blorp(struct anv_device *device) case 10: device->blorp.exec = gen10_blorp_exec; break; + case 11: + device->blorp.exec = gen11_blorp_exec; + break; default: unreachable("Unknown hardware generation"); } diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 2c2cd0b2d42..00b0b653333 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1482,6 +1482,9 @@ VkResult anv_CreateDevice( case 10: result = gen10_init_device_state(device); break; + case 11: + result = gen11_init_device_state(device); + break; default: /* Shouldn't get here as we don't create physical devices for any other * gens. */