Lioncash
08e574eec4
maxwell_dma: Remove unused variables in HandleCopy()
These pointer variables are never used, so we can get rid of them.
7 years ago
Lioncash
8a86c8d48b
gl_shader_decompiler: Allow std::move to function in SetPredicate
If the variable being moved is const, then std::move will always perform
a copy (since it can't actually move the data).
7 years ago
Lioncash
381baf783d
gl_shader_decompiler: Get rid of variable shadowing warnings
A variable with the same name was previously declared in an outer scope.
7 years ago
Lioncash
61ef8af1e2
gl_shader_decompiler: Fix a few comment typos
7 years ago
ReinUsesLisp
3ec795d95e
gl_shader_decompiler: Move position varying declaration back to gl_shader_gen
The intention of declaring them in gl_shader_decompiler was to be able
to use blocks to implement geometry shaders. But that wasn't needed in
the end and it caused issues when both vertex stages were being used,
resulting in a redeclaration of "position".
7 years ago
bunnei
7e665c2721
GPU: Improved implementation of maxwell DMA (Subv).
7 years ago
bunnei
bcde71d4d9
decoders: Introduce functions for un/swizzling subrects.
7 years ago
bunnei
a5d853a9f8
GPU: Invalidate destination address of kepler_memory writes.
7 years ago
bunnei
6b333d862b
fermi_2d: Add support for more accurate surface copies.
7 years ago
ReinUsesLisp
41fb25349a
gl_shader_decompiler: Implement PBK and BRK
7 years ago
FernandoS27
caaa9914fd
Clang format and other fixes
7 years ago
FernandoS27
cb9fdc7a26
Implement Reinterpret Surface, to accurately blit 3D textures
7 years ago
FernandoS27
dbc34db6ce
Implement GetInRange in the Rasterizer Cache
7 years ago
FernandoS27
fd9e2d0073
Implement 3D Textures
7 years ago
bunnei
648b55c6b9
gl_rasterizer_cache: Remove unnecessary block_depth=1 on Flush.
7 years ago
bunnei
2a035a1f6f
gl_rasterizer_cache: Remove unnecessary temporary buffer with unswizzle.
7 years ago
bunnei
43b9494a0f
gl_rasterizer_cache: Use AccurateCopySurface for use_accurate_gpu_emulation.
7 years ago
bunnei
ee7c2dbf5a
config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation.
- This will be used as a catch-all for slow-but-accurate GPU emulation paths.
7 years ago
bunnei
91602de7f2
rasterizer_cache: Refactor to support in-order flushing.
7 years ago
bunnei
0e59291310
gl_rasterizer_cache: Refactor to only call GetRegionEnd on surface creation.
7 years ago
bunnei
949d7832fa
gl_rasterizer_cache: Only flush when use_accurate_framebuffers is enabled.
7 years ago
bunnei
5f79ba04bd
gl_rasterizer_cache: Separate guest and host surface size managment.
7 years ago
bunnei
58be4dff79
gl_rasterizer_cache: Rename GetGLBytesPerPixel to GetBytesPerPixel.
- This does not really have anything to do with OpenGL.
7 years ago
bunnei
cf7b46c101
gl_rasterizer_cache: Remove unused FlushSurface method.
7 years ago
bunnei
3afdfd7bfa
gl_rasterizer: Implement flushing.
7 years ago
bunnei
b4e29ccb81
gl_rasterizer_cache: Remove usage of Memory::Read/Write functions.
- These cannot be used within the cache, as they change cache state.
7 years ago
bunnei
4e9683e9d5
gl_rasterizer_cache: Clamp cached surface size to mapped GPU region size.
7 years ago
bunnei
37575eae65
memory_manager: Add a method for querying the end of a mapped GPU region.
7 years ago
bunnei
0be7e82289
rasterizer_cache: Reintroduce method for flushing.
7 years ago
bunnei
9b929e934b
gl_rasterizer_cache: Reintroduce code for handling swizzle and flush to guest RAM.
7 years ago
ReinUsesLisp
936c36a514
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
b461342a84
gl_shader_decompiler: Fixup style inconsistencies
7 years ago
ReinUsesLisp
27916764b1
gl_rasterizer: Silence implicit cast warning in glBindBufferRange
7 years ago
ReinUsesLisp
6312eec5ef
gl_shader_decompiler: Implement HSET2_R
7 years ago
ReinUsesLisp
4fc8ad67bf
gl_shader_decompiler: Implement HSETP2_R
7 years ago
ReinUsesLisp
3d65aa4caf
gl_shader_decompiler: Implement HFMA2 instructions
7 years ago
ReinUsesLisp
d93cdc2750
gl_shader_decompiler: Implement HADD2_IMM and HMUL2_IMM
7 years ago
ReinUsesLisp
d46e2a6e7a
gl_shader_decompiler: Implement non-immediate HADD2 and HMUL2 instructions
7 years ago
ReinUsesLisp
08d751d882
gl_shader_decompiler: Setup base for half float unpacking and setting
7 years ago
FernandoS27
1d6559fbd3
Implement Arrays on Tex Instruction
7 years ago
FernandoS27
d880b77698
Fix TLDS
7 years ago
FernandoS27
331ce2942c
Shorten the implementation of 3D swizzle to only 3 functions
7 years ago
FernandoS27
1ff20d8538
Fix a Crash on Zelda BotW and Splatoon 2, and simplified LoadGLBuffer
7 years ago
FernandoS27
e0ca938b22
Propagate depth and depth_block on modules using decoders
7 years ago
FernandoS27
d4ae43f9c1
Remove old Swizzle algorithms and use 3d Swizzle
7 years ago
FernandoS27
4d959c6bdc
Implement Precise 3D Swizzle
7 years ago
FernandoS27
736db284d2
Implement Fast 3D Swizzle
7 years ago
Hexagon12
cbf723896f
Added ASTC 5x4; 8x5
7 years ago
FernandoS27
97b6405a17
Implemented helper function to correctly calculate a texture's size
7 years ago
ReinUsesLisp
17290a4416
gl_shader_decompiler: Implement VMAD
7 years ago