https://github.com/shader-slang/slang
Revision 996d4dc537272e36dde1d9c1110064d597fa212f authored by Tim Foley on 27 June 2017, 16:13:19 UTC, committed by Tim Foley on 27 June 2017, 16:13:19 UTC
This fixes up a bug in the earlier change that provided reflection for imported parameters; I'd failed to confirm that the code generation logic can handle imported parameters correctly.

The main fix was to have an `import` declaration automatically use the global-scope layout already determined, sine imported parameters will in general appear there.
1 parent 8824b10
History
Tip revision: 996d4dc537272e36dde1d9c1110064d597fa212f authored by Tim Foley on 27 June 2017, 16:13:19 UTC
Emit global-scope parameters from imported files.
Tip revision: 996d4dc
File Mode Size
build
examples
external
source
tests
tools
.gitignore -rw-r--r-- 247 bytes
.gitmodules -rw-r--r-- 107 bytes
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 1.5 KB
appveyor.yml -rw-r--r-- 1.5 KB
slang.h -rw-r--r-- 28.6 KB
slang.sln -rw-r--r-- 6.3 KB
test.bat -rw-r--r-- 1.4 KB

README.md

back to top