summaryrefslogtreecommitdiffstats
path: root/source/slang/compiler.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoleyNV@users.noreply.github.com>2018-10-03 16:03:37 -0700
committerGitHub <noreply@github.com>2018-10-03 16:03:37 -0700
commiteaafafe772366a23ed847cbb10770c72aa5cfc28 (patch)
tree980c9dcfa5e58472ef9c1e918839ed0a55751f50 /source/slang/compiler.cpp
parentcde0dec060edc3f90caea8fde649c211a95b5954 (diff)
Update DXR API definitions for final spec. (#659)
* Update DXR API definitions for final spec. The final version of the DXR API has changed the result type of the `DispatchRaysIndex()` and `DispatchRaysDimensions()` builtins to `uint3` (from `uint2`). * Add updates for DXR object<->world transformations The `ObjectToWorld()` and `WorldToObject()` functions were renamed to `ObjectToWorld3x4()` and `WorldToObject3x4()`, resepctively, and then new functions `ObjectToWorld4x3()` and `WorldToObject4x3()` were added to give convenient access to the transpose of these matrices. (No, I'm not clear on why user's couldn't just call `transpose()`, either) I've left the old function names in the standard library as forwarding functions just so that we don't break existing DXR code that relied on the old names.
Diffstat (limited to 'source/slang/compiler.cpp')
0 files changed, 0 insertions, 0 deletions