Fix spirv feature by removing profiling::scope bit

This commit is contained in:
Mikko Lehtonen 2021-06-22 22:23:03 +03:00
parent 5f2df9af79
commit 886d2714e3

View File

@ -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