-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SLANG_hack_samplerForTexelFetch
binding collides with user declared objects
#96
Comments
SLANG_hack_samplerForTexelFetch
binding collides with user declared objects
Hard-coded yes. Does it lead to compilation failures? Have you found that if needs a sampler bound? |
No, is successfully compiles to SPIR-V. The problem is that the debug layer spits an error. Perhaps it's a bug in their code. As for the other question - I don't see it in the reflection and I don't bind anything to that slot, so I guess it's not an issue |
We now generate a unique binding for this "hack" sampler, and report it through reflection. I'm going to close this specific issue, but it is clear that long term we need to eliminate the need for this sampler altogether, which requires work inside glslang (see glslang issue 1003) |
Is
SLANG_hack_samplerForTexelFetch
hardcoded to useset=0, binding=0
?It collides with other user declarations.
TextRenderer.fs.slang
is one exampleThe text was updated successfully, but these errors were encountered: