Fernando Sahmkow
34b15b69df
Correct XMAD mode, psl and high_b on different encodings.
7 years ago
Lioncash
f596ce7887
video_core/engines: Remove unnecessary includes
Removes a few unnecessary dependencies on core-related machinery, such
as the core.h and memory.h, which reduces the amount of rebuilding
necessary if those files change.
This also uncovered some indirect dependencies within other source
files. This also fixes those.
7 years ago
ReinUsesLisp
3b01587ca4
shader/decode: Remove extras from MetaTexture
7 years ago
ReinUsesLisp
8a7efd22ec
shader/decode: Split memory and texture instructions decoding
7 years ago
Fernando Sahmkow
e29f546bb7
shader_decompiler: Improve Accuracy of Attribute Interpolation.
7 years ago
Fernando Sahmkow
0f8f14a732
Corrected F2I None mode to RoundEven.
7 years ago
Mat M
6506dbc577
Update src/video_core/engines/shader_bytecode.h
Co-Authored-By: FernandoS27 <fsahmkow27@gmail.com>
7 years ago
Fernando Sahmkow
4133c86d71
Fix TXQ not using the component mask.
7 years ago
ReinUsesLisp
5ae8a056fe
shader_bytecode: Rename BytesN enums to BitsN
7 years ago
ReinUsesLisp
12fbe5dcf8
shader_ir: Unify constant buffer offset values
Constant buffer values on the shader IR were using different offsets if
the access direct or indirect. cbuf34 has a non-multiplied offset while
cbuf36 does. On shader decoding this commit multiplies it by four on
cbuf34 queries.
7 years ago
ReinUsesLisp
d516c50fe2
shader_decode: Implement LDG and basic cbuf tracking
7 years ago
ReinUsesLisp
095b8f822b
shader_decode: Implement VMAD and VSETP
7 years ago
ReinUsesLisp
54bffa5381
shader_decode: Implement HFMA2
7 years ago
ReinUsesLisp
bcf228b15c
shader_decode: Fixup clang-format
7 years ago
ReinUsesLisp
25f868d8be
shader_ir: Initial implementation
7 years ago
ReinUsesLisp
2b5088a8e9
shader_bytecode: Fixup encoding
7 years ago
ReinUsesLisp
a04b5e9a42
shader_bytecode: Fixup TEXS.F16 encoding
7 years ago
David Marcec
1dfb0a513a
Fixed uninitialized memory due to missing returns in canary
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
7 years ago
ReinUsesLisp
40f57b087c
shader_bytecode: Fixup half float's operator B encoding
7 years ago
heapo
63c820c8b1
Implement postfactor multiplication/division for fmul instructions
7 years ago
ReinUsesLisp
e228750f52
gl_shader_decompiler: Implement TEXS.F16
7 years ago
Hexagon12
7ba80865a9
Added predicate comparison LessEqualWithNan ( #1736 )
* Added predicate comparison LessEqualWithNan
* oops
* Clang fix
7 years ago
ReinUsesLisp
52c844eeec
gl_shader_decompiler: Implement clip distances
7 years ago
ReinUsesLisp
bd4b3f0cc2
gl_shader_decompiler: Rename control codes to condition codes
7 years ago
ReinUsesLisp
db0e7fa147
gl_shader_decompiler: Implement BFI_IMM_R
7 years ago
ReinUsesLisp
e933f0851a
gl_shader_decompiler: Implement R2P_IMM
7 years ago
FernandoS27
906d2fd5af
Assert Control Codes Generation
7 years ago
Frederic L
c76f4b6aec
global: Use std::optional instead of boost::optional ( #1578 )
* get rid of boost::optional
* Remove optional references
* Use std::reference_wrapper for optional references
* Fix clang format
* Fix clang format part 2
* Adressed feedback
* Fix clang format and MacOS build
7 years ago
FernandoS27
8b69038887
Assert Control Flow Instructions using Control Codes
7 years ago
FernandoS27
159bedd74f
Implemented LD_L and ST_L
7 years ago
FernandoS27
3326b552d0
Implement PointSize
7 years ago
ReinUsesLisp
3c72944105
gl_shader_decompiler: Implement VSETP
7 years ago
ReinUsesLisp
95ebbee064
gl_shader_decompiler: Abstract VMAD into a video subset
7 years ago
FernandoS27
9183b82847
Added Saturation to FMUL32I
7 years ago
FernandoS27
2dc066f8f5
Fixed FSETP and FSET
7 years ago
ReinUsesLisp
57b3166673
gl_shader_decompiler: Implement PBK and BRK
7 years ago
ReinUsesLisp
40845c39c9
shader_bytecode: Add Control Code enum 0xf
Control Code 0xf means to unconditionally execute the instruction. This
value is passed to most BRA, EXIT and SYNC instructions (among others)
but this may not always be the case.
7 years ago
ReinUsesLisp
f1a2fd02a5
gl_shader_decompiler: Implement HSET2_R
7 years ago
ReinUsesLisp
4769eac4b7
gl_shader_decompiler: Implement HSETP2_R
7 years ago
ReinUsesLisp
f4c2f0c35d
gl_shader_decompiler: Implement HFMA2 instructions
7 years ago
ReinUsesLisp
d3a031608d
gl_shader_decompiler: Implement HADD2_IMM and HMUL2_IMM
7 years ago
ReinUsesLisp
cc74fe2cef
gl_shader_decompiler: Implement non-immediate HADD2 and HMUL2 instructions
7 years ago
ReinUsesLisp
fcb96ae125
gl_shader_decompiler: Setup base for half float unpacking and setting
7 years ago
ReinUsesLisp
0c0ff8f0f6
gl_shader_decompiler: Implement VMAD
7 years ago
ReinUsesLisp
f1dff1c269
gl_shader_decompiler: Implement geometry shaders
7 years ago
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