mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-23 15:23:33 +00:00
70ad084ad4
Some compilers like shaderc introduce a full gl_PerVertex struct, this includes gl_ClipDistance. Normally this isn't a problem since most drivers optimize it away, but naga zero inits globals if they weren't previously initialized. This causes gl_ClipDistance to be initialized to zero which can be really bad for performance. |
||
---|---|---|
.. | ||
in | ||
out | ||
snapshots.rs | ||
spirv-capabilities.rs | ||
wgsl-errors.rs |