Kelebek1
711190bb67
Use current GPU address when unmapping GPU pages, not the base
3 years ago
Fernando Sahmkow
1c13c74295
Memory manager: Fix possible softlock
3 years ago
Fernando Sahmkow
9a7c172f76
MemoryManager: Fix race conditions.
3 years ago
Max Dunbar
e446f368d7
Fixes 'Continous' typo
3 years ago
Liam
41d99aa89d
memory: rename global memory references to application memory
3 years ago
Merry
dc7ab4c5d6
Revert "MemoryManager: use fastmem directly."
This reverts commit af5ecb0b15 .
3 years ago
Fernando Sahmkow
b56ad93bbc
BufferBase: Don't ignore GPU pages.
3 years ago
Fernando Sahmkow
af5ecb0b15
MemoryManager: use fastmem directly.
3 years ago
Fernando Sahmkow
6c7eb81f7d
video_core: Cache GPU internal writes.
3 years ago
Fernando Sahmkow
3630bfaef3
RasterizerMemory: Add filtering for flushing/invalidation operations.
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
FengChen
aa97f39ba8
video_core:Fix vmm kinds size error
3 years ago
Morph
42c4ef7373
general: Resolve -Wunused-but-set-variable
3 years ago
FengChen
99507d0188
video_core: Implement memory manager page kind
3 years ago
Fernando Sahmkow
fe24c65153
General: Fix clang format.
4 years ago
Fernando Sahmkow
770e19f51a
Buffer Cache: Deduce vertex array limit from memory layout when limit is the highest possible.
4 years ago
bunnei
f5fd6b5c86
DMA & InlineToMemory Engines Rework.
3 years ago
Fernando Sahmkow
7cfa28a666
Memory Manager: ensure safety of GPU to CPU address.
4 years ago
Fernando Sahmkow
5a568b1655
MemoryManager: Fix errors popping out.
4 years ago
Fernando Sahmkow
359f22b808
MemoryManager: Finish up the initial implementation.
4 years ago
Fernando Sahmkow
4d60410dd9
MemoryManager: initial multi paging system implementation.
4 years ago
Fernando Sahmkow
f350c3d74e
Texture cache: Fix the remaining issues with memory mnagement and unmapping.
4 years ago
Fernando Sahmkow
e462191482
Refactor VideoCore to use AS sepparate from Channel.
4 years ago
Fernando Sahmkow
feb49c822d
NVDRV: Remake ASGPU
4 years ago
Fernando Sahmkow
0f4ae3cc52
MemoryManager: Temporary Fix for NVDEC.
4 years ago
Fernando Sahmkow
cbaf3fb433
VideoCore: Update MemoryManager
4 years ago
Fernando Sahmkow
139ea93512
VideoCore: implement channels on gpu caches.
4 years ago
Kyle Kienapfel
14e9de6678
code: dodge PAGE_SIZE #define
Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number
This is great except in yuzu we're using PAGE_SIZE as a variable
Specific example
`static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;`
PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables.
Simply deleted the underscores, and then added YUZU_ prefix
Might be worth noting that there are multiple uses in different classes/namespaces
This list may not be exhaustive
Core::Memory 12 bits (4096)
QueryCacheBase 12 bits
ShaderCache 14 bits (16384)
TextureCache 20 bits (1048576, or 1MB)
Fixes #8779
3 years ago
Liam
084d7d6b01
common: Change semantics of UNREACHABLE to unconditionally crash
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
ameerj
1bc7d61b57
video_core: Reduce unused includes
4 years ago
ameerj
285b6dbc39
video_core/memory_manager: Fixes for sparse memory management
4 years ago
ameerj
2428214c4b
video_core/memory_manager: Deduplicate Read/WriteBlock
4 years ago
Morph
554c46d186
video_core/memory_manager: Add missing <algorithm> include
4 years ago
Fernando Sahmkow
ef2066b272
GPU_MemoryManger: Fix GetSubmappedRange.
4 years ago
FernandoS27
4d0d29fc20
shader: Address feedback
5 years ago
FernandoS27
dc1a9a3bed
shader: Implement TLD
5 years ago
Fernando Sahmkow
1ae4b684ff
Buffer cache: Fixes, Clang and Feedback.
5 years ago
Fernando Sahmkow
1a95a7cdd9
GPUMemoryManager: Force inmediate invalidation when writting block.
5 years ago
Fernando Sahmkow
8f9f142956
Texture Cache: Address feedback.
5 years ago
Fernando Sahmkow
fd98fcf7f0
Texture Cache: Improve accuracy of sparse texture detection.
5 years ago
Fernando Sahmkow
38165fb7e3
Texture Cache: Initial Implementation of Sparse Textures.
5 years ago
ameerj
859ba21f6d
buffer_cache: Simplify uniform disabling logic
5 years ago
bunnei
2a7eff57a8
hle: kernel: Rename Process to KProcess.
5 years ago
bunnei
93e20867b0
hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.
5 years ago
ReinUsesLisp
75ccd9959c
gpu: Report renderer errors with exceptions
Instead of using a two step initialization to report errors, initialize
the GPU renderer and rasterizer on the constructor and report errors
through std::runtime_error.
5 years ago
ReinUsesLisp
bda177ef40
video_core/memory_manager: Add BytesToMapEnd
Track map address sizes in a flat ordered map and add a method to query
the number of bytes until the end of a map in a given address.
5 years ago
ReinUsesLisp
b7febb5625
video_core/memory_manager: Remove unused CopyBlockUnsafe
This function was not being used.
5 years ago