Clarify gfx11 BVH image instruction failures #803
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!803
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/803/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@theantipopau on GitHub · 2026-09-24 09:18 UTC · original
theantipopau:mimg-bvh-diagnostic→main· +328 −19 · 4 files · 7 commits · closed without mergingSummary
0xe6and0xe7as BVH ray-intersection forms in the unsupported-instruction diagnostic.Validation
CCACHE_DISABLE=1 ninja -C _Build/windows shader_cfg_tests -j 8ctest --test-dir _Build/windows -R '^(shader_cfg|resource_tracking|resource_materialization)$' --output-on-failureThis change intentionally stops at an explicit unsupported diagnostic; it does not synthesize BVH traversal results.
@coderabbitai[bot] on GitHub · 2026-09-24 09:30 UTC · original
Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
📝 Walkthrough
Walkthrough
The Windows socket transport now tracks guest nonblocking mode, propagates it to accepted sockets, and handles peek-plus-wait-all receives. Socket tests cover TCP and UDP reads, nonblocking behavior, and EOF. The MIMG decoder now reports specific unsupported reasons for GFX11 opcodes
0xe6and0xe7, with regression tests for their diagnostics and instruction data.Suggested reviewers:
nmzik,mehmetcambaz,brandostrongPriority: ⬇️ Low
Change: Bug fix
Merge Risk: 🔵 Low · up to
1c1b8Two narrow socket behaviors need correction: a zero-length datagram read can report a byte, and accepting a UDPP2P socket can return the wrong error. The change is otherwise mergeable with these fixes or explicit owner acceptance.
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring Coverage
Explanation
Docstring coverage is 16.67% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 18 functions across 3 files. (1 skipped: 1 too large.)
Comment
@coderabbitai helpto get the list of available commands.@ -1079,0 +1166,4 @@}if (peeked >= host_len || peeked == 0 || peer_closed || nonblocking || no_wait ||!SocketIsStream(socket)) {return peeked;@coderabbitai[bot] on GitHub · 2026-09-24 09:30 UTC · original
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Limit the scratch-buffer peek result to the requested length.
For a zero-length datagram peek with an address buffer, lines 1151-1156 peek 1 byte into
scratch. If the queued datagram is exactly 1 byte,RecvHostreturns 1. Line 1167 then returns 1 becausepeeked >= host_len.The guest asked for 0 bytes and received no data, but
Recvfromreports 1. FreeBSD returns 0 for a datagram truncated to the requested length. TheWSAEMSGSIZEbranch already returnshost_lenfor datagrams longer than 1 byte.🐛 Proposed fix
📝 Committable suggestion
@ -1911,2 +2008,3 @@NativeSocket socket = INVALID_NATIVE_SOCKET;if (!GetSocketBackend(s, &socket)) {SocketSlot state;if (!GetSocketBackend(s, &socket, &state)) {@coderabbitai[bot] on GitHub · 2026-09-24 09:30 UTC · original
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Reject UDPP2P sockets explicitly in
Accept.Acceptnow passes&statetoGetSocketBackend.GetSocketBackendenforces itsslot.p2prejection (lines 1261-1264) only whenstate == nullptr. As a result, a guestaccepton a UDPP2P descriptor now reaches::accepton the shared UDP transport.Before this change, the guest received
POSIX_EOPNOTSUPP. On Linux, the host now returnsEOPNOTSUPP, andConvertHostSocketErrordoes not map it. The guest therefore getsPOSIX_EIO. Restore the guard after the lookup.🐛 Proposed fix
📝 Committable suggestion
@coderabbitai[bot] on GitHub · 2026-09-24 09:30 UTC · original · reviewed
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
3efc9a1e-9148-44d8-8d77-db4eddca7ffc📥 Commits
Reviewing files that changed from the base of the PR and between
db7745ef41and1c1b819648.📒 Files selected for processing (4)
src/graphics/shader/recompiler/frontend/decode/ImageOps.cppsrc/libs/network.cpptests/KernelFileSystemTests.cpptests/shaderCfgTests.cppIncluded review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review.
@Nmzik on GitHub · 2026-09-24 17:04 UTC · original
We will currently skip as workaround since some games precompile shaders before allowing the user to choose Performance mode (non-RT).
Pull request closed