mirror of
https://github.com/storytold/wgpu.git
synced 2026-12-01 02:24:35 +01: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
1 file changed
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user