From: Lionel Landwerlin Date: Tue, 10 Dec 2019 11:49:16 +0000 (-0800) Subject: anv: fix missing gen12 handling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcfe1903c3f501429851d0278ba78742e907355b;p=mesa.git anv: fix missing gen12 handling Signed-off-by: Lionel Landwerlin Fixes: 181be14d4303 ("anv: Build for gen12") Reviewed-by: Eric Engestrom Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/vulkan/anv_cmd_buffer.c b/src/intel/vulkan/anv_cmd_buffer.c index 6ba3cd63332..3df24e926a5 100644 --- a/src/intel/vulkan/anv_cmd_buffer.c +++ b/src/intel/vulkan/anv_cmd_buffer.c @@ -345,6 +345,9 @@ VkResult anv_ResetCommandBuffer( case 11: \ gen11_##func(__VA_ARGS__); \ break; \ + case 12: \ + gen12_##func(__VA_ARGS__); \ + break; \ default: \ assert(!"Unknown hardware generation"); \ }