https://github.com/shader-slang/slang
Revision 8f03af5e5b580170fab3fd2fe6144f92038c7701 authored by Sai Praveen Bangaru on 28 March 2023, 19:39:52 UTC, committed by GitHub on 28 March 2023, 19:39:52 UTC
* Create render.slang

* Added higher-order differentiability decorators for built-ins + preliminary tests

* Update diff.meta.slang

* Copy over conformance synthesis code to `DifferentiableTypeConformanceContext`

* Update render.slang

* Fixed 1D warped-area sampling test

* Update warped-sampling-1d.slang

* Remove commented line.

* Change WAS test to use fixed point

* Replaced InterlockedCmpExchange with InterlockedAdd

* Increase fixed point precision

* Reduce floating-point precision by 2 digits to avoid platform-specific problems

* Dropped another digit (just to be safe)

---------

Co-authored-by: Yong He <yonghe@outlook.com>
1 parent e22b4db
History
Tip revision: 8f03af5e5b580170fab3fd2fe6144f92038c7701 authored by Sai Praveen Bangaru on 28 March 2023, 19:39:52 UTC
AD: Warped-Area-Sampling test works now. (#2742)
Tip revision: 8f03af5
File Mode Size
.github
build
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.4 KB
.gitmodules -rw-r--r-- 951 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 3.1 KB
LICENSE -rw-r--r-- 1.1 KB
README.md -rw-r--r-- 6.4 KB
github_build.sh -rw-r--r-- 1.1 KB
github_macos_build.sh -rw-r--r-- 1.2 KB
github_test.sh -rw-r--r-- 968 bytes
make-slang-tag-version.bat -rw-r--r-- 210 bytes
premake.bat -rw-r--r-- 120 bytes
premake5.lua -rw-r--r-- 56.9 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-- 86.6 KB
slang-tag-version.h -rw-r--r-- 36 bytes
slang.h -rw-r--r-- 192.6 KB
slang.sln -rw-r--r-- 45.0 KB
test.bat -rw-r--r-- 1.4 KB

README.md

back to top