Repository navigation
Tests: four D3D12 tests skip on a 128-byte push-constant GPU instead … - #3093
Conversation
…of failing d3d12_fspx_compute, d3d12_msaa_draw, d3d12_set0_compute and d3d12_pipeline_library build PSOs from 144-byte shaders. On a device whose maxPushConstantsSize is 128 (AMD's Windows driver on RDNA2 iGPUs, some Intel Arc drivers) the layer refuses those PSOs with E_NOTIMPL, as D3D-14 intends, so the tests failed at the first CreatePipelineState and ctest reported 4 failures on a correct runtime. They now exit 77 there (SKIP_RETURN_CODE in CMake) with the reason; pipeline_library still runs its library-blob checks first. Devices with 144 bytes or more are unchanged. d3d12_compute and d3d12_draw are left to ItsNotRexed#2402, which runs their --pc-tail-ubo path on such devices. AI-assisted.
|
Tested Built with MSVC 19.44 / Ninja / Windows SDK 10.0.26100.0 / Vulkan SDK 1.4.363.0 (
(Scope: both GPUs on this host report 256-byte push constants, so this confirms no regressions on the normal non-skipping path; the 128-byte skip branch itself was not triggered here.) AI-assisted (Antigravity / Gemini); no game files used. |
|
Tested e535568 merged onto main 1628210 on an RTX 5090 (driver 616.92), Windows 11, MSVC 19.44, Vulkan SDK 1.4.363, RelWithDebInfo:
AI-assisted (Claude Code). |
|
Tested
Not checked: the 128-byte path itself. No device here reports less than 144 bytes, so the skip message and exit 77 were not exercised. |
|
Tested e535568 (merged onto main 1628210) on NVIDIA GeForce RTX 4060 Ti, driver 610.88 (32.0.16.1088), Windows 11 26200, MSVC 14.51.36231 (VS 2026), Vulkan SDK 1.4.363.0: pass on a 256-byte device; one interaction with #2752 to sort out before merging
AI-assisted (Claude). |
|
Tested e535568 on Tiger Lake (Xe-LP) iGPU 0x9a78, driver 32.0.101.7088, Windows 11, MSVC 14.44: pass Full Our adapter reports AI-assisted (GLM, operated by the account owner). |
Claimed in the coordination issue as: new item — d3d12_fspx_compute, d3d12_msaa_draw, d3d12_set0_compute and d3d12_pipeline_library fail on a 128-byte push-constant GPU (#2300)
What and why
These four tests build their PSOs from 144-byte push-constant shaders. On a device whose maxPushConstantsSize is 128 — AMD's Windows driver on RDNA2 iGPUs, some Intel Arc drivers — the D3D12 layer refuses those PSOs with E_NOTIMPL, which D3D-14 intends. Each test then fails at its first CreatePipelineState, so ctest reports 4 failures on a correct runtime (seen on main 4947579). They now print the reason and exit 77, which is already their SKIP_RETURN_CODE, after creating the device and before the first incompatible PSO. pipeline_library still runs its library-blob checks first. Devices with 144 bytes or more are unchanged; d3d12_compute and d3d12_draw are left to #2402, which runs their --pc-tail-ubo path on such devices instead of skipping.
Tested
No game data.
Checklist
docs/design.md, with how it was confirmed. (n/a — no translator change)