https://github.com/shader-slang/slang
Revision c5c1a25ab6d0e509e893d737a679ac47949df2f6 authored by Yong He on 19 January 2024, 00:46:00 UTC, committed by GitHub on 19 January 2024, 00:46:00 UTC
* Capability def parsing & codegen + disjoint sets

This change adds a capability definition file, and a code generator
to produce C++ code that defines the capability enums and necessary
data structures around the capabilities.

Extends the existing CapabilitySet class to support expressing
disjoint sets of capabilities. This sets up for the next change
that will enhance our type checking with reasoning of capability
requirements.

* Fix cmake.

* Fix warning.

* Fix.

* Fix isBetterForTarget to prefer less specialized option.

* Fix.

* Fix premake.

* Fix intrinsic.

* Fix vs sln file.

---------

Co-authored-by: Yong He <yhe@nvidia.com>
1 parent 1a13842
History
Tip revision: c5c1a25ab6d0e509e893d737a679ac47949df2f6 authored by Yong He on 19 January 2024, 00:46:00 UTC
Capability def parsing & codegen + disjoint sets (#3451)
Tip revision: c5c1a25
File Mode Size
.github
build
cmake
deps
docs
examples
external
extras
prelude
source
tests
tools
.editorconfig -rw-r--r-- 984 bytes
.gitattributes -rw-r--r-- 95 bytes
.gitignore -rw-r--r-- 1.6 KB
.gitmodules -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 84 bytes
CMakeLists.txt -rw-r--r-- 19.3 KB
CMakePresets.json -rw-r--r-- 4.0 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 6.8 KB
github_build.sh -rw-r--r-- 1.3 KB
github_macos_build.sh -rw-r--r-- 1.2 KB
github_test.sh -rw-r--r-- 1.1 KB
make-slang-tag-version.bat -rw-r--r-- 210 bytes
premake.bat -rw-r--r-- 120 bytes
premake5.lua -rw-r--r-- 65.4 KB
slang-com-helper.h -rw-r--r-- 4.9 KB
slang-com-ptr.h -rw-r--r-- 5.0 KB
slang-gfx.h -rw-r--r-- 87.3 KB
slang-tag-version.h -rw-r--r-- 36 bytes
slang.h -rw-r--r-- 197.3 KB
slang.sln -rw-r--r-- 51.5 KB
test.bat -rw-r--r-- 1.4 KB
test.ps1 -rw-r--r-- 154 bytes

README.md

back to top