Skip to content

Conversation

@Jiawei-Shao
Copy link
Contributor

In the validation of inter-stage interfaces, each user-defined inter-stage shader variable should always consume 4 inter-stage shader components because in latest Vulkan SPEC the Location value specifies an interface slot comprised of a 32-bit four-component vector conveyed between stages.

Fixes: #1962

In the validation of inter-stage interfaces, each user-defined
inter-stage shader variable should always consume 4 inter-stage
shader components because in latest Vulkan SPEC the Location value
specifies an interface slot comprised of a 32-bit four-component
vector conveyed between stages.

Fixes: gpuweb#1962
@github-actions
Copy link
Contributor

Previews, as seen when this build job started (60a1d91):
WebGPU webgpu.idl | Explainer | Correspondence Reference
WGSL grammar.js | wgsl.lalr.txt

Copy link
Contributor

@Kangz Kangz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but I'd like editors to review and other browser engines to agree to this bugfix.

Copy link
Contributor

@kainino0x kainino0x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pretty sure this will work, left my concerns in the issue.

@kdashg kdashg merged commit 5b46514 into gpuweb:main Mar 7, 2024
@kainino0x kainino0x added the needs-cts-issue This change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-cts-issue This change requires tests (or would need tests if accepted), but may not have a CTS issue filed yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should we constrain the location of user input-output stage variables WGSL

5 participants