Rodolfo Bogado
e69eb3c760
fix for gcc compilation
7 years ago
Rodolfo Bogado
53b4a1af0f
add AlphaToCoverage and AlphaToOne
7 years ago
Rodolfo Bogado
8ed7e1af2c
add support for fragment_color_clamp
7 years ago
Rodolfo Bogado
6a2aa6dbdb
set default value for point size register
7 years ago
Rodolfo Bogado
1881e86c43
fix viewport and scissor behavior
7 years ago
Markus Wick
97f5c4ffd3
gl_rasterizer: Skip VB upload if the state is clean.
7 years ago
Frederic L
ab362aa7e5
gl_rasterizer: Minor cleanup
Minor code cleanup from unaddressed feedback in #1654
7 years ago
Rodolfo Bogado
4a6eff3b7b
Try to fix problems with stencil test in some games, relax translation to opengl enums to avoid crashing and only generate logs of the errors.
7 years ago
Markus Wick
359db6a673
gl_rasterizer: Skip VAO binding if the state is clean.
7 years ago
Rodolfo Bogado
19038db489
Add support to color mask to avoid issues in blending caused by wrong values in the alpha channel in some render targets.
7 years ago
Rodolfo Bogado
145ae36963
Implement multi-target viewports and blending
7 years ago
bunnei
de0ab806df
maxwell_3d: Restructure macro upload to use a single macro code memory.
- Fixes an issue where macros could be skipped.
- Fixes rendering of distant objects in Super Mario Odyssey.
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
Rodolfo Bogado
0287b2be6d
Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB support
7 years ago
bunnei
58444a0376
gl_rasterizer: Implement primitive restart.
7 years ago
bunnei
949d9a7136
maxwell_3d: Add code for initializing register defaults.
7 years ago
FernandoS27
ca142f35c0
Implemented LD_L and ST_L
7 years ago
Lioncash
a97cdb5eb4
maxwell_3d: Remove unused variable within ProcessQueryGet()
7 years ago
FernandoS27
ed8ca608a0
Implement PointSize
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
FernandoS27
259da93567
Added Saturation to FMUL32I
7 years ago
FernandoS27
aa620c14af
Implemented Alpha Testing
7 years ago
FernandoS27
5c5b4e8e7d
Fixed FSETP and FSET
7 years ago
Lioncash
c1e5525fc6
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
d53c73adaa
maxwell_dma: Make variables const where applicable within HandleCopy()
These are never modified, so we can make that assumption explicit.
7 years ago
Lioncash
dd1ee39426
maxwell_dma: Make FlushAndInvalidate's size parameter a u64
This prevents truncation warnings at the lambda's usage sites.
7 years ago
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
bunnei
7e665c2721
GPU: Improved implementation of maxwell DMA (Subv).
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
fd9e2d0073
Implement 3D Textures
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
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
e0ca938b22
Propagate depth and depth_block on modules using decoders
7 years ago
ReinUsesLisp
17290a4416
gl_shader_decompiler: Implement VMAD
7 years ago
FernandoS27
5f4ee6f0c8
Add memory Layout to Render Targets and Depth Buffers
7 years ago
FernandoS27
af653906d0
Fixed block height settings for RenderTargets and Depth Buffers, and added block width and block depth
7 years ago
FernandoS27
30ff42b8cc
Assert Scissor tests
7 years ago
ReinUsesLisp
ee4d538850
gl_shader_decompiler: Implement geometry shaders
7 years ago
bunnei
9aec85d39c
fermi_2d: Implement simple copies with AccelerateSurfaceCopy.
7 years ago
ReinUsesLisp
3e2380327a
gl_rasterizer: Implement quads topology
7 years ago