bunnei
953c140eca
maxwell_3d: Initialize rasterizer color mask registers as enabled.
- Fixes rendering regression with Sonic Mania.
7 years ago
Rodolfo Bogado
a6fbb1ec16
small fix for alphaToOne bit location
7 years ago
Rodolfo Bogado
f53a271874
fix for gcc compilation
7 years ago
Rodolfo Bogado
00ae363ad5
add AlphaToCoverage and AlphaToOne
7 years ago
Rodolfo Bogado
bb20c5b8a0
add support for fragment_color_clamp
7 years ago
Rodolfo Bogado
b85b478d33
set default value for point size register
7 years ago
Rodolfo Bogado
bcf804a44e
fix viewport and scissor behavior
7 years ago
Markus Wick
264030c070
gl_rasterizer: Skip VB upload if the state is clean.
7 years ago
Frederic L
56a27afdea
gl_rasterizer: Minor cleanup
Minor code cleanup from unaddressed feedback in #1654
7 years ago
Rodolfo Bogado
a7c68376fe
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
755aa28572
gl_rasterizer: Skip VAO binding if the state is clean.
7 years ago
Rodolfo Bogado
92d9f97224
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
fbd0d677a3
Implement multi-target viewports and blending
7 years ago
bunnei
42b74a5e41
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
906d2fd5af
Assert Control Codes Generation
7 years ago
Frederic L
c76f4b6aec
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
8b69038887
Assert Control Flow Instructions using Control Codes
7 years ago
Rodolfo Bogado
1670155ee2
Implement sRGB Support, including workarounds for nvidia driver issues and QT sRGB support
7 years ago
bunnei
b22ff96e0a
gl_rasterizer: Implement primitive restart.
7 years ago
bunnei
2bc1f075bb
maxwell_3d: Add code for initializing register defaults.
7 years ago
FernandoS27
159bedd74f
Implemented LD_L and ST_L
7 years ago
Lioncash
0afddad95c
maxwell_3d: Remove unused variable within ProcessQueryGet()
7 years ago
FernandoS27
3326b552d0
Implement PointSize
7 years ago
ReinUsesLisp
3c72944105
gl_shader_decompiler: Implement VSETP
7 years ago
ReinUsesLisp
95ebbee064
gl_shader_decompiler: Abstract VMAD into a video subset
7 years ago
FernandoS27
9183b82847
Added Saturation to FMUL32I
7 years ago
FernandoS27
de4f14e756
Implemented Alpha Testing
7 years ago
FernandoS27
2dc066f8f5
Fixed FSETP and FSET
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
bunnei
cb438209c7
GPU: Improved implementation of maxwell DMA (Subv).
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
1469c546c3
Implement 3D Textures
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
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
1a70753709
Propagate depth and depth_block on modules using decoders
7 years ago
ReinUsesLisp
0c0ff8f0f6
gl_shader_decompiler: Implement VMAD
7 years ago
FernandoS27
df5575aa44
Add memory Layout to Render Targets and Depth Buffers
7 years ago
FernandoS27
020cee90ef
Fixed block height settings for RenderTargets and Depth Buffers, and added block width and block depth
7 years ago
FernandoS27
85a8a0b038
Assert Scissor tests
7 years ago
ReinUsesLisp
f1dff1c269
gl_shader_decompiler: Implement geometry shaders
7 years ago