Repository navigation
fix(agc): allow MSAA_ENABLE single-sample points - #21630
oneandonlydean merged 1 commit into
Conversation
|
Linux NVIDIA run with the Khronos validation layer, since the description's run is on Windows. Setup: Arch Linux, kernel 7.3.4, GCC 16.2.1 Release, NVIDIA GeForce RTX 4090 (10de:2684), driver 620.70.06, Vulkan 1.4.357, Khronos validation layer 1.4.363.1. Head
Both logs show No new AI-assisted: yes (Claude Code) |
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
A point list drawn with PA_SC_MODE_CNTL_0.MSAA_ENABLE on a single-sample target whose sample is at the pixel center is drawn like the same state without the bit, as triangles, lines and rectangles already are. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
f8582af to
b2bc297
Compare
|
Windows + AMD run; I found no AMD run in the description or in the comments. Head Setup: Windows 11 25H2 (build 26200), AMD Radeon 760M integrated graphics (
AI-assisted: yes (build and runs scripted with an AI assistant, on the hardware above). |
|
Head No new failures and no new validation messages on either GPU.
Layer runs used AI-assisted: yes |
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — no blocking findings
Nothing blocks this; the points below are optional.
What I ran
Reviewed head b2bc29791586b6e2212ba048d7a1a1b0f2f9003f using the prepared diff and repo_read.py; no commands or tests were run. Read the description, commit list, manifest, diff, the full execution test and debt note, and relevant ranges of State.cpp and Graphics.cpp.
Results
| Check | Result | Note |
|---|---|---|
| Code review | passed | No concrete defect found in inspected changes. |
| Unit tests | not run | The description reports a pass. |
| GPU execution test | not run | The description reports a pass on Windows 11 with an RTX 3070. |
Findings
Blocking
None.
Non-blocking
None.
Not verified
Tests and hardware behavior were not independently verified. Graphics.cpp was excluded from the review folder due to its size; I read the changed lines and nearby context through repo_read.py, not the entire file. No other files were excluded from the changed-file list.
To get this to a good state
Nothing is required.
|
Tested head Setup: Windows 11 Pro 10.0.26200, Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release,
Whole batch: the full This is one combined tree, not a run of this PR alone. AI-assisted: yes (Claude Code) |
What
Allow
PA_SC_MODE_CNTL_0.MSAA_ENABLEon single-sample targets when rasterizing point lists (VGT_PRIMITIVE_TYPE == 1), treating them like single-sample unaliased point draws when sample 0 is at pixel center, matching existing handling for triangles, lines, and rectangles.Tested
agc_driver_graphics_tests.exe(Passed).ctest --test-dir build -R "agc_driver_msaa_enable_single_sample" -VwithANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1,VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation,VK_LOADER_DEBUG=layer(Passed, loader insertedVK_LAYER_KHRONOS_validation, 0VUID-validation errors).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)