ReinUsesLisp
5c6dc51c69
shader: Read branch conditions from an instruction
Fixes the identity removal pass.
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
ameerj
455872a4af
shader: Implement Int32 SUATOM/SURED
5 years ago
FernandoS27
a2fac91c47
shader: Implement VertexA stage
5 years ago
ReinUsesLisp
12d7acf707
shader: Add missing UndoUse case for GetSparseFromOp
5 years ago
ReinUsesLisp
172942911a
shader: Fix gcc warnings
5 years ago
ReinUsesLisp
1a44a5cafa
shader: Use memset to reset instruction arguments
5 years ago
ReinUsesLisp
6236b611cf
shader: Move microinstruction header to the value header
5 years ago
ReinUsesLisp
3a39124359
shader: Inline common Opcode and Inst functions
5 years ago
ReinUsesLisp
99e6cd3916
shader: Fix Phi node types
5 years ago
ReinUsesLisp
6d540c6f2e
shader: Fix memory barriers
5 years ago
ReinUsesLisp
ad1507b4a5
shader: Implement SampleMask
5 years ago
ReinUsesLisp
38908d0f7e
shader: Implement tessellation shaders, polygon mode and invocation id
5 years ago
ReinUsesLisp
40948b18ac
shader: Implement OUT
5 years ago
ameerj
62c3bef607
shader: Implement ATOM/S and RED
5 years ago
ReinUsesLisp
a26f760eba
shader: Mark ImageWrite with side effects
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
b580c1e208
shader: Implement BAR and fix memory barriers
5 years ago
ReinUsesLisp
2c78d07197
shader: Store type of phi nodes in flags
This is needed because pseudo-instructions where invalidated.
5 years ago
FernandoS27
bf9d512e17
shader: Implement BRX
5 years ago
ReinUsesLisp
6044946495
shader: Implement LDS, STS, LDL, and STS and use SPIR-V 1.4 when available
5 years ago
ameerj
483439a540
shader: Implement SHFL
5 years ago
ReinUsesLisp
24bc872af3
shader: Implement NDC [-1, 1], attribute types and default varying initialization
5 years ago
ReinUsesLisp
33090a74dd
shader: Add partial rasterizer integration
5 years ago
ReinUsesLisp
609b8da584
shader: Fix instruction transitions in and out of Phi
5 years ago
ReinUsesLisp
a956d3cdb3
shader: Initial support for textures and TEX
5 years ago
ReinUsesLisp
a2fe90fa60
spirv: Add lower fp16 to fp32 pass
5 years ago
ReinUsesLisp
60342eb0c0
shader: Add support for forward declarations
5 years ago
ReinUsesLisp
76a3a2510f
shader: Misc fixes
5 years ago
ReinUsesLisp
c4d75e4b78
shader: Initial implementation of an AST
5 years ago
ReinUsesLisp
0dcc0d5f8a
shader: Properly store phi on Inst
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