From d920adc7728babf4599dfad805c218c8545ed2d5 Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Mon, 23 Mar 2020 12:27:21 +0000 Subject: [PATCH] Stop using SPVC by default. SPVC only allows SPIR-V 1.0 while WebGPU samples and other existing content outputs SPIR-V 1.3. Turning SPVC on by default broke all of them, so we disable SPVC until we decide what to do. Bug: chromium:1063810 Change-Id: Iedcf31960eb25b0974e8c67030232902cd58a4a1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/17480 Reviewed-by: Corentin Wallez Commit-Queue: Corentin Wallez --- src/dawn_native/Device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dawn_native/Device.cpp b/src/dawn_native/Device.cpp index 0a75247903..185d6593d7 100644 --- a/src/dawn_native/Device.cpp +++ b/src/dawn_native/Device.cpp @@ -696,7 +696,7 @@ namespace dawn_native { void DeviceBase::SetDefaultToggles() { // Sets the default-enabled toggles mTogglesSet.SetToggle(Toggle::LazyClearResourceOnFirstUse, true); - mTogglesSet.SetToggle(Toggle::UseSpvc, true); + mTogglesSet.SetToggle(Toggle::UseSpvc, false); } // Implementation details of object creation