Commit Graph

209 Commits (1b83f255c290fd83562502f019799ad86a85b8a8)

Author SHA1 Message Date
ReinUsesLisp 5c280e6ff0 shader_ir: Implement STG, keep track of global memory usage and flush 6 years ago
bunnei 353a099481
Merge pull request #2366 from FernandoS27/xmad-fix
Correct XMAD mode, psl and high_b on different encodings.
6 years ago
Fernando Sahmkow 5c55ae4e18 Correct LOP_IMN encoding 6 years ago
Fernando Sahmkow 16adc735a5 Correct XMAD mode, psl and high_b on different encodings. 6 years ago
bunnei 633ce92908
Merge pull request #2147 from ReinUsesLisp/texture-clean
shader_ir: Remove "extras" from the MetaTexture
6 years ago
Lioncash f9ee0dc7ee 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.
6 years ago
ReinUsesLisp 5ca63d0675 shader/decode: Remove extras from MetaTexture 6 years ago
ReinUsesLisp 48e6f77c03 shader/decode: Split memory and texture instructions decoding 6 years ago
Fernando Sahmkow 10682ad7e0 shader_decompiler: Improve Accuracy of Attribute Interpolation. 6 years ago
Fernando Sahmkow f5ec165e8c Corrected F2I None mode to RoundEven. 6 years ago
bunnei 72c70d6808
Merge pull request #2081 from ReinUsesLisp/lmem-64
shader_ir/memory: Add LD_L 64 bits loads
6 years ago
bunnei bb4549a73d
Merge pull request #2082 from FernandoS27/txq-stl
Fix TXQ not using the component mask.
6 years ago
Mat M a568cd805b
Update src/video_core/engines/shader_bytecode.h
Co-Authored-By: FernandoS27 <fsahmkow27@gmail.com>
6 years ago
Fernando Sahmkow 0306c50339 Fix TXQ not using the component mask. 6 years ago
ReinUsesLisp 9feb68085d shader_bytecode: Rename BytesN enums to BitsN 6 years ago
ReinUsesLisp 477d616f7d 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.
6 years ago
ReinUsesLisp 3b84e04af1 shader_decode: Implement LDG and basic cbuf tracking 6 years ago
ReinUsesLisp a1b845b651 shader_decode: Implement VMAD and VSETP 6 years ago
ReinUsesLisp dd91650aaf shader_decode: Implement HFMA2 6 years ago
ReinUsesLisp 4316eaf75c shader_decode: Fixup clang-format 6 years ago
ReinUsesLisp 15a0e1481d shader_ir: Initial implementation 6 years ago
ReinUsesLisp 294df41b86 shader_bytecode: Fixup encoding 6 years ago
ReinUsesLisp aaa0e6c346 shader_bytecode: Fixup TEXS.F16 encoding 6 years ago
David Marcec fdd649e2ef 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.
6 years ago
ReinUsesLisp ef061481c5 shader_bytecode: Fixup half float's operator B encoding 6 years ago
heapo 72599cc667 Implement postfactor multiplication/division for fmul instructions 6 years ago
ReinUsesLisp 59a8df1b14 gl_shader_decompiler: Implement TEXS.F16 6 years ago
bunnei f9a211220c
Merge pull request #1763 from ReinUsesLisp/bfi
gl_shader_decompiler: Implement BFI_IMM_R
6 years ago
bunnei d7d1ab15b6
Merge pull request #1760 from ReinUsesLisp/r2p
gl_shader_decompiler: Implement R2P_IMM
6 years ago
bunnei 8ce90a4f0b
Merge pull request #1783 from ReinUsesLisp/clip-distances
gl_shader_decompiler: Implement clip distances
6 years ago
bunnei b6b78203cc
Merge pull request #1769 from ReinUsesLisp/cc
gl_shader_decompiler: Rename cc to condition code and name internal flags
6 years ago
Hexagon12 3135dbc29c Added predicate comparison LessEqualWithNan (#1736)
* Added predicate comparison LessEqualWithNan

* oops

* Clang fix
6 years ago
ReinUsesLisp b3853403b7 gl_shader_decompiler: Implement clip distances 6 years ago
ReinUsesLisp 8a5e6fce07 gl_shader_decompiler: Rename control codes to condition codes 6 years ago
ReinUsesLisp 642dfeda2a gl_shader_decompiler: Implement BFI_IMM_R 6 years ago
ReinUsesLisp d92afc7493 gl_shader_decompiler: Implement R2P_IMM 6 years ago
bunnei 9afcbba8e4
Merge pull request #1527 from FernandoS27/assert-flow
Assert Control Flow Instructions using Control Codes
7 years ago
bunnei 86e70cf302
Merge pull request #1528 from FernandoS27/assert-control-codes
Assert Control Codes Generation on Shader Instructions
7 years ago
FernandoS27 5bb80ab009 Assert Control Codes Generation 7 years ago
Frederic L 7a5eda5914 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 3aa8b644a9 Assert Control Flow Instructions using Control Codes 7 years ago
FernandoS27 ca142f35c0 Implemented LD_L and ST_L 7 years ago
FernandoS27 ed8ca608a0 Implement PointSize 7 years ago
bunnei 5716496239
Merge pull request #1519 from ReinUsesLisp/vsetp
gl_shader_decompiler: Implement VSETP
7 years ago
ReinUsesLisp 7d6dca0d0a gl_shader_decompiler: Implement VSETP 7 years ago
ReinUsesLisp 5dfb43531c gl_shader_decompiler: Abstract VMAD into a video subset 7 years ago
bunnei 848a49112a
Merge pull request #1512 from ReinUsesLisp/brk
gl_shader_decompiler: Implement PBK and BRK
7 years ago
FernandoS27 259da93567 Added Saturation to FMUL32I 7 years ago
FernandoS27 5c5b4e8e7d Fixed FSETP and FSET 7 years ago
bunnei b1f8bff7db
Merge pull request #1501 from ReinUsesLisp/half-float
gl_shader_decompiler: Implement H* instructions
7 years ago