mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-12-11 16:14:44 +00:00
7d0e9847b0
When it was introduced it was supposed to allow for fast compiles by skipping glsl specific validation, but as it turns the subset of glsl that's compilable code is already pretty close to the subset of valid glsl code. So the current code gated behind glsl-validate amounts to a single branch that isn't even performance sensitive, and most of the validation is not specific to glsl and is made by naga's validator which can be turned off, so the original goal of fast compile times by disabling validation can still be accomplished. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |