Commit Graph

27 Commits (71313509f75aeafe425e531824d1faa9e7c0a40b)

Author SHA1 Message Date
ReinUsesLisp c892359d1b shader: Add copy constructor to instructions 4 years ago
Fernando Sahmkow c50ad56bf5 ShaderCache: Order Phi Arguments from farthest away to nearest. 4 years ago
bunnei a98f14e9b0
Merge pull request #6722 from ReinUsesLisp/xmad-opts
shader: Fold integer FMA from Nvidia's pattern
4 years ago
Lioncash 06ca911621 shader_recompiler: Remove unnecessary [[nodiscard]] instances
[[nodiscard]] doesn't do anything on functions with a void return type
and causes superfluous warnings.
4 years ago
ReinUsesLisp f6f0383b49 shader: Add TryInstRecursive utility to values 4 years ago
ReinUsesLisp 8f3043c3cf Revert "glasm: Skip phi moves on undefined instructions"
Causes regressions on Bowser's Fury.
4 years ago
ReinUsesLisp 586c785366 glasm: Skip phi moves on undefined instructions 4 years ago
ReinUsesLisp bf5e48ffe4 glasm: Initial implementation of phi nodes on GLASM 4 years ago
ReinUsesLisp d54d7de40e glasm: Rework control flow introducing a syntax list
This commit regresses VertexA shaders, their transformation pass has to
be adapted to the new control flow.
4 years ago
ReinUsesLisp 6fd190d1ae glasm: Implement basic GLASM instructions 4 years ago
ReinUsesLisp b10cf64c48 glasm: Add GLASM backend infrastructure 4 years ago
ReinUsesLisp 75dee55486 shader: Inline common Value getters 4 years ago
ReinUsesLisp f66851e376 shader: Use memset to reset instruction arguments 4 years ago
ReinUsesLisp c84bbd9e44 shader: Inline common Value functions into the header 4 years ago
ReinUsesLisp 050e81500c shader: Move microinstruction header to the value header 4 years ago
ReinUsesLisp 183855e396 shader: Implement tessellation shaders, polygon mode and invocation id 4 years ago
lat9nq 0bb85f6a75 shader_recompiler,video_core: Cleanup some GCC and Clang errors
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>
4 years ago
ReinUsesLisp d9c5bd9509 shader: Refactor PTP and other minor changes 4 years ago
FernandoS27 742d11c2ad shader: Implement TLD4.PTP 4 years ago
ameerj 72990df7ba shader: Implement DADD 4 years ago
ReinUsesLisp ab46371247 shader: Initial support for textures and TEX 4 years ago
ReinUsesLisp e87a502da2 shader: Fix control flow 4 years ago
ReinUsesLisp 3633e43377 shader: Add utility to resolve identities on a value 4 years ago
ReinUsesLisp be94ee88d2 shader: Make typed IR 4 years ago
ReinUsesLisp e81739493a shader: Constant propagation and global memory to storage buffer 4 years ago
ReinUsesLisp 6c4cc0cd06 shader: SSA and dominance 4 years ago
ReinUsesLisp 2d48a7b4d0 shader: Initial recompiler work 4 years ago