commit | d81f2ae4fbf7b19ebaf0540a9c481759f1681153 | [log] [tgz] |
---|---|---|
author | Elie Michel <elie.michel@exppad.com> | Fri Feb 24 00:14:31 2023 +0100 |
committer | ocornut <omarcornut@gmail.com> | Tue Apr 11 16:03:26 2023 +0200 |
tree | 0ebc4b27acfcf802956f2102b8fcb466f9111c24 | |
parent | e67f2f4791871b0af4dc5f7f4b76b4e325563679 [diff] |
Backends: WebGPU: Use WGSL shaders instead of precompiled SPIR-V + add Gamma uniform. (#6188) Add gamma correction uniform Group uniforms in a single binding The second binding was not satisfying the minimum BufferBindingType::Uniform alignment (256) and since this alignment is large it is more idiomatic to group uniforms tegether. Also ensures that the size of the uniform buffer is aligned to 16 bytes.