This repository has been archived by the owner on Jan 29, 2025. It is now read-only.
[glsl-out] ImageMultipleSamplers error for multiple samplers due to name collision #1137
Labels
area: back-end
Outputs of shader conversion
help wanted
Extra attention is needed
kind: bug
Something isn't working
Given the WGSL code
naga fails to convert it to GLSL due to
Conflicting samplers for _group_0_binding_3
.The relevant code is here
naga/src/back/glsl/mod.rs
Lines 2441 to 2457 in 526a29e
Logging the
global
andtex_name
values gives toThe
tex_name
is looked up using only the global'sty
which is the same for both both textures.The text was updated successfully, but these errors were encountered: