https://github.com/shader-slang/slang
Revision 415409fc10cfd0d6b2eb805df8f37bdabc4f2405 authored by jsmall-nvidia on 29 January 2020, 20:17:33 UTC, committed by GitHub on 29 January 2020, 20:17:33 UTC
* When checking if an instruction can be folded, take into account if it's called by a target intrinsic, because if it is we need to check if the parameter is accessed multiple times to see if it's worth allowing to fold.

* Tidy up code around folding/target intrinsics.

* Fix texture-load.slang .

* Fix typo in assert.
1 parent 2c8b983
History
Tip revision: 415409fc10cfd0d6b2eb805df8f37bdabc4f2405 authored by jsmall-nvidia on 29 January 2020, 20:17:33 UTC
Feature/target intrinsic fold (#1190)
Tip revision: 415409f
File Mode Size
docs
examples
external
prelude
source
tests
tools
.editorconfig -rw-r--r-- 937 bytes
.gitattributes -rw-r--r-- 95 bytes
.gitignore -rw-r--r-- 480 bytes
.gitmodules -rw-r--r-- 774 bytes
.travis.yml -rw-r--r-- 1.7 KB
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 7.1 KB
appveyor.yml -rw-r--r-- 4.0 KB
premake5.lua -rw-r--r-- 29.4 KB
slang-com-helper.h -rw-r--r-- 4.8 KB
slang-com-ptr.h -rw-r--r-- 4.8 KB
slang-tag-version.h -rw-r--r-- 36 bytes
slang.h -rw-r--r-- 123.9 KB
slang.sln -rw-r--r-- 9.9 KB
test.bat -rw-r--r-- 1.4 KB
travis_build.sh -rw-r--r-- 460 bytes
travis_test.sh -rw-r--r-- 435 bytes

README.md

back to top