bunnei
befd477279
android: video_core: Disable some problematic things on GPU Normal.
3 years ago
Fernando Sahmkow
56c9730a16
Maxwell3D: only update parameters on High
3 years ago
Liam
eb7c2314f6
maxwell_3d: fix out of bounds array access in size estimation
3 years ago
Kelebek1
3b50906f00
Reimplement the invalidate_texture_data_cache register
3 years ago
arades79
683019878f
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
45e13b03f3
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
Kelebek1
5a106cf11e
Demote maxwell3d Firmware4 call log to debug
3 years ago
Fernando Sahmkow
6c7eb81f7d
video_core: Cache GPU internal writes.
3 years ago
Feng Chen
1e8cee2ddf
video_core: Implement maxwell3d draw texture method
3 years ago
Fernando Sahmkow
a0c697124c
Video_core: Address feedback
3 years ago
Fernando Sahmkow
581a7d785b
Rasterizer: Setup skeleton for Host Conditional rendering
3 years ago
Fernando Sahmkow
d33251db93
Vulkan: Implement Dynamic State 3
3 years ago
Fernando Sahmkow
f800e485c9
Vulkan Implement Dynamic State 2 LogicOp and PatchVertices
3 years ago
Fernando Sahmkow
cb1497d0d7
DMAPusher: Improve collection of non executing methods
3 years ago
Fernando Sahmkow
ce448ce770
Revert Buffer cache changes and setup additional macros.
3 years ago
Fernando Sahmkow
18637766ef
MacroHLE: Reduce massive calculations on sizing estimation.
3 years ago
Fernando Sahmkow
aad0cbf024
MacroHLE: Add HLE replacement for base vertex and base instance.
3 years ago
Fernando Sahmkow
93ac5a6a6d
MacroHLE: Add Index Buffer size estimation.
3 years ago
Fernando Sahmkow
c541559767
MacroHLE: Refactor MacroHLE system.
4 years ago
Fernando Sahmkow
0f89828073
MacroHLE: Implement DrawIndexedIndirect & DrawArraysIndirect.
4 years ago
Feng Chen
bf0b957c05
video_core: Implement maxwell3d draw manager and split draw logic
3 years ago
Feng Chen
cb5400b34d
video_core: Fine tuning the index drawing judgment logic
3 years ago
Kelebek1
a78372110c
Respect render mode override
3 years ago
Lioncash
d7ec031419
engines: Remove unnecessary casts
In a few cases we have some casts that can be trivially removed.
3 years ago
Fernando Sahmkow
3b582d5fb2
GPU: Fix buffer cache issue, engine upload not inlining memory in multiline and pessismistic invalidation.
3 years ago
FengChen
1d57851fc7
video_core: Optimize maxwell drawing trigger mechanism
3 years ago
Liam
4c42655a2d
maxwell3d: full HLE for multi-layer clears
3 years ago
Kelebek1
33ea0fdfe8
Fix regs regression with OpenGL two-sided stencil, and re-add data invalidation reg
3 years ago
FengChen
b42b894785
video_core: Fix drawing trigger mechanism regression
3 years ago
FengChen
f6e7cae62c
video_core: Fix drawing trigger mechanism regression
3 years ago
FengChen
2f90694797
video_core: Implement maxwell inline_index method
3 years ago
FengChen
1f54cd4ac7
video_coare: Reimplementing the maxwell drawing trigger mechanism
3 years ago
Fernando Sahmkow
3cb4498142
Maxwell3D/Puller: Fix regressions and syncing issues.
3 years ago
Kelebek1
4496030ea9
Fix stencil func registers, make clip control equivalent to how it was before, but surely wrong.
3 years ago
Kelebek1
752659aef3
Update 3D regs
3 years ago
Fernando Sahmkow
a9ca39f859
NVDRV: Further improvements.
4 years ago
bunnei
f5fd6b5c86
DMA & InlineToMemory Engines Rework.
3 years ago
Fernando Sahmkow
b2099fbdcc
Maxwell3D: Add small_index_2
4 years ago
Fernando Sahmkow
bc8b3d225e
VideoCore: Refactor fencing system.
4 years ago
Billy Laws
ea89cf8639
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
e158951695
video_core/macro: clear code on upload address assignment
4 years ago
Morph
99ceb03a1c
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
a24e7ba61b
maxwell3d: add small_index_2 register
4 years ago
ameerj
5119a57614
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[]
364c67e49b
Maxwell3D: restore original topology when topology overrides are disabled
4 years ago
Liam
37aa472269
Maxwell3D: Use override constants from nouveau
This fixes some incorrect rendering in Sunshine
4 years ago
Liam
56c646d82c
Maxwell3D: Restrict topology override effect to after the register is set
4 years ago
Liam
70e632f153
Maxwell3D: mark index buffers as dirty after updating counts
4 years ago
Liam
f1521183f8
Maxwell3D: read small-index draw and primitive topology override registers
This allows Galaxy and Sunshine to render for the first time.
4 years ago
Fernando Sahmkow
4258d515e6
Rasterizer: Implement Inline2Memory Acceleration.
4 years ago