Subv
67e993fdd3
Shaders: Implemented the gl_FrontFacing input attribute (attr 63).
7 years ago
Subv
70e99baabe
Shader: Implemented the predicate and mode arguments of LOP.
The mode can be used to set the predicate to true depending on the result of the logic operation. In some cases, this means discarding the result (writing it to register 0xFF (Zero)).
This is used by Super Mario Odyssey.
7 years ago
David Marcec
ab3b9d7aa5
Added predcondition GreaterThanWithNan
7 years ago
bunnei
03ac254de6
gl_shader_decompiler: Implement XMAD instruction.
7 years ago
bunnei
5fd0744a63
gl_shader_decompiler: Improve handling of unknown input/output attributes.
7 years ago
Subv
5d543d88b9
GPU/Shader: Don't predicate instructions that don't have a predicate field (SSY).
7 years ago
Lioncash
b206ee3957
video_core: Use variable template variants of type_traits interfaces where applicable
7 years ago
bunnei
37e2165d82
gl_shader_decompiler: Stub input attribute Unknown_63.
7 years ago
bunnei
3ee2d948a2
gl_shader_decompiler: Let OpenGL interpret floats.
- Accuracy is lost in translation to string, e.g. with NaN.
- Needed for Super Mario Odyssey.
7 years ago
bunnei
392383692c
shader_bytecode: Implement other TEXS masks.
8 years ago
bunnei
3a6bad38b6
gl_shader_decompiler: Implement SEL instruction.
8 years ago
Lioncash
bdfd46e192
video_core: Use nested namespaces where applicable
Compresses a few namespace specifiers to be more compact.
8 years ago
bunnei
50e6ef98e2
gl_shader_decompiler: Implement PredCondition::LessThanWithNan.
8 years ago
bunnei
fef7eb92de
gl_shader_decompiler: Use FlowCondition field in EXIT instruction.
8 years ago
Subv
555dd2f793
GPU: Implement the FADD32I shader instruction.
8 years ago
Subv
d87962405b
GPU: Corrected the decoding of FFMA for immediate operands.
8 years ago
Subv
cc56ecc097
GPU: Implemented the IMNMX shader instruction.
It's similar to the FMNMX instruction but it works on integers.
8 years ago
Subv
56a5e7ba50
GPU: Stub the shader SYNC and DEPBAR instructions.
It is unknown at this moment if we actually need to do something with these instructions or if the GLSL compiler takes care of that for us.
8 years ago
Subv
673600656c
GPU: Corrected the decoding for the TEX shader instruction.
8 years ago
Subv
9ba997d4f0
GPU: Implemented the PSETP shader instruction.
It's similar to the isetp and fsetp instructions but it works on predicates instead.
8 years ago
Subv
6880dd7352
GPU: Implemented MUFU suboperation 8, sqrt.
8 years ago
Subv
b9e6f48dbb
GPU: Corrected the size of the MUFU subop field, and removed incorrect "min" operation.
8 years ago
bunnei
4406d9b84c
gl_shader_decompiler: Implement predicate NotEqualWithNan.
8 years ago
Subv
cb4ff57322
Build: Fixed some MSVC warnings in various parts of the code.
8 years ago
Subv
cd61616ddb
GPU: Don't mark uniform buffers and registers as used for instructions which don't have them.
Like the MOV32I and FMUL32I instructions.
This fixes a potential crash when using these instructions.
8 years ago
bunnei
a72b4c358d
gl_shader_decompiler: Implement LOP instructions.
8 years ago
bunnei
b071232a75
gl_shader_decompiler: Refactor LOP32I instruction a bit in support of LOP.
8 years ago
bunnei
dc1808fa4a
gl_shader_decompiler: Implement integer size conversions for I2I/I2F/F2I.
8 years ago
Subv
1a0c6910ce
GPU: Implemented the iadd32i shader instruction.
8 years ago
bunnei
37110bbc02
gl_shader_decompiler: Implement saturate for float instructions.
8 years ago
Subv
297a99944e
GPU: Implement the iset family of shader instructions.
8 years ago
Subv
f387d11882
GPU: Added decodings for the ISET family of instructions.
8 years ago
bunnei
9c12d989c3
gl_shader_decompiler: Implement SHR instruction.
8 years ago
Subv
6d7be6fc08
GPU: Stub the SSY shader instruction.
This instruction tells the GPU where the flow reconverges in a non-uniform control flow scenario, we can ignore this when generating GLSL code.
8 years ago
bunnei
179623a99c
gl_shader_decompiler: Implement IADD instruction.
8 years ago
bunnei
54408c16a8
gl_shader_decompiler: Add missing asserts for saturate_a instructions.
8 years ago
bunnei
221a29f0fd
gl_shader_decompiler: Implement BFE_IMM instruction.
8 years ago
bunnei
1586ee87ae
gl_shader_decompiler: F2F: Implement rounding modes.
8 years ago
bunnei
8160467a6d
shader_bytecode: Add instruction decodings for BFE, IMNMX, and XMAD.
8 years ago
bunnei
8ff7558d0c
gl_shader_decompiler: Implement LD_C instruction.
8 years ago
bunnei
dbdf703c20
gl_shader_decompiler: Refactor uniform handling to allow different decodings.
8 years ago
Subv
18d020ae81
GPU: Corrected the branch targets for the shader bra instruction.
8 years ago
Subv
1476b79308
GPU: Implemented the F2I_R shader instruction.
8 years ago
bunnei
3ffb26b0a6
gl_shader_decompiler: Implement SHL instruction.
8 years ago
Subv
368be6ae32
GPU: Implement the ISCADD shader instructions.
8 years ago
Subv
4e153d2bd6
GPU: Added decodings for the ISCADD instructions.
8 years ago
Subv
3e3e3274c7
GPU: Use the bf bit in FSET to determine whether to write 0xFFFFFFFF or 1.0f.
8 years ago
Subv
7caec68586
GPU: Implemented the LOP32I instruction.
8 years ago
Subv
c330734536
GPU: Implemented the ISETP_R and ISETP_C shader instructions.
8 years ago
Subv
54a12f1b84
GPU: Partially implemented the shader BRA instruction.
8 years ago