Kelebek1
42638691b5
Use spans over guest memory where possible instead of copying data.
3 years ago
bunnei
ac32fd08e9
android: video_core: Disable some problematic things on GPU Normal.
3 years ago
Fernando Sahmkow
3595172637
Maxwell3D: only update parameters on High
3 years ago
Liam
b84bab419c
maxwell_3d: fix out of bounds array access in size estimation
3 years ago
Kelebek1
2d86d111fa
Reimplement the invalidate_texture_data_cache register
3 years ago
arades79
60a68839ee
remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
arades79
adcef452e0
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
Kelebek1
1b8f2ddbe7
Demote maxwell3d Firmware4 call log to debug
3 years ago
Fernando Sahmkow
8eafb91af0
video_core: Cache GPU internal writes.
3 years ago
Feng Chen
79268b94de
video_core: Implement maxwell3d draw texture method
3 years ago
Fernando Sahmkow
1fdf24a081
Video_core: Address feedback
3 years ago
Fernando Sahmkow
ea140a70fa
Rasterizer: Setup skeleton for Host Conditional rendering
3 years ago
Fernando Sahmkow
67a706d812
Vulkan: Implement Dynamic State 3
3 years ago
Fernando Sahmkow
af68dc011b
Vulkan Implement Dynamic State 2 LogicOp and PatchVertices
3 years ago
Fernando Sahmkow
4bf1ee5bdc
DMAPusher: Improve collection of non executing methods
3 years ago
Fernando Sahmkow
d2643a61c3
Revert Buffer cache changes and setup additional macros.
3 years ago
Fernando Sahmkow
12a76465b9
MacroHLE: Reduce massive calculations on sizing estimation.
3 years ago
Fernando Sahmkow
7842543573
MacroHLE: Add HLE replacement for base vertex and base instance.
3 years ago
Fernando Sahmkow
209ce46a9f
MacroHLE: Add Index Buffer size estimation.
3 years ago
Fernando Sahmkow
b4fcb0b2b2
MacroHLE: Refactor MacroHLE system.
4 years ago
Fernando Sahmkow
b5b0ec9429
MacroHLE: Implement DrawIndexedIndirect & DrawArraysIndirect.
4 years ago
Feng Chen
ad05d9fe1e
video_core: Implement maxwell3d draw manager and split draw logic
3 years ago
Feng Chen
f7e82d2fd6
video_core: Fine tuning the index drawing judgment logic
3 years ago
Kelebek1
bb10e5e6eb
Respect render mode override
3 years ago
Lioncash
0d9c723df4
engines: Remove unnecessary casts
In a few cases we have some casts that can be trivially removed.
3 years ago
Fernando Sahmkow
b3708b0a5b
GPU: Fix buffer cache issue, engine upload not inlining memory in multiline and pessismistic invalidation.
3 years ago
FengChen
607a965c57
video_core: Optimize maxwell drawing trigger mechanism
3 years ago
Liam
e219606128
maxwell3d: full HLE for multi-layer clears
3 years ago
Kelebek1
a5b76126e1
Fix regs regression with OpenGL two-sided stencil, and re-add data invalidation reg
3 years ago
FengChen
3e0cc4fd75
video_core: Fix drawing trigger mechanism regression
3 years ago
FengChen
2636c9f876
video_core: Fix drawing trigger mechanism regression
3 years ago
FengChen
f9f995c56a
video_core: Implement maxwell inline_index method
3 years ago
FengChen
8eed4e7ee5
video_coare: Reimplementing the maxwell drawing trigger mechanism
3 years ago
Fernando Sahmkow
6118d0d042
Maxwell3D/Puller: Fix regressions and syncing issues.
3 years ago
Kelebek1
bc29a3a188
Fix stencil func registers, make clip control equivalent to how it was before, but surely wrong.
3 years ago
Kelebek1
37845e1228
Update 3D regs
3 years ago
Fernando Sahmkow
4124fa18e3
NVDRV: Further improvements.
4 years ago
bunnei
616e83dd94
DMA & InlineToMemory Engines Rework.
3 years ago
Fernando Sahmkow
4c8b983c3a
Maxwell3D: Add small_index_2
4 years ago
Fernando Sahmkow
42ef10060a
VideoCore: Refactor fencing system.
4 years ago
Billy Laws
a1216cfeee
Maxwell3D: Fix 3D semaphore counter type 0 handling
Counter type 0 actually releases the semaphore payload rather than a constant zero as was previously thought. This is required by Skyrim.
4 years ago
Liam
fa2047970e
video_core/macro: clear code on upload address assignment
4 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
Liam
3bffb0464b
maxwell3d: add small_index_2 register
4 years ago
ameerj
fc50392101
maxwell_3d: Implement a safer CB data upload
This makes constant buffer uploads safer and more accurate by updating the GPU memory as soon as the CB Data method is invoked. The previous implementation was deferring the updates until a different maxwell 3d method was detected, then writing all CB data at once.
4 years ago
byte[]
2f745c6c00
Maxwell3D: restore original topology when topology overrides are disabled
4 years ago
Liam
6202688c91
Maxwell3D: Use override constants from nouveau
This fixes some incorrect rendering in Sunshine
4 years ago
Liam
db6b7f70b7
Maxwell3D: Restrict topology override effect to after the register is set
4 years ago
Liam
61e810ba10
Maxwell3D: mark index buffers as dirty after updating counts
4 years ago
Liam
de42319556
Maxwell3D: read small-index draw and primitive topology override registers
This allows Galaxy and Sunshine to render for the first time.
4 years ago