summaryrefslogtreecommitdiff
path: root/source/compiler-core
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2024-09-20 19:55:49 -0700
committerGitHub <noreply@github.com>2024-09-20 19:55:49 -0700
commitc42b5e24b5b9d6b03352d809e0a49485d361154f (patch)
tree50226429a437230ab2920d2230299c0a5a9f5bd2 /source/compiler-core
parenta7fc5b4fa42a7bb0b63436e4c7aad5d5bbb9efe3 (diff)
WGSL implement texture intrinsics except gather and sampler-less (#5123)
This commit implements all of the texture intrinsics for WGSL except "Gather" and sampler-less. They will be implemented in a separate PR. A few things to note: - texture sampling functions are available only for the fragment shader stage; not for compute - WGSL doesn't have any functions similar to CalculateLevelOfDetail or CalculateLevelOfDetailUnclamped. - WGSL doesn't have a function overlaoding for textureSample with "clamp" or "status" arguments. - WGSL doesn't support Load operation with offset for texture_multisampled_XX and texture_storage_XX. - WGSL supports only four types of depth textures: 2D, 2D_array, cube and cube_array. - WGSL doesn't support "offset" variants for cube and cube_array.
Diffstat (limited to 'source/compiler-core')
0 files changed, 0 insertions, 0 deletions