Skip to content

Add zero-init cases for vars declared in a loop - #4740

Merged
alan-baker merged 3 commits into
gpuweb:mainfrom
alan-baker:zero-init-loop
Nov 26, 2026
Merged

alan-baker merged 3 commits into
gpuweb:mainfrom
alan-baker:zero-init-loop

Conversation

@alan-baker

Copy link
Copy Markdown
Contributor
  • Expand the zero-init tests for function address space variables to cover declaration within a loop

Issue: #


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.

* Expand the zero-init tests for function address space variables to
  cover declaration within a loop
@alan-baker
alan-baker requested review from dj2 and jrprice November 26, 2026 18:08
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Results for build job (at 08235da):

-webgpu:shader,execution,zero_init:compute,zero_init:* - 348 cases, 5089 subcases (~15/case)
+webgpu:shader,execution,zero_init:compute,zero_init:* - 437 cases, 6418 subcases (~15/case)
-TOTAL: 290198 cases, 2381713 subcases
+TOTAL: 290287 cases, 2383042 subcases

@alan-baker
alan-baker merged commit 35a743a into gpuweb:main Nov 26, 2026
1 check passed
@alan-baker
alan-baker deleted the zero-init-loop branch November 26, 2026 19:57
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.

2 participants