https://github.com/shader-slang/slang
Revision 0e3d9ba255b86c11521a951183d38bffae008559 authored by Tim Foley on 17 November 2017, 03:31:57 UTC, committed by GitHub on 17 November 2017, 03:31:57 UTC
The initial lowering was adding an `IRLoopControlDecoration` to the instruction at the head of a loop, but this was getting dropped when the IR gets cloned for a particular entry point.
The fix was simply to add a case for loop-control decorations to `cloneDecoration`.
1 parent 871fbee
History
Tip revision: 0e3d9ba255b86c11521a951183d38bffae008559 authored by Tim Foley on 17 November 2017, 03:31:57 UTC
IR: pass through `[unroll]` attribute (#284)
Tip revision: 0e3d9ba
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-- 36.5 KB
slang.sln -rw-r--r-- 9.1 KB
test.bat -rw-r--r-- 1.4 KB

README.md

back to top