summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>2024-03-26 16:41:19 -0400
committerMarge Bot <emma+marge@anholt.net>2024-05-09 01:14:22 +0000
commit1759c0eba774615c57097e5579ad4ff1abc1f6c8 (patch)
tree2b7b31de4f06b5ca8d926dd373d50257b4d57dca /docs
parentba11b12a82a1e7de5d29ae89abe24f3c52ffc38c (diff)
vulkan: add helper to fill out spirv caps automatically
The Vulkan XML tells us exactly which caps are implied by which API versions, features, extensions, and properties. We just need to parse that and autogenerate some glue code, that way drivers don't need to track this manually. This reduces the boilerplate needed when bringing up new features. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Iván Briano <ivan.briano@intel.com> Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28905>
Diffstat (limited to 'docs')
-rw-r--r--docs/header-stubs/compiler/spirv/spirv_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/header-stubs/compiler/spirv/spirv_info.h b/docs/header-stubs/compiler/spirv/spirv_info.h
new file mode 100644
index 00000000000..d8db07f5f1b
--- /dev/null
+++ b/docs/header-stubs/compiler/spirv/spirv_info.h
@@ -0,0 +1 @@
+struct spirv_capabilities {};