diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-09-23 19:46:32 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-23 19:46:32 -0700 |
| commit | ef3552d9cbde0c06ddc77150b8ab68674d8422d3 (patch) | |
| tree | 99da915f30fa4d91d77591231b66f62eda5dd8a0 /include | |
| parent | 3e950e11f46fa3d2a84f04345ea860907ae9715a (diff) | |
Feature/wgsl intrinsic texture gather (#5141)
This PR implements the texture gather functions for WGSL.
The pattern was very similar to how Metal was implemented.
Before copy and paste from the Metal implementation, I had to
clean up the Metal implementation to make it more readable
and maintainable.
Gather functions are available only for 2D and 3D textures.
Their `array` and `depth` variants may or may not be supported depending on the target.
`static_assert` ensures that Gather functions are available only for 2D and 3D textures.
Removed incorrect use of "$p" argument for targeting GLSL.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
