diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-07-24 17:00:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-24 17:00:27 -0700 |
| commit | 7ea47f9a7cb2a6dd8f9b1da909ed8a2e98216438 (patch) | |
| tree | 64743277b1840caaf4fc7533ec2bbbec95342359 /docs | |
| parent | efe110580343521ba6ff61ebb7d0db252598651d (diff) | |
Support 1-dimensional matrix for HLSL (#4728)
Closes #4395
This commit allows Slang to use 1-dimensional matrix when targetting
HLSL. The 1-dimensional matrix is supported by DXC natively.
GLSL/Vulkan doesn't support the 1-dimensional matrix natively. It is
not trivial for Slang to convert all of matrix functions to vector or
scalar at the emitting step. We can implement this later if there are
needs. This commit disallows the use of 1-dimensional matrix for
targetting GLSL/Vulkan by the capability system; in other words, the
new 1-dimentional functions have "[require(hlsl)]".
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
