Repository navigation
GS/DX11: Uav/rov optimizations. - #14550
Merged
Merged
Conversation
TJnotJT
reviewed
Jun 5, 2026
lightningterror
force-pushed
the
gs_dx11_uav_optimizations
branch
from
June 5, 2026 18:24
6fb97be to
f39c295
Compare
lightningterror
force-pushed
the
gs_dx11_uav_optimizations
branch
from
June 6, 2026 07:59
f39c295 to
bf7ec2f
Compare
TJnotJT
approved these changes
Jun 6, 2026
JordanTheToaster
approved these changes
Jun 8, 2026
Hancock33
added a commit
to Hancock33/batocera.piboy
that referenced
this pull request
Jun 14, 2026
------------------------------------------------------------------------------------ cubeb.mk b18d6992feeb7d4c4a0992257c85d96d761e68d2 # Version: Commits on Jun 08, 2026 ------------------------------------------------------------------------------------ Provide the ability to prevent usage of private APIs in the rust coreaudio backend For more information see: mozilla/cubeb-coreaudio-rs#283, ------------------------------------------------------------------------------------- hatari.mk 63847867ad77abe3ca47eab34bdc0f7dc59d4548 # Version: Commits on Jun 09, 2026 ------------------------------------------------------------------------------------- Update CPU core version, ---------------------------------------------------- pcsx2.mk v2.7.404 # Version: Commits on Jun 09, 2026 ---------------------------------------------------- - [GS/DX11: Uav/rov optimizations.](PCSX2/pcsx2#14550) ------------------------------------------------------------------------------------- ppsspp.mk 9489a7176a31528232173713090f4930137d4507 # Version: Commits on Jun 09, 2026 ------------------------------------------------------------------------------------- Merge pull request #21806 from hrydgard/more-texture-refactor TextureCache: Refactor the texcache struct a bit, for easier changes and smaller size, --------------------------------------------------------------------------------------- touchhle.mk d20c3c5ee44c1211b6e6d4c27bd3f84660210c76 # Version: Commits on Jun 01, 2026 --------------------------------------------------------------------------------------- Apply spore origins hack to critter crunch too Change-Id: I58d6957172a51fec8fe336d576e386d02b80a5e9, ------------------------------------------------- vice.mk r46133 # Version: Commits on Jun 09, 2026 ------------------------------------------------- null ------------------------------------------------------------------------------------- ikemen.mk c2fcd1dd6146225e1c32ee03dfeac037e4fd9e5d # Version: Commits on Jun 09, 2026 ------------------------------------------------------------------------------------- Merge pull request #3691 from Alceris/explodreflecting other: Fixed explod reflection and projreflection, --------------------------------------------------------------- ruffle.mk nightly-2026-06-09 # Version: Commits on Jun 09, 2026 --------------------------------------------------------------- ## What's Changed * avm2: Add a field to ops instead of adding separate integral variants by @Lord-McSweeney in ruffle-rs/ruffle#23923 * chore: Bump the npm-minor group in /web with 6 updates by @dependabot[bot] in ruffle-rs/ruffle#23925 **Full Changelog**: ruffle-rs/ruffle@nightly-2026-06-07...nightly-2026-06-09, --------------------------------------------------------------------------------------- thextech.mk 47a4c24541857bb56aef93a3a19cf5e432bed03c # Version: Commits on Jun 09, 2026 --------------------------------------------------------------------------------------- Updated submodules, ----------------------------------------------------------------------------------------- rpi-eeprom.mk 8cf437f4c2c3f1fd7d950fe02f19c5a209d4ff1b # Version: Commits on Jun 09, 2026 ----------------------------------------------------------------------------------------- recovery: 2712: Restore 2026-05-26 version Recovery.bin was accidentally reverted to 2026-05-011 when tidying up old bootloader versions., -------------------------------------------------------------------------------------------- dmd-simulator.mk d8f2e29693e2f9d3d048bf8fd6b241e58d115fa0 # Version: Commits on Jun 09, 2026 -------------------------------------------------------------------------------------------- fix endianness for simulator Signed-off-by: Nicolas Adenis-Lamarre <[email protected]>, ------------------------------------------------------------------------------------------ devilutionx.mk 81fe5ff8524ab016dd73e75cb7d8c2f2846c44dc # Version: Commits on Jun 09, 2026 ------------------------------------------------------------------------------------------ Fix Xbox One UWP build actions/runner-images#14101, ------------------------------------------------------------------------------------------ dxx-rebirth.mk f72bf616117a8402855ad9b2fa06ec393e2f4237 # Version: Commits on Jun 09, 2026 ------------------------------------------------------------------------------------------ GitHub Actions: use `workflow_ref` in concurrency limiter The concurrency governor is only present as a safety. GitHub documentation states that `github.workflow` is: ``` The name of the workflow. If the workflow file doesn't specify a name, the value of this property is the full path of the workflow file in the repository. ``` However, this does not seem to be what happens. The prior version gave all workflows the placeholder `${{ github.workflow }}-${{ github.ref }}`, which should have given each of the four workflows a unique group, since they all have unique names. In practice, this seems to have placed all the workflows in the same group, causing the workflows to cancel each other. Switch to `github.workflow_ref`, which is documented as: ``` The ref path to the workflow. For example, octocat/hello-world/.github/workflows/my-workflow.yml@refs/heads/my_branch. ``` Explicitly including `github.ref` after this may be redundant, but since the governor is only intended to prevent duplicate runs within a single branch, it is unlikely to cause problems., ------------------------------------------------------------------------------------------ fallout2-ce.mk 261b54c603e99e4dc67eb57cf0b87b163b869f05 # Version: Commits on Jun 09, 2026 ------------------------------------------------------------------------------------------ Implement `unwield_slot` (#488) * Implement `unwield_slot` This one was surprisingly subtle. Supports many game modes and handles things differently depending on game mode., -------------------------------------------------------------------------------------- omf2097.mk eb541b531da49df409bc40f343371ba933b30fb6 # Version: Commits on Jun 07, 2026 -------------------------------------------------------------------------------------- github: Build an AppImage in Ubuntu build action, ---------------------------------------------------------------------------------------- retroarch.mk 6df53a209317293eebce27de1175116b3d8aa3db # Version: Commits on Jun 09, 2026 ---------------------------------------------------------------------------------------- Fetch translations from Crowdin, ------------------------------------------------------------------------------------------ openbor7530.mk cb61be991aecdb44d0a062e73590e81e3e27ce99 # Version: Commits on Jun 09, 2026 ------------------------------------------------------------------------------------------ scriptlib: fix unsigned 64-bit integer literal parsing Positive decimal literals above INT64_MAX now materialize as VT_UINTEGER64 instead of silently falling back to zero. This fixes direct use of script literals up to UINT64_MAX and keeps literal behavior consistent with generated 64-bit integer math results. Invalid integer constants still fall back to zero, but now print an alert to the log. Fix missing <limits.h> include in ScriptVariantInteger.c., --------------------------------------------------------------------------------------- vpinball.mk e96a43db260945a6a60f284b82d3eeaa3e53680d # Version: Commits on Jun 03, 2026 --------------------------------------------------------------------------------------- table: drop obsolete pre-10.8 table-embedded user settings Pre-10.8 tables can embed user settings (anti-aliasing UAAL, FXAA UFXA, synchronization AVSY, detail level ARAC/OGAC, day/night OGDN) in the .vpx. When no user ini exists these were imported and silently overrode the global configuration, making a single table render or perform unexpectedly with no clear way to tell why (see #2133, #1004). Drop the import for these: the fields are still read past for file format compatibility but no longer applied. ARAC and OGAC are the detail-level value and its override flag, so they are dropped as a pair. Ball trail (BTRA/BTST) is left importing as-is; it needs a proper redesign (table declares trail use, plus a user force on/off/strength override for accessibility) rather than a plain drop., ---------------------------------------------------------------------------------------- doomretro.mk 77c79e3b0dbf65f9d7cd7759781899d467054f04 # Version: Commits on Jun 09, 2026 ---------------------------------------------------------------------------------------- Fix previous commit, -------------------------------------------------------------------------------------- yquake2.mk 6bb42ef7b7c89d672c3fd65eef086b493dd40688 # Version: Commits on Jun 08, 2026 -------------------------------------------------------------------------------------- game: initial placeholder for TryLandmarkSpawn Based on: * https://github.com/id-Software/quake2-rerelease-dll Related to: * yquake2/yquake2remaster#69, ------------------------------------------------------------------------------------------ xash3d-fwgs.mk b2a5f0db5a2f4a38106f60532659df7e615026de # Version: Commits on Jun 09, 2026 ------------------------------------------------------------------------------------------ engine: masterlist: fix addmaster command not allowing third optional argument, ------------------------------------------------------------------------------------------------ libretro-bsnes-jg.mk aedc27e367b65f002afb5098684f39eb6124079c # Version: Commits on Jun 09, 2026 ------------------------------------------------------------------------------------------------ Merge branch 'master' into libretro, --------------------------------------------------------------------------------------------- libretro-fbneo.mk 64d323a18701326552b34b3ccbe7801a1f33c8a3 # Version: Commits on Jun 09, 2026 --------------------------------------------------------------------------------------------- Merge branch 'finalburnneo-master', ---------------------------------------------------------------------------------------------- libretro-hatari.mk 0b38ea2da918ee1712aabbd003b34aa4e8e9752d # Version: Commits on Jun 09, 2026 ---------------------------------------------------------------------------------------------- Merge pull request #116 from metallic77/commit add highres/lowres switch, fix large font virtual kb, --------------------------------------------------------------------------------------------- libretro-opera.mk 5e36d4a9fbb2afbb8de2313b8e2bf83998ec2341 # Version: Commits on Jun 09, 2026 --------------------------------------------------------------------------------------------- Narrow the new C&B hack Caused problems booting BIOS and certain titles., ---------------------------------------------------------------------------------------------------- libretro-parallel-n64.mk e5cecbb9e844679a4635615110763321ddf7809a # Version: Commits on Jun 09, 2026 ---------------------------------------------------------------------------------------------------- angrylion HLE: read vertex Z from the correct halfword offset The F3DEX2 vertex transform read the model-space Z coordinate from byte offset +6 of the vertex record, which under this reader's swapped-halfword convention lands on the u16 flag field (effectively zero), not Z. With Z forced to zero every vertex was flattened onto the projection's Z=0 plane, so depth-tilted quads (e.g. the OoT pause/equipment menu panels and the Hyrule Field horizon) collapsed opposite corners onto the same screen point. The RSP triangle setup then saw a zero-area triangle and the patch-32 degenerate reject dropped exactly half of every quad's two triangles. Read Z from offset +4 (read_s16_be applies the in-word ^2 swap, placing the true s16 Z there and the flag at +6, verified against the raw vertex record). On the equipment-menu savestate this restores the SH_TEXTURE_Z_BUFFER_TRIANGLE count from 24 to 48, matching the cxd4 LLE oracle, and on Hyrule Field it roughly halves the whole-frame divergence from cxd4. Judged against the cxd4-rendered frame, not coefficient fits., ---------------------------------------------------------------------------------------------- libretro-ppsspp.mk 9489a7176a31528232173713090f4930137d4507 # Version: Commits on Jun 09, 2026 ---------------------------------------------------------------------------------------------- Merge pull request #21806 from hrydgard/more-texture-refactor TextureCache: Refactor the texcache struct a bit, for easier changes and smaller size, ---------------------------------------------------------------------------------------------- libretro-prboom.mk 5b613e1c71f7e32a54de9a13047754955975d9f0 # Version: Commits on Jun 09, 2026 ---------------------------------------------------------------------------------------------- Revert \u_decorate: follow #include directives in DECORATE lumps\ This reverts commit 7619628f3cc7050e166058d0e8ba5a65b56705db., --------------------------------------------------------------------------------------------------- libretro-snes9x-next.mk 3ce2877722a4fc2a4ccc9d49bc0af0c22221a1f2 # Version: Commits on Jun 09, 2026 --------------------------------------------------------------------------------------------------- tile: SSE2/NEON DrawTile16_*_Normal1x1 color-math variants Extend the SIMD row-kernel pattern from the previous NOMATH patch to cover all six color-math variants of DrawTile16_*_Normal1x1: DrawTile16Add_Normal1x1 REGMATH ADD DrawTile16AddF1_2_Normal1x1 MATHF1_2 ADD DrawTile16AddS1_2_Normal1x1 MATHS1_2 ADD DrawTile16Sub_Normal1x1 REGMATH SUB DrawTile16SubF1_2_Normal1x1 MATHF1_2 SUB DrawTile16SubS1_2_Normal1x1 MATHS1_2 SUB Each gains a #if defined(TILE_HAVE_SSE2) || defined(TILE_HAVE_NEON) branch with a unified SIMD loop calling a per-variant inline row helper, with the four original flip-case scalar branches preserved verbatim as the #else fallback. The helpers share a common pre-step (load 8 pix indices, optional hflip reverse, build pix-nonzero & Z-test mask, scalar palette gather into aligned col_buf) and post-step (DB and S masked stores) via the TILE_ROW_PRE_/STORE_SSE2/NEON macros. Only the per-variant math step varies, and that step is built from the color-math primitives already in tile.c from the backdrop SIMD work: tile_color_{add,sub,add_half,sub_half}_sse2 / _neon tile_select_sub_or_fixed_sse2 / _neon REGMATH variants apply per-pixel SD-mask selection between Sub and Fixed, then a single Op(colors, operand). MATHF1_2 variants are row-constant: ClipColors decides Op vs Op_half once per call, then a single Op(colors, vFixed). MATHS1_2 variants have two clip sub-cases: clip path is REGMATH; the non-clip path computes both Op_half(colors, vSub) and Op(colors, vFixed) and selects between them per-pixel via the SD&0x20 mask (same shape as the backdrop AddS1_2 / SubS1_2 functions). Verified bit-exact on the regression corpus (90-frame hashes for SMW, DKC2, Chrono Trigger, FF6, Pilotwings, Oshaberi Parodius, Killer Instinct, plus Pilotwings HD Mode 7 2x smooth - all 8 match baseline). Speed deltas (600-frame harness, cumulative since the pre-DrawTile16 NEON-patches tip): SMW 1576 -> 1825 fps +15.8% DKC2 1491 -> 1683 fps +12.9% Chrono 1450 -> 1627 fps +12.2% Killer Inst 1765 -> 1980 fps +12.2% FF6 1662 -> 1795 fps +8.0% Pilotwings 1451 -> 1559 fps +7.4% Parodius 1073 -> 1108 fps +3.3% DKC2 sees a notable jump from this patch alone (+9.4% added on top of the NOMATH path) because its water-reflection HDMA color math keeps the per-pixel REGMATH ADD path hot. Build clean under: linux x86_64 GCC -Wall -Wextra, MinGW x86_64 cross-build, arm-linux-gnueabihf -mfpu=neon -mfloat-abi=hard, aarch64-linux-gnu (zero warnings on all four)., --------------------------------------------------------------------------------------------- libretro-vba-m.mk 1bc817e16959b5cade42b1398ee0ff7582b5c402 # Version: Commits on Jun 09, 2026 --------------------------------------------------------------------------------------------- doc: update DEVELOPER-MANUAL.md Bring `DEVELOPER-MANUAL.md` up to date. Signed-off-by: Rafael Kitover <[email protected]>, -------------------------------------------------------------------------------------------- yquake2-rogue.mk d69bb52469bb2cf9057021fcf820f8feb3ee837b # Version: Commits on Jun 09, 2026 -------------------------------------------------------------------------------------------- Merge pull request #146 from BjossiAlfreds/less-errors game: Improved robustness and a bit of refactoring in physics code, --------------------------------------------------------------------------------------------- yquake2-xatrix.mk e0b71ac33027da96f61a75c9fb851b938be36bf1 # Version: Commits on Jun 09, 2026 --------------------------------------------------------------------------------------------- Merge pull request #119 from BjossiAlfreds/less-errors game: Improved robustness and a bit of refactoring in physics code, -------------------------------------------------------------------------------------------- yquake2-zaero.mk 5508e5e1234fdf284a26d9554a87035dcf2ce05e # Version: Commits on Jun 09, 2026 -------------------------------------------------------------------------------------------- Merge pull request #69 from BjossiAlfreds/less-errors game: Improved robustness and a bit of refactoring in physics code,
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
GS/DX11: Reuse frame buffer optimizations for uav/rov.
This significantly reduces the number of state changes.
GS/DX11: Fallback to regular OMSetRenderTargets if no uav are active.
Using OMSetRenderTargets should be faster than OMSetRenderTargetsAndUnorderedAccessViews if both the current state and pending state for uavs is null.
Rationale behind Changes
Optimizations.
Suggested Testing Steps
Test rov on dx11, haven't ran a dump run yet.
Edit: Dump run clear, most are single, double digit Render pass decreases, there are some outliers in triple digits and show a few fps improvement.
Did you use AI to help find, test, or implement this issue or feature?
No.