Repository navigation
Conversation
…s_imgstore vk_store_test exits UNSUPPORTED (77) on a device without shaderStorageImageReadWithoutFormat (load) or shaderStorageImageWriteWithoutFormat/shaderInt64 (store). Both branches judged rc == 0 only, so on an Intel UHD 770 cs_imgload was reported as a FAIL. store_test_result() maps 77 to unsupported_skip(msg), as the texture and gather branches already do.
|
Tested 4d98948 on NVIDIA GeForce RTX 4070 SUPER, driver 621.01, Windows 11 Home 25H2 (26200.9974), VS 2022 Build Tools, Vulkan SDK 1.4.363.1: pass.
AI-assisted. No game files. |
lucastayaralvarenga-ui
left a comment
There was a problem hiding this comment.
Reviewed at 4d98948. Windows / CPython 3.14: all 26 run_gpu_tests tests passed, including the mocked load and store result paths. I also checked vk_store_test.cpp: its missing-feature exits use 77 for both modes, and other nonzero exits still reach the failure path in the Python runner. CPU-side runner validation only.
AI-assisted review. No game data.
|
Tested AI-assisted (Claude Code): it ran the tests and wrote this comment.
|
|
Tested 4d98948 on NVIDIA GeForce RTX 5070, driver 621.24, Windows 11 26H2: pass.
|
|
FYI from an Intel Alder Lake-P iGPU (Linux ANV Mesa 26.2.6, no |
|
Thanks @Ege-Mert, that matches what I see on a UHD 770: since #1153 I should have caught this when claiming: #777 (T-Crypt) is the same fix, opened earlier ( |
|
Tested 4d98948 on RTX 5070, driver 621.24, Windows 11: pass. |
|
Closing in favour of #777 (T-Crypt), which makes the same fix and came first, as I said earlier. If #777 gets rebased, the tests here ( |
Claim: #634 (comment)
Problem
vk_store_testexitsUNSUPPORTED(77) when the device lacks a feature the test needs:shaderStorageImageReadWithoutFormatforload;shaderStorageImageWriteWithoutFormatorshaderInt64for the store.The
cs_imgloadandcs_imgstorebranches inrun_gpu_tests.pyjudgerc == 0only, so on an Intel UHD 770 (no read-without-format)cs_imgloadis reported as FAIL with justdevice: Intel(R) UHD Graphics 770. #1136 addscs_imgload_d16to the same branch and inherits this.Change
store_test_result(rc, msg)maps 77 tounsupported_skip(msg), the same SKIP the texture, bindless and gather branches already give, and otherwise keeps(rc == 0, last line). It conflicts with #1136 in this branch (#1136 changes theelif name == "cs_imgload"line right next to it). Whichever lands second needs a one-line rebase: #1136'selif name in ("cs_imgload", "cs_imgload_d16"):with this PR'sresults.append((name, *store_test_result(rc, msg))).Tested
New
StorageImageTestWithoutFormatFeaturesintests/test_run_gpu_tests.py:unsupported:line, for both tests;With
main's runner, 2 of the new cases fail. All runner tests (test_run_gpu_tests*.py,test_shader_checks.py,test_gpu_unsupported_stage.py,test_gpu_test_timeout.py): 98 passed.On a GPU (Windows 11, runtime built from rdna2spirv: d16 image_load reads integer images through their uint/sint views #1136's head with this change applied),
--filter cs_img:SKIP cs_imgloadandSKIP cs_imgload_d16(unsupported: shaderStorageImageReadWithoutFormat),PASS cs_imgstore, 1/3 passed, 2 skipped. Before this change it was 1/3 passed with 2 failures.No game files. AI-assisted.