Lioncash
02106208f8
shader_bytecode: Lay out the Ipa-related enums better
This is more consistent with the surrounding enums.
7 years ago
Lioncash
d8cbbfb8ea
shader_bytecode: Make operator== and operator!= of IpaMode const qualified
These don't affect the state of the struct and can be const member
functions.
7 years ago
FernandoS27
5a00f0ec41
Implemented I2I.CC on the NEU control code, used by SMO
7 years ago
FernandoS27
81fd967a27
Implemented CSETP
7 years ago
FernandoS27
9cdcf964b5
Implemented Control Codes
7 years ago
FernandoS27
dc2a597dc8
Added texture misc modes to texture instructions
7 years ago
Subv
415fd53a49
Shaders: Implemented multiple-word loads and stores to and from attribute memory.
This seems to be an optimization performed by nouveau.
7 years ago
fearlessTobi
1190ea6ddb
Port #4182 from Citra: "Prefix all size_t with std::"
7 years ago
FernandoS27
aa5c2354eb
Implemented Texture Processing Modes
7 years ago
FernandoS27
a6294ad653
Implemented encodings for LEA and PSET
7 years ago
FernandoS27
e54854dfb7
Implemented TMML
7 years ago
FernandoS27
6dd5b33570
Implemented TXQ dimension query type, used by SMO.
7 years ago
FernandoS27
0611ac673f
Change name of TEXQ to TXQ, in order to match NVIDIA's naming
7 years ago
FernandoS27
758dd86de9
Implemented IPA Properly
7 years ago
David Marcec
a8c27cb703
Removed saturate assert
Unneeded as we already implement it
7 years ago
David Marcec
70692108c0
Removed saturate assert
Saturate already implemented
7 years ago
David Marcec
9a841e0f5c
Added FMUL asserts
7 years ago
David Marcec
d7f1baf47e
Added FFMA asserts
7 years ago
David Marcec
e01efcd8ef
Added assert for TEXS nodep
7 years ago
David Marcec
3483657ed7
Added better asserts to IPA, Renamed IPA modes to match mesa
IpaMode is changed to IpaInterpMode
IpaMode is suppose to be 2 bits not 3
Added IpaSampleMode
Added Saturate
Renamed modes based on
d27c791891/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp (L2530)
7 years ago
Hexagon12
7afccb51a2
Added predicate comparison GreaterEqualWithNan
7 years ago
Laku
a7f046e97f
gl_shader_decompiler: Implement POPC ( #1203 )
* Implement POPC
* implement invert
7 years ago
tech4me
6df9c631c2
Shaders: Implemented IADD3
7 years ago
bunnei
cda7c87ade
gl_shader_decompiler: Improve IPA for Pass mode with Position attribute.
7 years ago
Laku
afc673ec9d
fix SEL_IMM bitstring
7 years ago
tech4me
1204fbbc16
Shaders: Added decodings for IADD3 instructions
7 years ago
Laku
5a8c2eff39
implement lop3
7 years ago
Lioncash
309df18cdb
shader_bytecode: Parenthesize conditional expression within GetTextureType()
Resolves a -Wlogical-op-parentheses warning.
7 years ago
bunnei
f0e1387103
shader_bytecode: Replace some UNIMPLEMENTED logs.
7 years ago
Subv
67da7c7ab8
Shaders/TEXS: Fixed the component mask in the TEXS instruction.
Previously we could end up with a TEXS that didn't write any outputs, this was wrong.
7 years ago
Subv
8b1711cdd5
Shader: Added bitfields for the texture type of the various sampling instructions.
7 years ago
Subv
906f9fb7bf
Shaders: Added decodings for TLD4 and TLD4S
7 years ago
Subv
d580b54809
Shaders: Added decodings for the LDG and STG instructions.
7 years ago
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
Subv
a175f7ba29
Shaders: Corrected the 'abs' and 'neg' bit usage in the float arithmetic instructions.
We should definitely audit our shader generator for more errors like this.
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