mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Roll SPIRV-Tools and temporarily use Vulkan SPIRV validation
New additions to the validation for the WebGPU execution environment broke all the tests that use shaders because tests don't produce valid SPIR-V for WebGPU and also backends don't know how to lower WebGPU-flavored SPIR-V to target languages. Also rolls SPIRV-Headers to a version compatible with SPIRV-Tools TBR=kainino@chromium.org BUG=dawn:57 Change-Id: Icd9a199efc39cf143e38d64841eb4b122c9f54a9 Reviewed-on: https://dawn-review.googlesource.com/c/2706 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Stephen White <senorblanco@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
596d6fe00d
commit
32abaffa73
@@ -52,7 +52,9 @@ TEST_F(ShaderModuleValidationTest, CreationSuccess) {
|
||||
}
|
||||
|
||||
// Test case with a shader with OpUndef to test WebGPU-specific validation
|
||||
TEST_F(ShaderModuleValidationTest, OpUndef) {
|
||||
// TODO(cwallez@chromium.org): Disabled because of
|
||||
// https://bugs.chromium.org/p/dawn/issues/detail?id=57
|
||||
TEST_F(ShaderModuleValidationTest, DISABLED_OpUndef) {
|
||||
const char* shader = R"(
|
||||
OpCapability Shader
|
||||
%1 = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
Reference in New Issue
Block a user