https://github.com/shader-slang/slang
Revision 17369d9a4f26a15393c15a9de4199d2963236c0b authored by Tim Foley on 02 January 2018, 17:29:21 UTC, committed by GitHub on 02 January 2018, 17:29:21 UTC
Fixes #333

The code in `ast-legalize` is passed an array of declarations that have been ordered by dependencies using a topological sort. Unfortunately, it was only using that list in the case where the request was considered to be a "rewrite" request, and would otherwise rely on the order in which things get forced during the recursive walk (which doesn't really work for our needs).
1 parent bdc1fa5
History
Tip revision: 17369d9a4f26a15393c15a9de4199d2963236c0b authored by Tim Foley on 02 January 2018, 17:29:21 UTC
Always respect dependency order when lowering decls via AST (#344)
Tip revision: 17369d9
File Mode Size
build
docs
examples
external
source
tests
tools
.gitattributes -rw-r--r-- 95 bytes
.gitignore -rw-r--r-- 398 bytes
.gitmodules -rw-r--r-- 107 bytes
.travis.yml -rw-r--r-- 1.6 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE -rw-r--r-- 1.1 KB
Makefile -rw-r--r-- 6.3 KB
README.md -rw-r--r-- 6.2 KB
appveyor.yml -rw-r--r-- 3.5 KB
slang.h -rw-r--r-- 39.1 KB
slang.sln -rw-r--r-- 9.1 KB
test.bat -rw-r--r-- 1.4 KB

README.md

back to top