Fixes
- DXVK: fixed a crash (stack overflow) when another module also subclasses the game window, for example DXVK under RenderDoc, or overlays. The two window procedures called each other until the stack ran out. SacredBild now only re-subclasses the window when the game itself has replaced its window procedure.
Performance
- Ground and layer quads (5,000-11,000 per frame when zoomed out) are appended straight to the pending batch when they fit, which skips the generic per-draw path.
- The batcher now keeps each draw's stage setup until a render state changes, and each texture's atlas placement for the whole frame. Before, it worked both out again for each of the 10,000-14,000 pretransformed draws per frame.
- Character draws make fewer Direct3D 9 calls. Transforms, material and lights are applied only before the next fixed-function draw. Shader constants and bone palettes are uploaded only when they change, so a character's shadow reuses the pose from its model pass. Mesh indices share one index buffer instead of one buffer each.
Full Changelog: nightly-37229736411...nightly-37232741272