Fernando Sahmkow
ba02d564f8
Video Core: initial Implementation of InstanceDraw Packaging
6 years ago
ReinUsesLisp
6170337001
gl_rasterizer: Implement image bindings
7 years ago
ReinUsesLisp
5f309b88db
Revert "Revert #2466" and stub FirmwareCall 4
6 years ago
ReinUsesLisp
701dedcfad
maxwell_3d: Avoid moving macro_params
6 years ago
ReinUsesLisp
52a41f482f
maxwell_3d: Fix macro binding cursor
6 years ago
Fernando Sahmkow
7a35178ee2
Maxwell3D: Reorganize and address feedback
7 years ago
Fernando Sahmkow
4be61013a1
GL_State: Feedback and fixes
7 years ago
Fernando Sahmkow
5ad889f6fd
Maxwell3D: Address Feedback
7 years ago
Fernando Sahmkow
a081dea8ab
Maxwell3D: Implement State Dirty Flags.
7 years ago
Fernando Sahmkow
0d3db58657
Maxwell3D: Rework CBData Upload
7 years ago
Fernando Sahmkow
f2e7b29c14
Maxwell3D: Rework the dirty system to be more consistant and scaleable
7 years ago
Fernando Sahmkow
e42bcf2314
maxwell3d: Implement Conditional Rendering
Conditional Rendering takes care of conditionaly clearing or drawing
depending on a set of queries. This PR implements the query checks to
stablish if things can be rendered or not.
7 years ago
ReinUsesLisp
7ecf64257a
gl_rasterizer: Minor style changes
7 years ago
ReinUsesLisp
2f2a61887a
video_core/engines: Move ConstBufferInfo out of Maxwell3D
7 years ago
Lioncash
c212fc9b2c
video_core/engines/maxwell_3d: Add is_trivially_copyable_v check for Regs
std::memset is used to clear the entire register structure, which
requires that the Regs struct be trivially copyable (otherwise undefined
behavior is invoked). This prevents the case where a non-trivial type is
potentially added to the struct.
7 years ago
ReinUsesLisp
bd81a03d9d
gl_shader_decompiler: Declare all possible varyings on physical attribute usage
7 years ago
Fernando Sahmkow
e64c41efe8
Refactors and name corrections.
7 years ago
Fernando Sahmkow
e140e2ebc6
Add Documentation Headers to all the GPU Engines
7 years ago
Fernando Sahmkow
701ce1c9d0
Implement Maxwell3D Data Upload
7 years ago
ReinUsesLisp
fbe8d1ceaa
video_core: Silent -Wswitch warnings
7 years ago
Fernando Sahmkow
492040bd9c
Move ConstBufferAccessor to Maxwell3d, correct mistakes and clang format.
7 years ago
Fernando Sahmkow
7af82ca022
Implement Bindless Handling on SetupTexture
7 years ago
Fernando Sahmkow
fc91e21206
Implement SyncPoint Register in the GPU.
7 years ago
Lioncash
22f02076c6
video_core/engines: Make memory manager members private
These aren't used externally by anything, so they can be made private
data members.
7 years ago
Lioncash
26223f8124
video_core/engines: Remove unnecessary inclusions where applicable
Replaces header inclusions with forward declarations where applicable
and also removes unused headers within the cpp file. This reduces a few
more dependencies on core/memory.h
7 years ago
Lioncash
b9238edd0d
common/math_util: Move contents into the Common namespace
These types are within the common library, so they should be within the
Common namespace.
7 years ago
ReinUsesLisp
5219edd715
maxwell_3d: Use std::bitset to manage dirty flags
7 years ago
Lioncash
a8fa5019b5
video_core: Remove usages of System::GetInstance() within the engines
Avoids the use of the global accessor in favor of explicitly making the
system a dependency within the interface.
7 years ago
ReinUsesLisp
b683e41fca
gl_rasterizer_cache: Use dirty flags for the depth buffer
7 years ago
ReinUsesLisp
179ee963db
gl_rasterizer_cache: Use dirty flags for color buffers
7 years ago
ReinUsesLisp
0ab17ab406
gl_shader_cache: Use dirty flags for shaders
7 years ago
David Marcec
fdd649e2ef
Fixed uninitialized memory due to missing returns in canary
Functions which are suppose to crash on non canary builds usually don't return anything which lead to uninitialized memory being used.
7 years ago
ReinUsesLisp
2908d30274
gl_rasterizer: Enable clip distances when set in register and in shader
7 years ago
bunnei
abea6fa90c
gpu: Rewrite GPU command list processing with DmaPusher class.
- More accurate impl., fixes Undertale (among other games).
7 years ago
Rodolfo Bogado
dfdbfa69e5
Implement depth clamp
7 years ago
Rodolfo Bogado
8e971f5062
Add support for Clip Distance enabled register
7 years ago
Marcos
cb8d51e37e
GPU States: Implement Polygon Offset. This is used in SMO all the time. ( #1784 )
* GPU States: Implement Polygon Offset. This is used in SMO all the time.
* Clang Format fixes.
* Initialize polygon_offset in the constructor.
7 years ago
ReinUsesLisp
924e834b8f
gl_shader_decompiler: Implement S2R's Y_DIRECTION
7 years ago
Rodolfo Bogado
13f6a603c2
Add support for viewport_transfom_enable register
7 years ago
Rodolfo Bogado
54c2a4cafc
Add support for clear_flags register
7 years ago
bunnei
0e6a608245
maxwell_3d: Implement alternate blend equations.
- Used by Undertale.
7 years ago
Rodolfo Bogado
5297495c87
small fix for alphaToOne bit location
7 years ago
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
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
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