writer/spirv: Reduce test boilerplate
Move common Context, Module, TypeDeterminer, Builder and common types into a test base class. Add helpers for making common types. Rename `BuilderTest` to `IntrinsicBuilderTest`, otherwise it will collide with tests in another .cc. Change-Id: I2badbbb381336ddd52aef72811da8adaebdeaf31 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/32400 Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: dan sinclair <dsinclair@chromium.org>
This commit is contained in:
parent
af8091e353
commit
394b4b92b6