这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@teoxoy
Copy link
Member

@teoxoy teoxoy commented Mar 14, 2024

Follow-up to #4503, #4509 & #1962 (comment).

We need to increase this limit to 64 since maxInterStageShaderVariables is 16 and the new algorithm counts each variable as 4 components.

@github-actions
Copy link
Contributor

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

@kainino0x kainino0x added this to the Milestone 1 milestone Mar 15, 2024
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.

I believe the base of 60 came from Metal, not Vulkan: "Maximum number of input components to a fragment function" per correspondence doc.

However now that we've dropped Apple3, that's not relevant anymore. LGTM

@kainino0x kainino0x added the tacit resolution queue Editors have agreed and intend to land if no feedback is given label Mar 15, 2024
@kainino0x
Copy link
Contributor

Resolved in today's meeting to accept this.

@kainino0x kainino0x removed the tacit resolution queue Editors have agreed and intend to land if no feedback is given label Mar 27, 2024
@kainino0x kainino0x merged commit 51e3223 into main Mar 27, 2024
@kainino0x kainino0x deleted the increase-maxInterStageShaderComponents branch March 27, 2024 20:32
@Kangz
Copy link
Contributor

Kangz commented Apr 9, 2024

GPU Web WG 2024-03-27
* KN: this was for old Metal devices we don't support any more.
* KG: not because we wanted to reserve room?
* KN: no. Was 64 on Apple3.
* MW: educational iPad for 2019, still supported in the latest software. So WebKit still supports it. But not for WebGPU. It would be a WebGPU Compat device because of other restrictions.
* CW / GT: not for Compat. :)
* KG: recorded, approved. Update Compat to lower this limit separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants