summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2019-12-10 03:49:16 -0800
committerLionel Landwerlin <[email protected]>2019-12-10 16:06:54 +0000
commitdcfe1903c3f501429851d0278ba78742e907355b (patch)
tree3c46d3ead9c400d2c29e269ba2d7cf1d836e39c2
parent865f4b193f4ac373312ba419cc464712e282715e (diff)
anv: fix missing gen12 handling
Signed-off-by: Lionel Landwerlin <[email protected]> Fixes: 181be14d4303 ("anv: Build for gen12") Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r--src/intel/vulkan/anv_cmd_buffer.c3
1 files changed, 3 insertions, 0 deletions
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"); \
}