mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-06-05 14:13:39 +00:00
tint/writer/spirv: Clean up accessor tests
Remove duplicate tests. Use a common pattern of sanitizing, building and dumping the whole module instead of calling individual methods. There's too much internal state being tracked in the tests for my liking. Split most tests into three: * Const_* tests will check the emission of creation-time-constant expressions. * Runtime_* tests will check the emission of runtime expressions, where indexing operates with a constant index. * Dynamic_* tests will check the emission of runtime expressions, where indexing operates with a runtime index. Bug: tint:1580 Change-Id: I0f92aaaa570cbd917d2b6937c6396605c6b542c9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94333 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
This commit is contained in:
parent
7400a5519f
commit
ab70ff7a2f
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user