We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Git cloning + cargo run --example depth produces a window with nothing in it:
cargo run --example depth
I'm running macOS so I assume wgpu is going through metal.
The text was updated successfully, but these errors were encountered:
On line 55 in the example, try changing the compare function from Greater to LessEqual,
let mut glyph_brush = GlyphBrushBuilder::using_font(inconsolata) .depth_stencil_state(wgpu::DepthStencilState { format: wgpu::TextureFormat::Depth32Float, depth_write_enabled: true, depth_compare: wgpu::CompareFunction::LessEqual, <--- stencil: wgpu::StencilState::default(), bias: wgpu::DepthBiasState::default(), }) .build(&device, FORMAT);
Sorry, something went wrong.
No branches or pull requests
Git cloning +
cargo run --example depth
produces a window with nothing in it:I'm running macOS so I assume wgpu is going through metal.
The text was updated successfully, but these errors were encountered: