Repository navigation
Conversation
… push constant bytes, like vk_texture_test (TEST-149)
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_testandvk_image_fuzzhard-code 144 bytes of push constants (their pipeline layouts build aVkPushConstantRangeof 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_testalready 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 Nand exit 77, matching each tool's local conventions (std::printf, theunsupportedconstant). 12 insertions, no behavior change on devices with ≥ 144 bytes.Tested
runtime/build/linux-vk14(RTX 4080 SUPER, Linux, driver 595.99.2, 256-byte push constants):vk_bindless_testpath viarun_gpu_tests.py --filter ps_tex— 9/9 pass;vk_image_fuzzend to end viatools/image_fuzz.py --programs 2 --seed 5— 2/2 match. Normal path unchanged.Checklist
docs/design.md, with how it was confirmed. (N/A — test-tool skip behavior, no translator change.)