https://github.com/shader-slang/slang
Revision c163c33664af1a68613ecbf0c4e747ad3ee3dbb1 authored by Tim Foley on 20 June 2017, 16:24:31 UTC, committed by Tim Foley on 20 June 2017, 16:35:51 UTC
Fixes #34.

I'd declared these as if they were `InputPatch<T>`, but they are really `InputPatch<T,N>`.
This change fixes the declarations, and makes these types no longer inherit from the contrived `BuiltinGenericType`.
Instead they are more-or-less ordinary `DeclRefType`s using the same approach that `MatrixExpressionType` uses.
1 parent 5b85b51
History
Tip revision: c163c33664af1a68613ecbf0c4e747ad3ee3dbb1 authored by Tim Foley on 20 June 2017, 16:24:31 UTC
Fix types for `InputPatch` and `OutputPatch`
Tip revision: c163c33
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-- 29.1 KB
slang.sln -rw-r--r-- 6.3 KB
test.bat -rw-r--r-- 1.4 KB

README.md

back to top