aboutsummaryrefslogtreecommitdiff
path: root/src/shader_recompiler/ir_opt/identity_removal_pass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [vk, ogl/IR, dynarmic/IR] friendlier IR identity pointer chasing, inline AA ↵lizzie2026-01-201-13/+19
| | | | | | | | | | | | | | passes (#3250) Only merge once we find out wth is causing the crashes [we know it's fsr] This reverts commit 82f9d489e7916318b56dac59fc52efc46fe0df7e. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3250 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* Revert "[vk, ogl/IR, dynarmic/IR] friendlier IR identity pointer chasing, ↵lizzie2026-01-011-19/+13
| | | | | | | | | | | | | | inline AA passes (#2565)" (#3249) FUCK. Fixes crash on Linux and SteamDeck . This reverts commit 46b32b76886b5cd0cfc8dfee1a02c3e83fb1e7d7. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3249 Reviewed-by: DraVee <dravee@eden-emu.dev> Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* [vk, ogl/IR, dynarmic/IR] friendlier IR identity pointer chasing, inline AA ↵lizzie2025-12-311-13/+19
| | | | | | | | | | | | | | | | passes (#2565) - use std::optional instead of std::unique_ptr for the Antialias (FXAA, etc) passes to avoid the extra deref - use a pattern for deferencing the IR pointer chasing loop as suggested on the intel optimization manual - this also removes std::vector<> overhead by using boost::container::small_vector<> (not a silver bullet but in the case of this function reduces access times) Signed-off-by: lizzie <lizzie@eden-emu.dev> Co-authored-by: Caio Oliveira <caiooliveirafarias0@gmail.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2565 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* glasm: Rework control flow introducing a syntax listReinUsesLisp2021-07-221-1/+0
| | | | | This commit regresses VertexA shaders, their transformation pass has to be adapted to the new control flow.
* shader: Move microinstruction header to the value headerReinUsesLisp2021-07-221-1/+1
|
* shader_recompiler,video_core: Cleanup some GCC and Clang errorslat9nq2021-07-221-1/+2
| | | | | | | | | | | | | | | | | Mostly fixing unused *, implicit conversion, braced scalar init, fpermissive, and some others. Some Clang errors likely remain in video_core, and std::ranges is still a pertinent issue in shader_recompiler shader_recompiler: cmake: Force bracket depth to 1024 on Clang Increases the maximum fold expression depth thread_worker: Include condition_variable Don't use list initializers in control flow Co-authored-by: ReinUsesLisp <reinuseslisp@airmail.cc>
* shader: Implement CAL inlining function callsReinUsesLisp2021-07-221-2/+2
|
* spirv: Initial SPIR-V supportReinUsesLisp2021-07-221-1/+1
|
* shader: Constant propagation and global memory to storage bufferReinUsesLisp2021-07-221-13/+15
|
* shader: SSA and dominanceReinUsesLisp2021-07-221-1/+0
|
* shader: Initial recompiler workReinUsesLisp2021-07-221-0/+37