dawn-cmake/src/tests
Corentin Wallez 7ae959da60 Allowed mismatch sampler/comparison sampler when using SPIRV-Cross
When SPIRV-Cross we always reflect samplers as regular samplers. A
recent change implementing proper validation broke programs using
comparison samplers in that path.

Skip that bit of validation when using SPIRV-Cross, that hack can be
removed once we use Tint unconditionally for reflection.

Also reenables some BGL-ShaderModule compatibility tests with
SPIRV-Cross to cover the "fixed" validation.

Bug: dawn:571
Bug: dawn:367
Change-Id: I2d1a65aaea717b4927ac4e838942547a1b413d33
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/56900
Commit-Queue: Ben Clayton <bclayton@google.com>
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-07-05 15:07:49 +00:00
..
end2end Drop deprecated rowsPerImage/bytesPerRow behavior 2021-07-04 18:31:29 +00:00
perf_tests Add missing WebGPU limits to Constants.h 2021-06-29 08:12:00 +00:00
unittests Allowed mismatch sampler/comparison sampler when using SPIRV-Cross 2021-07-05 15:07:49 +00:00
white_box Fix internal storage buffer usage 2021-07-02 09:51:18 +00:00
BUILD.gn Fix internal storage buffer usage 2021-07-02 09:51:18 +00:00
DawnTest.cpp Remove double test instantiation with/without use_tint_generator 2021-06-29 17:29:23 +00:00
DawnTest.h Add scoped autoreleasepool to tests and examples 2021-06-24 19:21:31 +00:00
End2EndTestsMain.cpp DawnTest: Gather adapters on environment creation for filtering backends 2020-05-15 16:07:12 +00:00
MockCallback.h Add WireClient::Disconnect to stop serializing commands 2020-04-15 02:00:14 +00:00
ParamGenerator.h ParamGenerator: Return the end iterator if any param is empty 2021-05-21 17:30:58 +00:00
PerfTestsMain.cpp DawnTest: Gather adapters on environment creation for filtering backends 2020-05-15 16:07:12 +00:00
ToggleParser.cpp Support enabling/disabling toggles in unittests 2021-04-14 14:55:07 +00:00
ToggleParser.h Support enabling/disabling toggles in unittests 2021-04-14 14:55:07 +00:00
UnittestsMain.cpp Update the validation tests to use utils::WireHelper 2021-01-27 23:02:24 +00:00