[glsl-out] Support push constant emulation #799
Labels
area: back-end
Outputs of shader conversion
kind: feature
New feature or request
lang: GLSL
OpenGL Shading Language
gfx/wgpu ostensibly supports emulating push constants using uniform buffers on non-Vulkan backends, including GL. However, naga currently errors when translating a shader to GLSL using push constants with
PushConstantNotSupported
. Ideally the shader is translated to use uniforms the way that gfx/wgpu expects.Sample shader:
color.vert.zip
Sample repo using wgpu-rs:
naga @ 93e57ff
The text was updated successfully, but these errors were encountered: