Repository navigation
ambient: the light estimate's passes build under Proton (no isnan, system compiler, root signature apart) - #2160
Conversation
…er (E5005: Function "isnan" is not defined)
…(no root-signature check), the root signature serialized apart; its constants read from the passes' RS
|
Source review of
I would keep the five-parameter layout for the screen passes and explicitly select the UAV range as parameter 1 for the two-parameter neutral layout. This is a static binding mismatch, not a reproduced driver failure. It is also outside the coverage of For context, our two current-main RTX 4060/16 GiB Linux/GE-Proton11-14 startup trials have not reached visible gameplay. Their logs contain no ambient-module creation/failure records, and the requested RT builder stayed inactive with missing host pipelines. I therefore cannot yet corroborate the claimed lighting restoration or attribute our defective opening cinematic to the compiler path in #2158. Please keep the compiler fix and that separate builder-readiness problem distinct. AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High). |
… table, as its RS declares (the first table built was the SRV's: a silent no-op, trustno1-coder#2160's review); the layout built over the ranges where they lie; a test reads the layout back
|
You were right, and thank you: Fixed in the branch ( Agreed on keeping the builder-readiness problem separate: #2158/#2160 are about the passes compiling at all under Proton, nothing about the RT builder. Your GE-Proton 11-14 trials never reaching gameplay is a different matter — if you open it with the logs, I will read them, but not in this PR. |
|
Thanks for fixing that. I independently rechecked the exact new head The new game-free test does use the production layout construction and catches the former neutral-table selection. One small coverage suggestion: its Agreed on scope. Our separate startup observations are in the #2148 discussion, with the independently confirmed Proton compiler-memory measurement issue. The correction to that measurement is being qualified separately. I will keep startup evidence out of this lighting PR. AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High). |
…ne descriptor (a missing range cannot pass as anything)
|
Taken: the test now asserts each table's range pointer ( |
… the aiming scene blew out to white, the layer's own menu documents this knob as 'keeps fog from glowing too bright' (PR trustno1-coder#2160's pass fix is in but did not touch this symptom)
Fixes #2158. Three commits on main, all in
ambient.rs(+hlsl.rs):isnan/isinfintrinsics in the passes' source. Wine's system compiler is fxc, which has neither (E5005: Function "isnan" is not defined), and a shader that fails there never reaches the fallback whole. The two uses are a clamp that amax/minpair does the same.hlsl::system_codecompiles the source as it is (no[RootSignature]check: fxc drops the block with W5302 and the check turned that into a DXC cs_6_0 fallback, which vkd3d-proton refuses withvsir_parse: Failed to parse shader). The signature is built inambient.rs::root_signature()from theRSdefinition. (DXC's-extractrootsignatureblob gives E_INVALIDARG under Wine, hence the builder.)RS(num32BitConstants=N): main'sRSgrew to 14; with a signature made for 13 the RAISE pass read zeros —raise_opt_in_chroma_scrub_…catches it on hardware.What does not change on Windows: the passes are cs_5_x HLSL that fxc compiles on every Windows host too; the signature built from
RSis the one the passes declare.Rig (wine-staging 11.22, RTX 5090, vkd3d-proton master),
ambient::tests: main 10 passed / 4 failed (the_passes_build:Module not found;the_passes_compile:KEEP: … Module not found) → this branch 13 / 2, the two left being WARP-only (neutral_probe_…,raise_opt_in_chroma_scrub_…: "clamp shader must compile on WARP", no WARP DLL under Wine). In play under GE-Proton 11 the passes build and the light estimate acts (VICTORY_AMBIENT=0.8default;0is #1957's fallback), indoors lit for the first time.