From dcfe1903c3f501429851d0278ba78742e907355b Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Tue, 10 Dec 2019 03:49:16 -0800 Subject: [PATCH] anv: fix missing gen12 handling Signed-off-by: Lionel Landwerlin Fixes: 181be14d4303 ("anv: Build for gen12") Reviewed-by: Eric Engestrom Reviewed-by: Jason Ekstrand --- src/intel/vulkan/anv_cmd_buffer.c | 3 +++ 1 file changed, 3 insertions(+) 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"); \ } -- 2.30.2