shadPS4/src/shader_recompiler
TheTurtle 1f9ac53c28
Some checks are pending
Build and Release / reuse (push) Waiting to run
Build and Release / clang-format (push) Waiting to run
Build and Release / get-info (push) Waiting to run
Build and Release / windows-sdl (push) Blocked by required conditions
Build and Release / windows-qt (push) Blocked by required conditions
Build and Release / macos-sdl (push) Blocked by required conditions
Build and Release / macos-qt (push) Blocked by required conditions
Build and Release / linux-sdl (push) Blocked by required conditions
Build and Release / linux-qt (push) Blocked by required conditions
Build and Release / linux-sdl-gcc (push) Blocked by required conditions
Build and Release / linux-qt-gcc (push) Blocked by required conditions
Build and Release / pre-release (push) Blocked by required conditions
shader_recompiler: Improve divergence handling and readlane elimintation (#2667)
* control_flow_graph: Improve divergence handling

* recompiler: Simplify optimization passes

Removes a redudant constant propagation and cleans up the passes a little

* ir_passes: Add new readlane elimination pass

The algorithm has grown complex enough where it deserves its own pass. The old implementation could only handle a single phi level properly,
however this one should be able to eliminate vast majority of lane cases remaining. It first performs a traversal of the phi tree to ensure
that all phi sources can be rewritten into an expected value and then performs elimintation by recursively duplicating the phi nodes at each step,
in order to preserve control flow.

* clang format

* control_flow_graph: Remove debug code
2025-03-23 00:35:42 +02:00
..
backend emit_spirv: Fix comparison type (#2658) 2025-03-19 23:20:00 +02:00
frontend shader_recompiler: Improve divergence handling and readlane elimintation (#2667) 2025-03-23 00:35:42 +02:00
ir shader_recompiler: Improve divergence handling and readlane elimintation (#2667) 2025-03-23 00:35:42 +02:00
exception.h video: Import new shader recompiler + display a triangle (#142) 2024-05-22 01:35:12 +03:00
info.h shader_recompiler: Implement AMD buffer bounds checking behavior. (#2448) 2025-02-17 16:13:39 +02:00
params.h shader_recompiler: Implement render target swizzles when no format is available (#739) 2024-09-03 14:04:30 +03:00
profile.h video_core: Various small improvements and bug fixes (#2525) 2025-02-24 14:31:12 +02:00
recompiler.cpp shader_recompiler: Improve divergence handling and readlane elimintation (#2667) 2025-03-23 00:35:42 +02:00
recompiler.h Tessellation (#1528) 2024-12-14 12:56:17 +02:00
runtime_info.h shader_recompiler: Remove special case buffers and add support for aliasing (#2428) 2025-02-15 14:06:56 +02:00
specialization.h Specialize vertex attributes on dst_sel (#2580) 2025-03-02 19:17:11 -08:00