3822e31323
CMakeLists: Disable C4100 and C4324
...
Disabling C4100 is similar to -Wno-unused-parameter
2022-10-22 15:02:04 -04:00
99ceb03a1c
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.
2022-04-23 05:55:32 -04:00
f32b2bcd20
shader_recompiler: Adjust emit_context includes
2021-12-05 18:11:19 -05:00
808ef97a08
shader: Move loop safety tests to code emission
2021-07-22 21:51:39 -04:00
6c6a451d6a
glsl: Add LoopSafety instructions
2021-07-22 21:51:38 -04:00
85399e119d
glsl: Reorganize backend code, remove unneeded [[maybe_unused]]
2021-07-22 21:51:37 -04:00
e7c8f8911f
glsl: Implement SampleId and SetSampleMask
...
plus some minor refactoring of implementations
2021-07-22 21:51:37 -04:00
c542204113
glsl: Implement indexed attribute loads
2021-07-22 21:51:37 -04:00
465903468e
glsl: Implement barriers
2021-07-22 21:51:37 -04:00
421847cf1e
glsl: Implement image atomics and set layer
...
along with some more cleanup/oversight fixes
2021-07-22 21:51:37 -04:00
34fdb6471d
glsl: Cleanup and address feedback
2021-07-22 21:51:37 -04:00
8d8ce24f20
glsl: Implement Load/WriteGlobal
...
along with some other misc changes and fixes
2021-07-22 21:51:37 -04:00
8c684b3e23
glsl: Implement tessellation shaders
2021-07-22 21:51:37 -04:00
68d075d1e8
glsl: Fix atomic SSBO offsets
...
and implement misc getters
2021-07-22 21:51:37 -04:00
19247ba4fa
glsl: Implement geometry shaders
2021-07-22 21:51:37 -04:00
df53046d68
glsl: Use NotImplemented macro with function name output
2021-07-22 21:51:37 -04:00
9f3ffb996b
glsl: Rework var alloc to not assign unused results
2021-07-22 21:51:37 -04:00
1269a0cf8b
glsl: Rework variable allocator to allow for variable reuse
2021-07-22 21:51:37 -04:00
9ccbd74991
glsl: Fix ATOM and implement ATOMS
2021-07-22 21:51:37 -04:00
770b754afd
glsl: Implement VOTE
2021-07-22 21:51:36 -04:00
181a4ffdc4
glsl: Implement ST{LS}
2021-07-22 21:51:36 -04:00
7df0815117
glsl: Implement more instructions used by SMO
2021-07-22 21:51:36 -04:00
3047eb6688
glsl: Implement TXQ and other misc changes
2021-07-22 21:51:36 -04:00
c9a25855bc
shader_recompiler: GCC fixes
2021-07-22 21:51:36 -04:00
8ba814efb2
glsl: Better Storage access and wip warps
2021-07-22 21:51:36 -04:00
2a71333716
glsl: Fix bindings, add some CC ops
2021-07-22 21:51:36 -04:00
6674637853
glsl: remove unused headers
2021-07-22 21:51:36 -04:00
a752ec88d0
glsl: Implement derivatives and YDirection
...
plus some other misc additions/changed
2021-07-22 21:51:36 -04:00
ed14d31f66
glsl: Fix non-immediate buffer access
...
and many other misc implementations
2021-07-22 21:51:36 -04:00
d171083d53
glsl: textures wip
2021-07-22 21:51:36 -04:00
3d086e6130
glsl: Implement some attribute getters and setters
2021-07-22 21:51:36 -04:00
b95716e543
glsl: Update phi node management
2021-07-22 21:51:36 -04:00
e99d01ff53
glsl: implement phi nodes
2021-07-22 21:51:36 -04:00
3d9ecbe998
glsl: Wip storage atomic ops
2021-07-22 21:51:36 -04:00
65c6f73e43
glsl: More FP instructions/fixes
2021-07-22 21:51:36 -04:00
5e9095ef22
glsl: Add many FP32/64 instructions
2021-07-22 21:51:36 -04:00
0f40b0e61c
glsl: Implement a few Integer instructions
2021-07-22 21:51:36 -04:00
fb75d122a2
glsl: Use std::string_view for Emit function args.
2021-07-22 21:51:35 -04:00
115c162b9a
glsl: Pass IR::Inst& to Emit functions
2021-07-22 21:51:35 -04:00
e221baccdd
glsl: Reusable typed variables. IADD32
2021-07-22 21:51:35 -04:00
64337f004d
glsl: Fix "reg" allocing
...
based on glasm with some tweaks
2021-07-22 21:51:35 -04:00
eaff1030de
glsl: Initial backend
2021-07-22 21:51:35 -04:00