diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2024-03-26 16:41:19 -0400 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2024-05-09 01:14:22 +0000 |
commit | 1759c0eba774615c57097e5579ad4ff1abc1f6c8 (patch) | |
tree | 2b7b31de4f06b5ca8d926dd373d50257b4d57dca /docs | |
parent | ba11b12a82a1e7de5d29ae89abe24f3c52ffc38c (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.h | 1 |
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 {}; |