-
Notifications
You must be signed in to change notification settings - Fork 205
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
WGSL: nointerpolate doesn't work #5625
Comments
Filing separate issue for tracking, but this will be done as part of #4943 |
It should probably map to 'interpolate' attribute with https://www.w3.org/TR/WGSL/#interpolation-type-flat |
I'm working on a fix in the branch aleino/nointerpolate, but the resulting I noticed that the struct flattening function does not move the interpolation mode decoration from the 'color' field over to the new flattened struct.
|
* Move interpolation mode decorations to flattened structs * Emit interpolation attribute * Enable tests/render/nointerpolation.hlsl for WGSL, as a result. This closes shader-slang#5625.
PR based on the above observation #5641 |
* Move interpolation mode decorations to flattened structs * Emit interpolation attribute * Enable tests/render/nointerpolation.hlsl for WGSL, as a result. This closes shader-slang#5625.
* Move interpolation mode decorations to flattened structs * Emit interpolation attribute * Enable tests/render/nointerpolation.hlsl for WGSL, as a result. This closes shader-slang#5625.
* Move interpolation mode decorations to flattened structs * Emit interpolation attribute * Enable tests/render/nointerpolation.hlsl for WGSL, as a result. This closes shader-slang#5625.
Failing tests:
tests/render/nointerpolation.hlsl (wgpu)
is failing to generate the expected output (solid red triangle)The text was updated successfully, but these errors were encountered: