summaryrefslogtreecommitdiffstats
path: root/examples/wgpu-html5
diff options
context:
space:
mode:
authoraidanfnv <aidanf@nvidia.com>2025-05-14 08:06:59 -0700
committerGitHub <noreply@github.com>2025-05-14 15:06:59 +0000
commit09d7e134de70a5de5f6d2bf4e099fcdbdefc9500 (patch)
treeb61306aff05558e155f0b16f79a410d2e8e59a03 /examples/wgpu-html5
parenteb5648b41d0718648477cbcf941fb3c6edf6dfc7 (diff)
Add explanation for SV_InstanceID usage difference from SPIR-V (#7072)
Closes https://github.com/shader-slang/slang/issues/6805 This change adds a note to the SPIR-V target specific doc that SV_InstanceID does not map directly to SPIR-V's BuiltIn InstanceIndex, and adds a more detailed explanation of the difference, its motivation, and how to derive the actual value equivalent to BuiltIn InstanceIndex with an example. --------- Co-authored-by: slangbot <ellieh+slangbot@nvidia.com> Co-authored-by: slangbot <186143334+slangbot@users.noreply.github.com>
Diffstat (limited to 'examples/wgpu-html5')
0 files changed, 0 insertions, 0 deletions