Skip to content

Commit

Permalink
generate debug info for webgpu in release too
Browse files Browse the repository at this point in the history
  • Loading branch information
Uriopass committed Jan 19, 2024
1 parent 9df842e commit 26675d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/src/gfx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ impl GfxContext {
let instance = wgpu::Instance::new(InstanceDescriptor {
backends,
dx12_shader_compiler: Default::default(),
flags: wgpu::InstanceFlags::default(),
flags: wgpu::InstanceFlags::default() | wgpu::InstanceFlags::DEBUG,
gles_minor_version: wgpu::Gles3MinorVersion::Automatic,
});

Expand Down

0 comments on commit 26675d7

Please sign in to comment.