Port helper root signature serialization for RDNA2 on Proton #152
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/152"
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?
Imported from PastiiJay/klbf-lab. Originally posted by diafebus on 2026-11-28T10:08:04Z.
This ports the Belobug helper root signature serialization and paired HLSL changes to KLBF stable at
4c79ac5. It is the source for the first local KLBF build that drew outdoor geometry, characters and the prison interior on an RX 6950 XT with RADV and GE-Proton 11-14.In earlier diagnostics, creating a root signature from a Wine-compiled helper shader blob returned
E_FAIL, while host serialization succeeded. The port also changes the indirect clamp and card compare helpers. Their individual effects are unverified. Some scenes remained dark and Lucia's facial surface was missing in this build.The working launch settings and suggested isolation steps are in issue #120.
Imported from PastiiJay/klbf-lab. Originally posted by diafebus on 2026-11-28T10:09:35Z.
The source patch is now on issue #120: https://github.com/PastiiJay/klbf-lab/issues/120#issuecomment-7237704495 and https://github.com/PastiiJay/klbf-lab/issues/120#issuecomment-7237704678.
Imported from PastiiJay/klbf-lab. Originally posted by PastiiJay on 2026-11-28T10:28:36Z.
Thanks a lot, this is a big one and the split (base, host serialization only, full branch) is exactly how we'll test it. We'll run it on our side and credit you for whatever we take. If you still have the log from that first run that drew the prison interior, could you attach it here as a .txt? It would help us check we reproduce the same thing.
Imported from PastiiJay/klbf-lab. Originally posted by HandshakeHackin on 2026-11-28T16:25:21Z.
For the #120 split test, I compared the proposed static-sampler parser with native Windows D3DCompile. With the comparison and border fields omitted, the parser produces NONE and OPAQUE_BLACK. The compiler produces LESS_EQUAL and OPAQUE_WHITE. The two-line correction matched the compiler for all three distinct sampler declarations in the published helpers and for explicit overrides. Any link to the visual symptoms on Proton remains unverified. Before/after CI · Two-line fix
I also reproduced a test-build failure on this PR. Two
include_str!("lightprobe.rs")calls require a file missing from the public branch. The fixture change keeps the 16 published signatures in the normal suite and loads the optional probe file when its device test runs. Three public tests passed and two hardware tests stayed ignored. Fixture changePull request closed