Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Shader translation error for wgpu shadow/water examples with GLES backend #1615

Closed
victorvde opened this issue Dec 19, 2021 · 0 comments · Fixed by #1616
Closed

Shader translation error for wgpu shadow/water examples with GLES backend #1615

victorvde opened this issue Dec 19, 2021 · 0 comments · Fixed by #1616
Labels
kind: bug Something isn't working

Comments

@victorvde
Copy link

victorvde commented Dec 19, 2021

Since wgpu commit "Remove block decorations", running

wgpu$ RUST_LOG=WARN WGPU_BACKEND=gles cargo run --example water

gives

[2021-12-19T15:14:10Z WARN  wgpu::backend::direct] Shader translation error for stage VERTEX | FRAGMENT | VERTEX_FRAGMENT: error: declarations for uniform `_group_0_binding_0` are inside blocks `Uniforms_block_0Vertex` and `Uniforms_block_0Fragment`
[2021-12-19T15:14:10Z WARN  wgpu::backend::direct] Please report it to https://github.com/gfx-rs/naga

Similarly for the "shadow" example. Last tested with wgpu commit 54f20b / naga 0.8.

Platform:
Arch Linux with mesa 21.3.1-12
Using Mesa Intel(R) UHD Graphics (TGL GT2) (Gl)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants