This took me awhile to figure out when copying the triangle example and working on it my own.
It seems if you omit
fn depth_stencil(&self) -> Option<hal::pso::DepthStencilDesc> {
None
}
In the pipeline desc, you get a perplexing error
thread 'main' panicked at 'assertion failed: `(left == right)`
left: `true`,
right: `false`',
Which even with full stack traces is hard to track down.
This is with rendy 0.5.1 (note: had to tweak winit code, as the triangle example on release-0.5.1 doesn't seem to compile)