Feng Chen
bcf6a7c0dd
video_core: Fix SNORM texture buffer emulating error ( #9001 )
3 years ago
Feng Chen
33514a0d94
Revert "shader_recompiler/dead_code_elimination: Add DeadBranchElimination pass"
3 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
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.
4 years ago
ameerj
6091af472a
dead_code_elimination_pass: Remove unreachable Phi arguments
4 years ago
ReinUsesLisp
50d20bf0e9
shader: Add copy constructor to instructions
4 years ago
Fernando Sahmkow
c9bee9e96e
ShaderCache: Order Phi Arguments from farthest away to nearest.
4 years ago
Lioncash
05201f4f88
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
222a6542ab
shader: Add TryInstRecursive utility to values
4 years ago
ReinUsesLisp
0ca75be20a
Revert "glasm: Skip phi moves on undefined instructions"
Causes regressions on Bowser's Fury.
5 years ago
ReinUsesLisp
459e3b17e6
glasm: Skip phi moves on undefined instructions
5 years ago
ReinUsesLisp
f2ae32fa76
glasm: Initial implementation of phi nodes on GLASM
5 years ago
ReinUsesLisp
03f6d424ce
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.
5 years ago
ReinUsesLisp
6c0a696179
glasm: Implement basic GLASM instructions
5 years ago
ReinUsesLisp
d9b9c10f32
glasm: Add GLASM backend infrastructure
5 years ago
ReinUsesLisp
16a869571e
shader: Inline common Value getters
5 years ago
ReinUsesLisp
1a44a5cafa
shader: Use memset to reset instruction arguments
5 years ago
ReinUsesLisp
9edc2bd70f
shader: Inline common Value functions into the header
5 years ago
ReinUsesLisp
6236b611cf
shader: Move microinstruction header to the value header
5 years ago
ReinUsesLisp
38908d0f7e
shader: Implement tessellation shaders, polygon mode and invocation id
5 years ago
lat9nq
a4e7a41e7f
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>
5 years ago
ReinUsesLisp
4cd2c1588b
shader: Refactor PTP and other minor changes
5 years ago
FernandoS27
f573d3642e
shader: Implement TLD4.PTP
5 years ago
ameerj
832f1169d6
shader: Implement DADD
5 years ago
ReinUsesLisp
a956d3cdb3
shader: Initial support for textures and TEX
5 years ago
ReinUsesLisp
d0459ab2c2
shader: Fix control flow
5 years ago
ReinUsesLisp
073f346f8c
shader: Add utility to resolve identities on a value
5 years ago
ReinUsesLisp
f5b3324bca
shader: Make typed IR
5 years ago
ReinUsesLisp
37fc39de17
shader: Constant propagation and global memory to storage buffer
5 years ago
ReinUsesLisp
1b576ed4cb
shader: SSA and dominance
5 years ago
ReinUsesLisp
e6892e9da6
shader: Initial recompiler work
5 years ago