From 886d2714e33da53e27742be23463ce8d9c73681d Mon Sep 17 00:00:00 2001 From: Mikko Lehtonen Date: Tue, 22 Jun 2021 22:23:03 +0300 Subject: [PATCH] Fix spirv feature by removing profiling::scope bit --- wgpu/src/backend/direct.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/wgpu/src/backend/direct.rs b/wgpu/src/backend/direct.rs index 333290411..27c2bc2a7 100644 --- a/wgpu/src/backend/direct.rs +++ b/wgpu/src/backend/direct.rs @@ -812,7 +812,6 @@ impl crate::Context for Context { let source = match desc.source { #[cfg(feature = "spirv")] ShaderSource::SpirV(ref spv) => { - profiling::scope!("naga::spv::parse"); // Parse the given shader code and store its representation. let options = naga::front::spv::Options { adjust_coordinate_space: false, // we require NDC_Y_UP feature