diff --git a/src/dawn_native/ShaderModule.cpp b/src/dawn_native/ShaderModule.cpp index 0cd9692123..be78a2e359 100644 --- a/src/dawn_native/ShaderModule.cpp +++ b/src/dawn_native/ShaderModule.cpp @@ -119,8 +119,13 @@ namespace dawn_native { return wgpu::BindingType::WriteonlyStorageTexture; case shaderc_spvc_binding_type_storage_texture: return wgpu::BindingType::StorageTexture; + default: + // This default needs to be here temporarily, to avoid + // build/dependency issues when spvc adds a new entry to the + // enum. Once the new entry is available I will land a + // second patch to remove this default. + UNREACHABLE(); } - UNREACHABLE(); } SingleShaderStage ToSingleShaderStage(shaderc_spvc_execution_model execution_model) {