Lioncash
5ddbef9c8a
maxwell_dma: Remove unused variables in HandleCopy()
These pointer variables are never used, so we can get rid of them.
7 years ago
Lioncash
ce07dbf817
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
82194e57de
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
8ff87912da
gl_shader_decompiler: Fix a few comment typos
7 years ago
ReinUsesLisp
5056401c89
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
cb438209c7
GPU: Improved implementation of maxwell DMA (Subv).
7 years ago
bunnei
fa24c17b95
decoders: Introduce functions for un/swizzling subrects.
7 years ago
bunnei
6a6fbb1478
GPU: Invalidate destination address of kepler_memory writes.
7 years ago
bunnei
e3fdb2ff4b
fermi_2d: Add support for more accurate surface copies.
7 years ago
ReinUsesLisp
57b3166673
gl_shader_decompiler: Implement PBK and BRK
7 years ago
FernandoS27
efa39b1b35
Clang format and other fixes
7 years ago
FernandoS27
c841b2ec48
Implement Reinterpret Surface, to accurately blit 3D textures
7 years ago
FernandoS27
893e144b02
Implement GetInRange in the Rasterizer Cache
7 years ago
FernandoS27
1469c546c3
Implement 3D Textures
7 years ago
bunnei
898c5576b5
gl_rasterizer_cache: Remove unnecessary block_depth=1 on Flush.
7 years ago
bunnei
a205f5a4df
gl_rasterizer_cache: Remove unnecessary temporary buffer with unswizzle.
7 years ago
bunnei
30c357b12b
gl_rasterizer_cache: Use AccurateCopySurface for use_accurate_gpu_emulation.
7 years ago
bunnei
b1c31be284
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
b3ee8ceca5
rasterizer_cache: Refactor to support in-order flushing.
7 years ago
bunnei
f5df68346c
gl_rasterizer_cache: Refactor to only call GetRegionEnd on surface creation.
7 years ago
bunnei
5084ec9509
gl_rasterizer_cache: Only flush when use_accurate_framebuffers is enabled.
7 years ago
bunnei
54918b45fe
gl_rasterizer_cache: Separate guest and host surface size managment.
7 years ago
bunnei
1b8aabcb7b
gl_rasterizer_cache: Rename GetGLBytesPerPixel to GetBytesPerPixel.
- This does not really have anything to do with OpenGL.
7 years ago
bunnei
7a80c6f83f
gl_rasterizer_cache: Remove unused FlushSurface method.
7 years ago
bunnei
6ac61f1799
gl_rasterizer: Implement flushing.
7 years ago
bunnei
1aba2e2fe9
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
4f43267355
gl_rasterizer_cache: Clamp cached surface size to mapped GPU region size.
7 years ago
bunnei
ac8ab8f305
memory_manager: Add a method for querying the end of a mapped GPU region.
7 years ago
bunnei
a8c8207341
rasterizer_cache: Reintroduce method for flushing.
7 years ago
bunnei
5ec58fa78f
gl_rasterizer_cache: Reintroduce code for handling swizzle and flush to guest RAM.
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
4af6ab7d85
gl_shader_decompiler: Fixup style inconsistencies
7 years ago
ReinUsesLisp
0370d2a62e
gl_rasterizer: Silence implicit cast warning in glBindBufferRange
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
FernandoS27
130f4b6aeb
Implement Arrays on Tex Instruction
7 years ago
FernandoS27
a64816ae9d
Fix TLDS
7 years ago
FernandoS27
39ba6950b8
Shorten the implementation of 3D swizzle to only 3 functions
7 years ago
FernandoS27
92e9faba25
Fix a Crash on Zelda BotW and Splatoon 2, and simplified LoadGLBuffer
7 years ago
FernandoS27
1a70753709
Propagate depth and depth_block on modules using decoders
7 years ago
FernandoS27
8b1e913058
Remove old Swizzle algorithms and use 3d Swizzle
7 years ago
FernandoS27
2650e33c48
Implement Precise 3D Swizzle
7 years ago
FernandoS27
8b32bd526b
Implement Fast 3D Swizzle
7 years ago
Hexagon12
f50514b25b
Added ASTC 5x4; 8x5
7 years ago
FernandoS27
eec2311ec1
Implemented helper function to correctly calculate a texture's size
7 years ago
ReinUsesLisp
0c0ff8f0f6
gl_shader_decompiler: Implement VMAD
7 years ago