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
Subv
d75c79b61a
GPU: Added decoding for the BRA instruction.
8 years ago
bunnei
94b620a89e
gl_shader_decompiler: Implement TEXS component mask.
8 years ago
bunnei
76da1f526a
gl_shader_decompiler: Implement RRO as a register move.
8 years ago
bunnei
20fa6379f6
gl_shader_decompiler: Implement TEX instruction.
8 years ago
bunnei
fc2f5b93c3
gl_shader_decompiler: Support multi-destination for TEXS.
8 years ago
Subv
455e14b8e3
Shaders: Implemented reading the gl_InstanceID and gl_VertexID variables in the vertex shader.
8 years ago
bunnei
ed61b578d9
gl_shader_decompiler: Partially implement F2F_R instruction.
8 years ago
bunnei
502fc1c4b3
shader_bytecode: Implement other variants of FMNMX.
8 years ago
Subv
12d6b53e60
Shaders: Implemented the FMNMX shader instruction.
8 years ago
Subv
062b1fb17c
ShadersDecompiler: Added decoding for the PSETP instruction.
8 years ago
bunnei
1bd065fb8e
shader_bytecode: Add decoding for FMNMX instruction.
8 years ago
bunnei
aaa3d91e7c
gl_shader_decompiler: Partially implement I2I_R, and I2F_R.
8 years ago
bunnei
8c6970d20d
shader_bytecode: Add decodings for i2i instructions.
8 years ago
bunnei
f252169fa6
gl_shader_decompiler: Implement MOV32_IMM instruction.
8 years ago
bunnei
8e661859a8
gl_shader_decompiler: Boilerplate for handling integer instructions.
8 years ago
Subv
1755d4bec3
Shaders: Added bit decodings for the I2I instruction.
8 years ago
Subv
74c89df1c8
Shaders: Added decodings for the FSET instructions.
8 years ago
bunnei
f66098bd37
shader_bytecode: Add several more instruction decodings.
8 years ago
bunnei
d2302ee79f
shader_bytecode: Decode instructions based on bit strings.
8 years ago
Subv
2fbb91a6b6
ShaderGen: Implemented predicated instruction execution.
Each predicated instruction will be wrapped in an `if (predicate) { instruction_body; }` in the GLSL, where `predicate` is one of the predicate boolean variables previously set by fsetp.
8 years ago
Subv
31de416fc0
ShaderGen: Implemented the fsetp instruction.
Predicate variables are now added to the generated shader code in the form of 'pX' where X is the predicate id.
These predicate variables are initialized to false on shader startup and are set via the fsetp instructions.
TODO:
* Not all the comparison types are implemented.
* Only the single-predicate version is implemented.
8 years ago
Subv
601c5d9d93
ShaderGen: Register id 255 is special and is hardcoded to return 0 (SR_ZERO).
8 years ago
Subv
4ca65f10b1
ShaderGen: Implemented the fmul32i shader instruction.
8 years ago
bunnei
797267eb58
shader_bytecode: Make ctor's constexpr and explicit.
8 years ago
bunnei
c1408040a6
gl_shader_decompiler: Implement FMUL/FADD/FFMA immediate instructions.
8 years ago
bunnei
05305422e1
gl_shader_decompiler: Add support for TEXS instruction.
8 years ago
bunnei
538322ec1f
shaders: Add NumTextureSamplers const, remove unused #pragma.
8 years ago
bunnei
f48c229f0e
shaders: Address PR review feedback.
8 years ago
bunnei
47bf0b0094
shaders: Fix GCC and clang build issues.
8 years ago
bunnei
d166a50ded
gl_shader_decompiler: Implement negate, abs, etc. and lots of cleanup.
8 years ago
bunnei
a859a70da1
shader_bytecode: Add FSETP and KIL to GetInfo.
8 years ago
bunnei
6fe96737a1
shader_bytecode: Add SubOp decoding.
8 years ago
bunnei
0b49a74e19
shader_bytecode: Add initial module for shader decoding.
8 years ago