aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines/maxwell_dma.cpp
AgeCommit message (Collapse)Author
2024-01-18Core: Eliminate core/memory dependancies.Fernando Sahmkow
2024-01-18SMMU: Initial adaptation to video_core.Fernando Sahmkow
2023-12-31MaxwellDMA: Don't flush the outputs of a dma copy.Fernando Sahmkow
2023-09-23Query Cachge: Fully rework Vulkan's query cacheFernando Sahmkow
2023-09-21Fix DMA engine register offsetsKelebek1
2023-08-09general: fix apple clang buildLiam
2023-07-02Use spans over guest memory where possible instead of copying data.Kelebek1
2023-06-30maxwell_dma: Specify dst_operand.pitch instead of a temp varMorph
2023-06-26Use safe reads in DMA engineKelebek1
2023-06-22Remove memory allocations in some hot pathsKelebek1
2023-05-07Texture cache: Only force flush the dma downloadsFernando Sahmkow
2023-05-07GPU: Add Reactive flushingFernando Sahmkow
2023-03-05Engines: Implement Accelerate DMA Texture.Fernando Sahmkow
2023-01-05BufferBase: Don't ignore GPU pages.Fernando Sahmkow
2023-01-05video_core: Cache GPU internal writes.Fernando Sahmkow
2023-01-01DMAPusher: Improve collection of non executing methodsFernando Sahmkow
2022-12-19scratch_buffer: Explicitly defing resize and resize_destructive functionsameerj
resize keeps previous data intact when the buffer grows resize_destructive destroys the previous data when the buffer grows
2022-12-19video_core: Add usages of ScratchBufferameerj
2022-11-29engines: Remove unnecessary castsLioncash
In a few cases we have some casts that can be trivially removed.
2022-11-24MaxwellDMA: Implement BlockLinear to BlockLinear copies.Fernando Sahmkow
2022-11-17Merge pull request #9229 from Docteh/achy_breaky_heartMorph
Add break for default cases
2022-11-13Add break for default casesKyle Kienapfel
Visual Studio has an option to search all files in a solution, so I did a search in there for "default:" looking for any missing break statements. I've left out default statements that return something, and that throw something, even if via ThrowInvalidType. UNREACHABLE leads towards throw R_THROW macro leads towards a return
2022-11-11video_core: Fix dma copy 1D random crashFengChen
2022-10-17video_core: implement 1D copies based on VMM 'kind'FengChen
2022-10-06maxwell_dma: remove warnings from implemented functionalityLiam
2022-10-06NVDRV: Further improvements.Fernando Sahmkow
2022-10-06DMA & InlineToMemory Engines Rework.bunnei
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-05-10maxwell_dma: use fallback if remapping is enabledLiam
2022-05-06maxwell_dma: fix bytes per pixelLiam
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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.
2022-03-07MaxwellDMA: Implement semaphore operationsLody
2021-09-19maxwell_dma: Minor refactoringameerj
2021-07-22DMA: Restrict optimised path for BlockToLinear further.FernandoS27
2021-07-15Buffer cache: Fixes, Clang and Feedback.Fernando Sahmkow
2021-07-14DMAEngine: Revert flushing from Pitch to BlpockLinear.Fernando Sahmkow
2021-07-13DMAEngine: Accelerate BufferClearFernando Sahmkow
2021-07-11accelerateDMA: Accelerate Buffer Copies.Fernando Sahmkow
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-02-13video_core: Reimplement the buffer cacheReinUsesLisp
Reimplement the buffer cache using cached bindings and page level granularity for modification tracking. This also drops the usage of shared pointers and virtual functions from the cache. - Bindings are cached, allowing to skip work when the game changes few bits between draws. - OpenGL Assembly shaders no longer copy when a region has been modified from the GPU to emulate constant buffers, instead GL_EXT_memory_object is used to alias sub-buffers within the same allocation. - OpenGL Assembly shaders stream constant buffer data using glProgramBufferParametersIuivNV, from NV_parameter_buffer_object. In theory this should save one hash table resolve inside the driver compared to glBufferSubData. - A new OpenGL stream buffer is implemented based on fences for drivers that are not Nvidia's proprietary, due to their low performance on partial glBufferSubData calls synchronized with 3D rendering (that some games use a lot). - Most optimizations are shared between APIs now, allowing Vulkan to cache more bindings than before, skipping unnecesarry work. This commit adds the necessary infrastructure to use Vulkan object from OpenGL. Overall, it improves performance and fixes some bugs present on the old cache. There are still some edge cases hit by some games that harm performance on some vendors, this are planned to be fixed in later commits.
2020-12-30video_core: Rewrite the texture cacheReinUsesLisp
The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues.
2020-12-04video_core: Resolve more variable shadowing scenariosLioncash
Resolves variable shadowing scenarios up to the end of the OpenGL code to make it nicer to review. The rest will be resolved in a following commit.
2020-10-02video_core: Enforce -Wunused-variable and -Wunused-but-set-variableReinUsesLisp
2020-08-10textures/decoders: Fix block linear to pitch copiesReinUsesLisp
There were two issues with block linear copies. First the swizzling was wrong and this commit reimplements them. The other issue was that these copies are generally used to download render targets from the GPU and yuzu was not downloading them from host GPU memory unless the extreme GPU accuracy setting was selected. This commit enables cached memory reads for all accuracy levels. - Fixes level thumbnails in Super Mario Maker 2.
2020-07-10video_core/textures: Add and use SwizzleSliceToVoxel, and minor style changesReinUsesLisp
Change GOB sizes from free-functions to constexpr constants. Add SwizzleSliceToVoxel, a function that swizzles a 2D array of pixels into a 3D texture and use it for 3D copies.
2020-07-07maxwell_dma: Rename registers to match official docs and reorderReinUsesLisp
Rename registers in the MaxwellDMA class to match Nvidia's official documentation. This one can be found here: https://github.com/NVIDIA/open-gpu-doc/blob/master/classes/dma-copy/clb0b5.h While we are at it, reorganize the code in MaxwellDMA to be separated in different functions.
2020-04-28MaxwellDMA: Optimize micro copies.Fernando Sahmkow
2020-04-27VideoCore/Engines: Refactor Engines CallMethod.Fernando Sahmkow
2020-04-23Clang Format.Fernando Sahmkow
2020-04-23DMAPusher: Propagate multimethod writes into the engines.Fernando Sahmkow