Skip to content

Buffer view tests for local aliasing - #4712

Merged
alan-baker merged 2 commits into
gpuweb:mainfrom
alan-baker:buffer-view-alias
Sep 25, 2026
Merged

alan-baker merged 2 commits into
gpuweb:mainfrom
alan-baker:buffer-view-alias

Conversation

@alan-baker

Copy link
Copy Markdown
Contributor
  • Tests create different typed views to potential the same address and check that implementations respect program order

Exposes some bugs in tint.

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.

@alan-baker
alan-baker requested a review from jrprice September 25, 2026 00:22
@github-actions

github-actions Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Results for build job (at 4d44fd9):

+webgpu:shader,execution,expression,call,builtin,bufferArrayView:mixed_types_aliasing:* - 1458 cases, 7290 subcases (~5/case)
+webgpu:shader,execution,expression,call,builtin,bufferView:mixed_types_aliasing:* - 972 cases, 4860 subcases (~5/case)
-TOTAL: 285552 cases, 2349999 subcases
+TOTAL: 287982 cases, 2362149 subcases

* Tests create different typed views to potential the same address and
  check that implementations respect program order
@alan-baker
alan-baker enabled auto-merge (squash) September 25, 2026 20:18
@alan-baker
alan-baker merged commit a5e5d74 into gpuweb:main Sep 25, 2026
1 check passed
@alan-baker
alan-baker deleted the buffer-view-alias branch September 25, 2026 23:16
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