Repository navigation
Conversation
|
Thanks! Tested on an RX 7900 GRE (RADV, Mesa 26.3.1, Proton/Wine 11, vkd3d-proton 3.2.0), town walk at 1920x1080, all three switches on (with a warm-up run into their own cache) against all off, same build:
Not merging for now. Leaving it open in case a card-bound scene (or a reproducible input replay) shows a gain. Notes in docs/linux-wine.md, "The fork's pull request 47 in town: no gain shown". |
|
Correction to what I first wrote here: I blamed these switches for a picture bug, and that was wrong. The bug: on my line all plants vanish for a single frame now and then. At night the street lights behind them show for that frame and the exposure reacts, so the picture pulses darker. I counted it with the pop watch at eight blocks or more and got 35 gaps in 22,757 frames with the switches on and 0 in 30,463 off. Then I kept every frame and looked for smaller ones. With the switches off it happens just as often (5 in 3,728 frames, against 5 in 4,132 on), it just mostly drops fewer plants, so it fell under my threshold. So the switches change how much goes missing, not whether it happens. What does stop it is the heap sync in #73: 0 in 3,269 frames with the same count. I'm working on its cost there. What still stands: |
|
Thanks for finding this before it went in. Yes, please cut it down to |
…r the pixel programs that ask for it A pixel program with DB_SHADER_CONTROL.DEPTH_BEFORE_SHADER and no depth or stencil export gets DXIL's ForceEarlyDepthStencil (from elaboratecl/VIctory-AMD-4K 2e478277). Off by default; part of the cache key only while on.
873b4f3 to
92c14d8
Compare
Cut down to
VICTORY_EARLY_DEPTHalone, as discussed below.A pixel program whose console state says
DB_SHADER_CONTROL.DEPTH_BEFORE_SHADERand that exports neither depth nor stencil gets DXIL'sForceEarlyDepthStencil(from elaboratecl/VIctory-AMD-4K 2e478277). Off by default, and part of the shader cache key only while it is on, so nothing changes without it.On my line it has been on in all the runs of the gap counts in #73, including the 11,070 frames with no gap, so it does not cause one-frame dropouts there. I have no speed number I trust: the one I first gave was for this and two other switches together.