FernandoS27
f785872dd5
Use standard UBO and fix/stylize the code
7 years ago
FernandoS27
d51cdee070
Cache uniform locations and restructure the implementation
7 years ago
FernandoS27
f4c9ebb9fc
Remove SyncAlphaTest and clang format
7 years ago
FernandoS27
ceb985fcb0
Added Alpha Func
7 years ago
FernandoS27
de4f14e756
Implemented Alpha Testing
7 years ago
FernandoS27
2dc066f8f5
Fixed FSETP and FSET
7 years ago
FernandoS27
2f976c550a
Fixed VAOs Float types only returning GL_FLOAT in cases that they had to return GL_HALF_FLOAT
7 years ago
Lioncash
cdea084c7d
engines/maxwell_*: Use nested namespace specifiers where applicable
These three source files are the only ones within the engines directory
that don't use nested namespaces. We may as well change these over to
keep things consistent.
7 years ago
Lioncash
92996ab8b3
maxwell_dma: Make variables const where applicable within HandleCopy()
These are never modified, so we can make that assumption explicit.
7 years ago
Lioncash
04e8b81de0
maxwell_dma: Make FlushAndInvalidate's size parameter a u64
This prevents truncation warnings at the lambda's usage sites.
7 years ago
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