Skip to content

Conversation

@greggman
Copy link
Contributor

@greggman greggman commented Jan 8, 2026

primitive_index, subgroup_id, subgroup_size were missing from the test.

note: Chromium doesn't currently count these. Bugs filed. Also, chromium doesn't currently count correctly for the pre-existing ones. Fixes in progress.


Requirements for PR author:

  • All missing test coverage is tracked with "TODO" or .unimplemented().
  • New helpers are /** documented */ and new helper files are found in helper_index.txt.
  • Test behaves as expected in a WebGPU implementation. (If not passing, explain above.)
  • Test have be tested with compatibility mode validation enabled and behave as expected. (If not passing, explain above.)

Requirements for reviewer sign-off:

  • Tests are properly located.
  • Test descriptions are accurate and complete.
  • Tests provide complete coverage (including validation control cases). Missing coverage MUST be covered by TODOs.
  • Tests avoid over-parameterization (see case count report).

When landing this PR, be sure to make any necessary issue status updates.

@github-actions
Copy link

github-actions bot commented Jan 8, 2026

Results for build job (at f7b1674):

-webgpu:api,validation,capability_checks,limits,maxInterStageShaderVariables:createRenderPipeline,at_over:* - 640 cases, 640 subcases (~1/case)
+webgpu:api,validation,capability_checks,limits,maxInterStageShaderVariables:createRenderPipeline,at_over:* - 1880 cases, 1880 subcases (~1/case)
-TOTAL: 284500 cases, 2342678 subcases
+TOTAL: 285740 cases, 2343918 subcases

@greggman greggman force-pushed the maxInterStageShaderVariables branch 2 times, most recently from 51b8675 to c8d7632 Compare January 9, 2026 01:40
@ErichDonGubler
Copy link
Member

It sounds like this renders #4541 obsolete?

@greggman
Copy link
Contributor Author

greggman commented Jan 9, 2026

Well yea, kind of. Your other PR fixed the test so it counted 1 for each builtin. That pointed out that chrome was only counting one. When I went into the spec and saw 3 others were missing I started adding them but with 6 it felt like it needed a bigger refactor. I guess I missed your newer one. Sorry about that. Which one do you prefer?

@greggman
Copy link
Contributor Author

greggman commented Jan 9, 2026

Hi Erich, I just wanted to apologize. I totally missed that you had more PRs up for this issue. Feel free to close this PR.

copybara-service bot pushed a commit to google/dawn that referenced this pull request Jan 9, 2026
The validation for maxInterStageShaderVariables
requires checking primitive_index, subgroup_size, and
subgroup_invocation_id.

With this change chromium passes the latest CTS test:
gpuweb/cts#4554

Bug: 474266022,474266023
Fixed: 474266022,474266023
Change-Id: I6a6a6964256b06687781dfb026f982fce83b8bac
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/284055
Commit-Queue: Gregg Tavares <[email protected]>
Reviewed-by: James Price <[email protected]>
kainino0x added a commit to kainino0x/cts that referenced this pull request Jan 10, 2026
primitive_index, subgroup_id, subgroup_size were missing from the test.
@greggman greggman force-pushed the maxInterStageShaderVariables branch from c012822 to f7b1674 Compare January 10, 2026 00:50
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.

3 participants