nouveau/vk: add support for compute classes to generator.
authorDave Airlie <airlied@redhat.com>
Fri, 10 Jun 2022 21:07:32 +0000 (07:07 +1000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:54 +0000 (21:31 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>

src/nouveau/nvidia-headers/meson.build
src/nouveau/winsys/nouveau_push.h

index d0febf2..dd89989 100644 (file)
@@ -7,6 +7,9 @@ nvk_classes = [
   'cl90b5',
   'cla0b5',
   'clc1b5',
+  'cla0c0',
+  'clc0c0',
+  'clc3c0'
 ]
 
 nvk_cl_header_depend_files = [
index b6fab9e..502d57c 100644 (file)
@@ -31,6 +31,10 @@ int nouveau_ws_push_submit(struct nouveau_ws_push *, struct nouveau_ws_device *,
 void nouveau_ws_push_ref(struct nouveau_ws_push *, struct nouveau_ws_bo *, enum nouveau_ws_bo_map_flags);
 void nouveau_ws_push_reset(struct nouveau_ws_push *);
 
+#define SUBC_NVA0C0 1
+#define SUBC_NVC0C0 1
+#define SUBC_NVC3C0 1
+
 #define SUBC_NV902D 3
 
 #define SUBC_NV90B5 4