diff options
| author | Yong He <yonghe@outlook.com> | 2023-08-25 08:49:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-25 23:49:02 +0800 |
| commit | 036abc85ba1db9c8c06289f0a0492e9a95a228b9 (patch) | |
| tree | e497168c36e95190a6d8b4dae9f483f27e5aa2cd /premake5.lua | |
| parent | 0470ea05a42d6c3f35d81a433fefdd440500cdbd (diff) | |
Support SPIRV Capability declaration on intrinsic functions. (#3150)
* Spirv Capability lookup.
* Fix.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua index dddf1e12e..81f5f6c6b 100644 --- a/premake5.lua +++ b/premake5.lua @@ -1410,7 +1410,13 @@ generatorProject("generate-lookup-tables") header = "spirv/unified1/spirv.h", prefix = "Spv", type = "SpvOp" - } + }, + { + json = "external/spirv/spirv-capabilities.txt", + header = "spirv/unified1/spirv.h", + prefix = "SpvCapability", + type = "SpvCapability" + }, } for _, t in pairs(tables) do files {t.json} @@ -1601,7 +1607,8 @@ standardProject("slang", "source/slang") -- Similarly for any generated lookup tables files { "source/slang/slang-lookup-spvop.cpp", - "source/slang/slang-lookup-glslstd450.cpp" + "source/slang/slang-lookup-glslstd450.cpp", + "source/slang/slang-lookup-spvcapability.cpp", } -- |
