anv: fix missing gen12 handling
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 10 Dec 2019 11:49:16 +0000 (03:49 -0800)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 10 Dec 2019 16:06:54 +0000 (16:06 +0000)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 181be14d4303 ("anv: Build for gen12")
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_cmd_buffer.c

index 6ba3cd6333204de578a2ac3ac5dc94ff0b15ebd6..3df24e926a54712ecc2212a3aac65d66a066aa24 100644 (file)
@@ -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");      \
    }