Skip to content
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

Unvalidated “integral user-defined vertex outputs must have a '@interpolate(flat)' attribute” #6990

Open
kpreid opened this issue Jan 25, 2025 · 0 comments
Labels
area: validation Issues related to validation, diagnostics, and error handling lang: WGSL WebGPU Shading Language naga Shader Translator type: bug Something isn't working

Comments

@kpreid
Copy link
Contributor

kpreid commented Jan 25, 2025

Description
WGSL specification:

User-defined vertex outputs and fragment inputs of scalar or vector integer type must always be specified with interpolation type flat.

Chrome WebGPU enforces this, but wgpu/naga does not, resulting in an application that fails under the WebGPU backend only.

Platform
wgpu 24.0.0, but also trunk

@Wumpf Wumpf added type: bug Something isn't working area: validation Issues related to validation, diagnostics, and error handling naga Shader Translator lang: WGSL WebGPU Shading Language labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: validation Issues related to validation, diagnostics, and error handling lang: WGSL WebGPU Shading Language naga Shader Translator type: bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants