Skip to content

vk_bindless_test and vk_image_fuzz: skip below 144 push-constant bytes like vk_texture_test (TEST-149) - #1234

Closed
ken00H wants to merge 1 commit into
ItsNotRexed:mainfrom
ken00H:test-149-push-constant-skip
Closed

ken00H wants to merge 1 commit into
ItsNotRexed:mainfrom
ken00H:test-149-push-constant-skip

Conversation

@ken00H

@ken00H ken00H commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Claimed in the coordination issue as: TEST-149 claim, #1218 comment. AI-assisted change (coding agent, per AGENTS.md).

What and why

TEST-149 (found by @ItsJaved): vk_bindless_test and vk_image_fuzz hard-code 144 bytes of push constants (their pipeline layouts build a VkPushConstantRange of 144) and fail device validation below that, although on 128-byte push-constant GPUs (Intel Arc, some AMD drivers) every pixel is exact. vk_texture_test already skips with exit 77 in that case (D3D-14).

Both tools now run the same check right after the device print: maxPushConstantsSize < 36 * sizeof(uint32_t) → unsupported: need 144 push constant bytes, device has N and exit 77, matching each tool's local conventions (std::printf, the unsupported constant). 12 insertions, no behavior change on devices with ≥ 144 bytes.

Tested

  • Rebuilt runtime/build/linux-vk14 (RTX 4080 SUPER, Linux, driver 595.99.2, 256-byte push constants): vk_bindless_test path via run_gpu_tests.py --filter ps_tex — 9/9 pass; vk_image_fuzz end to end via tools/image_fuzz.py --programs 2 --seed 5 — 2/2 match. Normal path unchanged.
  • The skip path itself is code-verified only here (256-byte device): a real 128-byte-GPU confirmation from an Arc owner would complete TEST-149's "needs" line.
  • No game files used anywhere.

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed. (N/A — test-tool skip behavior, no translator change.)

… push constant bytes, like vk_texture_test (TEST-149)
@ken00H

ken00H commented Nov 22, 2026

Copy link
Copy Markdown
Contributor Author

Closing as duplicate — thanks @etcetera-yt for the heads-up: #1113 landed this at 08:25 UTC (both tools, plus tool-side and test coverage), before my claim; I claimed against a stale "Up for grabs" row. Nothing to port from here — closing in #1113's favor per the first-merged rule. PR #1234 closed, branch deleted.

@ken00H ken00H closed this Nov 22, 2026
@ken00H
ken00H deleted the test-149-push-constant-skip branch November 22, 2026 08:48
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.

1 participant