iris: add gen11 to genX_call
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 8 Oct 2018 13:26:15 +0000 (06:26 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_context.c

index bc637ea04922b869b35e1806ba6ea9c9c5bf73a5..73d6b0d806df47a9abcb40a7a4a2fc8dfab08885 100644 (file)
@@ -137,6 +137,9 @@ iris_destroy_context(struct pipe_context *ctx)
 
 #define genX_call(devinfo, func, ...)             \
    switch (devinfo->gen) {                        \
+   case 11:                                       \
+      gen11_##func(__VA_ARGS__);                  \
+      break;                                      \
    case 10:                                       \
       gen10_##func(__VA_ARGS__);                  \
       break;                                      \