mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Glsl defines that if a matrix constructor is called with only a scalar it's result will be the matrix where the scalar is used if the row and column are equal and everywhere else a zero