mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-26 00:33:51 +00:00
Merge #1539
1539: Fix spirv feature by removing profiling::scope bit r=kvark a=scoopr **Description** Compilation failed with `spirv` featue enabled **Testing** Compiled with `spirv` feature enabled Co-authored-by: Mikko Lehtonen <scoopr@iki.fi>
This commit is contained in:
commit
eceffc1d35
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user