Repository navigation
test(agc): write the point size in the zero position point list draw - #10404
CrimsonMac wants to merge 1 commit into
Conversation
|
Red to green on Intel, a second vendor. Setup: Intel Arc Graphics (Meteor Lake,
No log has AI-assisted: yes (Claude Code) |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed the two fixture-state changes and the reported validation runs. The point-list test now keeps ShaderVertexStageInfo::pointList and State::vertexPoints consistent, and the matrix covers GPL on/off across NVIDIA, AMD and Intel with main/change comparisons. The reported VUID disappears on all three vendors; no blocking issue found. Hosted product jobs are skipped by workflow policy.
|
OK
Freshness envelope: head Cross-PR ledger: |
✅ NVIDIA GPU test: passedPR head
Unstable on main (2, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (1, not counted against this PR)Validation IDs already present on main (4 IDs in 109 tests)Skipped (8)ReproduceAutomated build and test on a contributor's NVIDIA machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
|
On RX 9060 XT / RADV, the point-list validation error reproduces on main with graphics pipeline libraries disabled and disappears with this fixture change.
Reproductioncmake --build build-main --target agc_driver_zero_position_vertex_tests -j 4
export ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1
export VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=layer
export VK_LAYER_PATH="$HOME/.local/share/anyps5-tester/vk-layers/usr/share/vulkan/explicit_layer.d"
ctest --test-dir build-main -R '^agc_driver_zero_position_vertex$' --timeout 120 -V
APS5_NO_GPL=1 ctest --test-dir build-main -R '^agc_driver_zero_position_vertex$' --timeout 120 -VRun each setting three times on each tree and inspect validation messages rather than relying only on CTest's exit code. AI-assisted independent hardware test run (gpt-6.1-terra, medium). |
What
agc_driver_zero_position_vertexdraws itsPcase as a point list, but it recompiles the vertex shader withoutShaderVertexStageInfo::pointListand leavesState::vertexPointsfalse. So the shader writes noPointSize. Production sets both together for a point-list draw on the vertex path (State.cpp,vertex.pointListandresult.vertexPoints).Without
maintenance5, a point-list pipeline whose vertex shader doesn't writePointSizeis invalid, and the point size is undefined. The driver enablesmaintenance5only together with graphics pipeline libraries, so withAPS5_NO_GPL=1, or on a device without them, the Khronos validation layer reports:The test now sets
pointListfor the point-list case andvertexPointsto match. The shader validation accepts aPointSizeoutput only whenvertexPointsis set. The default point size is 1, so the drawn pixels and the assertions don't change. This changes one test fixture only.Tested
Windows 11 IoT Enterprise LTSC 2024 (26100), WinLibs GCC 15.2.0 r7, Release,
maindcd7e3a61. Khronos validation layer from the Vulkan-ValidationLayers nightly of 2026-10-23, confirmed loaded withVK_LOADER_DEBUG=layer, implicit layers disabled (VK_LOADER_LAYERS_DISABLE=~implicit~).ctest -R '^agc_driver_zero_position_vertex$' -V:mainAPS5_NO_GPL=1topology-08773APS5_NO_GPL=1topology-08773agc_driver_sample_order,_grid_referenceand_recipe_depth_locations(AGC: agc_driver_sample_order tests read a depth target as all zeros on an NVIDIA Windows device and pass on Intel #9313, fixed by test(agc): read the sample order tests' depth through a sampled copy #9056/fix(agc): bind the sample order depth set after its pipeline #9503), the same as onmain.agc_group under validation withAPS5_NO_GPL=1on the RTX 4070 SUPER. Apart from this one, every VUID it reported is already covered by an open PR (fix(agc): enable independentBlend for color targets with different blend states #6782, test(agc): keep rectangle corner shaders valid for SPIR-V 1.3 #8978, test(agc): read the sample order tests' depth through a sampled copy #9056).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)1002:164e), AMD Windows driver 32.0.21042.62; Windows 11 26100