FernandoS27
0dbec58b7b
Corrected inputs indexing in TEX instruction
7 years ago
bunnei
ae72f4154e
memory_manager: Do not allow 0 to be a valid GPUVAddr.
- Fixes a bug with Undertale using 0 for a render target.
7 years ago
Hexagon12
7ba80865a9
Added predicate comparison LessEqualWithNan ( #1736 )
* Added predicate comparison LessEqualWithNan
* oops
* Clang fix
7 years ago
ReinUsesLisp
52c844eeec
gl_shader_decompiler: Implement clip distances
7 years ago
ReinUsesLisp
b9f0e17558
gl_shader_decompiler: Add a message for unimplemented cc generation
7 years ago
bunnei
e48ea86186
macro_interpreter: Implement AddWithCarry and SubtractWithBorrow.
- Used by Undertale.
7 years ago
bunnei
e17f9a1ed9
maxwell_3d: Implement alternate blend equations.
- Used by Undertale.
7 years ago
ReinUsesLisp
db76af3a58
gl_shader_decompiler: Rename internal flag strings
7 years ago
ReinUsesLisp
bd4b3f0cc2
gl_shader_decompiler: Rename control codes to condition codes
7 years ago
ReinUsesLisp
d0cbabb0cd
gl_shader_decompiler: Fix register overwriting on texture calls
7 years ago
FernandoS27
1d41ebf29e
Properly Implemented TXQ Instruction
7 years ago
ReinUsesLisp
db0e7fa147
gl_shader_decompiler: Implement BFI_IMM_R
7 years ago
FernandoS27
ac7b0966a1
Removed pre 4.3 ARB extensions
7 years ago
FernandoS27
d79f3473ae
Use default values for unknown framebuffer pixel format
7 years ago
ReinUsesLisp
e933f0851a
gl_shader_decompiler: Implement R2P_IMM
7 years ago
ReinUsesLisp
5ca514e539
gl_shader_decompiler: Remove UNREACHABLE when setting RZ
7 years ago
ReinUsesLisp
6f4dcefc6a
gl_shader_decompiler: Use UNIMPLEMENTED instead of LOG+UNREACHABLE when applicable
7 years ago
bunnei
953c140eca
maxwell_3d: Initialize rasterizer color mask registers as enabled.
- Fixes rendering regression with Sonic Mania.
7 years ago
Markus Wick
ac59f51d23
shader_cache: Only lock covered instructions.
7 years ago
FernandoS27
76f57ab562
Implemented Fast Layered Copy
7 years ago
Frederic L
d2dd9cfc1d
Eliminated unnessessary memory allocation and copy ( #1702 )
7 years ago
ReinUsesLisp
b39ae68211
gl_rasterizer: Remove default clip distance
7 years ago
Rodolfo Bogado
01a35d1e38
drop support for non separate alpha as it seems to cause issues in some games
7 years ago
Rodolfo Bogado
23a2acdf61
fix sampler configuration, thanks to Marcos for his investigation
7 years ago
Rodolfo Bogado
8aaee278c2
small type fix
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
1c8c80f8dd
add missing MirrorOnceBorder support where supported
7 years ago
Rodolfo Bogado
f97144ea95
set border color not depending on the wrap mode
only enable color mask for the first framebuffer id independent blending is disabled
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 Laing
9d588877ef
textures/decoders: Replace magic numbers
7 years ago
Frederic Laing
8dcfc75e4e
textures/decoders: Minor cleanup
7 years ago
Frederic Laing
fc8fa005b7
gl_rasterizer_chache: Minor cleanup
7 years ago
Lioncash
583e1bd5eb
video_core/renderer_base: Remove GL include from the renderer base class files
Keeps the base class source files implementation-agnostic.
7 years ago
Frederic L
56a27afdea
gl_rasterizer: Minor cleanup
Minor code cleanup from unaddressed feedback in #1654
7 years ago
Lioncash
940b24a84b
gl_state: Amend compilation warnings
Makes float -> integral conversions explicit via casts and also silences
a sign conversion warning.
7 years ago
greggameplayer
ec188ec832
Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB ( #1666 )
* Implement ASTC_2D_10X8 & ASTC_2D_10X8_SRGB
( needed by Mario+Rabbids Kingdom Battle )
* Small placement correction
7 years ago
Rodolfo Bogado
2cd792b3cf
Use core extensions when available to set max anisotropic filtering level
7 years ago
Rodolfo Bogado
32412d2a33
Improve state management by splitting some of the states id separated function to avoid a full apply overhead
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
Rodolfo Bogado
6233b6b235
set sampler max lod, min lod, lod bias and max anisotropy
7 years ago
FernandoS27
2db82d4c09
Improved GPU Caches lookup Speed
7 years ago
ReinUsesLisp
e915947a0a
gl_shader_decompiler: Guard out of bound geometry shader input reads
Geometry shaders follow a pattern that results in out of bound reads.
This pattern is:
- VSETP to predicate
- Use that predicate to conditionally set a register a big number
- Use the register to access geometry shaders
At the time of writing this commit I don't know what's the intent of
this number. Some drivers argue about these out of bound reads. To avoid
this issue, input reads are guarded limiting reads to the highest
posible vertex input of the current topology (e.g. points to 1 and
triangles to 3).
7 years ago
Frederic Laing
e374638ff2
gl_rasterizer_cache: Remove unnecessary memory allocation and copy in CopySurface
7 years ago
Frederic Laing
b1d82f91b8
gl_rasterizer: Fix compiler warnings
7 years ago
Lioncash
b182af1e9b
rasterizer_cache: Remove reliance on the System singleton
Rather than have a transparent dependency, we can make it explicit in
the interface. This also gets rid of the need to put the core include in
a header.
7 years ago