-
Notifications
You must be signed in to change notification settings - Fork 238
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-RHI/WGPU: Too small buffer is bound #5604
Comments
Note: The test |
I've dumped the shader that slang-test winds up passing to Slang-RHI/WGPU:
|
A uniform buffer size of 64 seems to make sense to me:
|
We do indeed get There is probably an issue with the layout. Probably I should check carefully that Slang does indeed take the things I marked with |
Scratch that... The error comes from the fact that the shader has a uniform with a |
I need to first verify that the shader is getting specialized as appropriate. |
As discussed with @csyonghe, not working on this yet because there are some things to resolve about uniform parameters taking interface values. |
@bmillsNV FYI I'm moving this to the next sprint. |
@csyonghe You mentioned a while back that 'global interface typed uniforms' needs some cleanup that should happen before working on this. Do we have an issue filed for that? In any case, I'm clearing the sprint field on this task, since I don't know if something else is required before working on this task. |
Affected tests:
tests/language-feature/shader-params/interface-shader-param-ordinary.slang
Example error:
The text was updated successfully, but these errors were encountered: