tint/writer/spirv: Tweak builtin tests to use 'var's
If the builtin has values passed by literal, let or const, then they may be evaluated at shader-creation time, which makes the tests almost useless. Bug: tint:1504 Change-Id: I004f49ec4b3430c8015e65d3fde1f5fa4fdd10f9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/92322 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
This commit is contained in:
parent
e3e91c0d75
commit
e0cd855aa2