Skip to content

test(shader): classify RGB32 integer view strides - #177

Closed
vedantdadhich21 wants to merge 1 commit into
pragyaangaur:mainfrom
vedantdadhich21:fix/shader-rgb32-integer-metadata
Closed

vedantdadhich21 wants to merge 1 commit into
pragyaangaur:mainfrom
vedantdadhich21:fix/shader-rgb32-integer-metadata

Conversation

@vedantdadhich21

Copy link
Copy Markdown
Contributor

Summary

The synthetic shader host's view_strides helper omitted R32G32B32_UINT and R32G32B32_SINT. Tests using those formats therefore received stride 12 without VIEW_INTEGER/VIEW_SIGNED, unlike production, which can hide or falsely fail integer typed-load/store fixes.

This adds both formats to the classifier and a six-format RGB32/RGBA32 FLOAT/UINT/SINT metadata regression.

Verification

  • Windows/Wine targeted test: 1 passed.
  • Native victory-shader --lib: 165 passed, 2 ignored.
  • Strict all-target/all-feature Windows Clippy: passed.
  • cargo xtask policy: 215 files ok.
  • git diff --check: passed.

No game files or proprietary assets were used. AI-assisted.

The synthetic host stride table omitted R32G32B32_UINT and R32G32B32_SINT, so shader tests saw those views as plain 12-byte floats instead of integer views. Match production classification and add a six-format RGB32/RGBA32 metadata regression.

Signed-off-by: Vedant Dadhich <vedantdadhich21@gmail.com>
@vedantdadhich21
vedantdadhich21 marked this pull request as ready for review November 25, 2026 22:57
@vedantdadhich21

Copy link
Copy Markdown
Contributor Author

Closing as superseded by #196, which includes this RGB32 integer metadata coverage together with the integer typed-buffer overload implementation and its structural/hardware regressions.

@vedantdadhich21
vedantdadhich21 deleted the fix/shader-rgb32-integer-metadata branch November 26, 2026 00:37
@pragyaangaur pragyaangaur added area:shader Shader translator tests The test suites themselves labels Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:shader Shader translator tests The test suites themselves

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants