Kelebek1
752659aef3
Update 3D regs
4 years ago
Morph
fedd983f96
general: Format licenses as per SPDX guidelines
4 years ago
Fernando Sahmkow
ada09778d9
Vulkan Texture Cache: Limit render area to the max width/height of the targets.
4 years ago
Fernando Sahmkow
8fd1d769fe
ImageBase: Basic fixes.
4 years ago
Fernando Sahmkow
fd7afda1e8
VideoCore: Implement formats needed for N64 emulation.
4 years ago
bunnei
f5fd6b5c86
DMA & InlineToMemory Engines Rework.
4 years ago
Fernando Sahmkow
e44ac8b821
Texture Cache: Fix GC and GPU Modified on Joins.
4 years ago
Fernando Sahmkow
f350c3d74e
Texture cache: Fix the remaining issues with memory mnagement and unmapping.
4 years ago
Fernando Sahmkow
9cf4c8831d
Texture cache: Fix dangling references on multichannel.
4 years ago
Fernando Sahmkow
e462191482
Refactor VideoCore to use AS sepparate from Channel.
4 years ago
Fernando Sahmkow
bb74973bba
General: Rebase fixes.
4 years ago
Fernando Sahmkow
6fc4012396
VideoCore: Extra Fixes.
4 years ago
Fernando Sahmkow
3f8e7a5585
VideoCore: Fix channels with disk pipeline/shader cache.
4 years ago
Fernando Sahmkow
139ea93512
VideoCore: implement channels on gpu caches.
4 years ago
Fernando Sahmkow
1a49991676
Texture Cache: Add ASTC 10x5 Format.
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
4 years ago
Morph
aec129c1ab
renderer_(gl/vk): Implement ASTC_10x6_UNORM
- Used by Monster Hunter Rise Update 10.0.2
4 years ago
Liam
084d7d6b01
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Andrea Pappacoda
01cf05bc75
chore: add missing SPDX tags
Follow-up to 99ceb03a1c
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
Fernando Sahmkow
f783883bf8
video_core: implement formats for N64 emulation
4 years ago
bunnei
02473ea7d5
Revert "texture_cache/util: Remove unneeded ReadBlockUnsafe"
4 years ago
ameerj
494c41dd5a
texture_cache/util: Remove unneeded ReadBlockUnsafe
This call was reading GPU memory into the dst buffer, which is then overwritten by the SwizzleTexture call.
4 years ago
Fernando Sahmkow
e9e671d101
GPU Garbage Collection: Fix regressions.
4 years ago
bunnei
af04f8b8e9
Revert "Memory GPU <-> CPU: reduce infighting in the texture cache by adding CPU Cached memory."
4 years ago
Fernando Sahmkow
7a9d9e575b
Texture Cache: Add Cached CPU system.
4 years ago
Fernando Sahmkow
9edbbf2af4
Garbage Collection: Final tuning.
4 years ago
Fernando Sahmkow
5e982a7812
Buffer Cache: Tune to the levels of the new GC.
4 years ago
Fernando Sahmkow
ecb3342145
Garbage Collection: Redesign the algorithm to do a better use of memory.
4 years ago
ameerj
1bc7d61b57
video_core: Reduce unused includes
4 years ago
Lioncash
e015dc8264
texture_cache: Ensure has_blacklisted is always initialized
Resolves a -Wmaybe_uninitialized warning
4 years ago
Lioncash
7367e55d1d
texture_cache: Remove dead code within SynchronizeAliases
Since these were being copied by value, none of the changes applied in
the loop would be reflected.
However, from the looks of it, this would already be applied within
CopyImage() anyways, so this can be removed.
4 years ago
Lioncash
856f576c05
texture_cache: Amend unintended bitwise OR in SynchronizeAliases
4 years ago
ameerj
951c61aeaa
texture_cache/util: Fix s32 overflow when resolving overlaps
4 years ago
ameerj
285b6dbc39
video_core/memory_manager: Fixes for sparse memory management
4 years ago
ameerj
481b210c0d
vk_texture_cache: Fix invalidated pointer access
The vulkan ImageView held a reference to its source image for rescale status checking. This pointer is sometimes invalidated when the texture cache slot_images container is resized.
To avoid an invalid pointer dereference, the ImageView now holds a reference to the container itself.
4 years ago
Feng Chen
1598426493
Fix blit image/view not compatible
4 years ago
ameerj
218d790bd6
texture_cache: Fix image convert dimensions assertion
4 years ago
ameerj
b8f3e5157b
blit_image: Refactor upscale factors usage
The image view itself can be queried to see if it is being rescaled or not, removing the need to pass the upscale/down shift factors from the texture cache.
4 years ago
Fernando Sahmkow
a5c212516c
Texture Cache: Fix crashes on NVIDIA.
4 years ago
Feng Chen
524a9baa7e
Add missing pixel format mapping
4 years ago
Fernando Sahmkow
5a3463bc2b
Texture Cache: Secure insertions against deletions.
4 years ago
Fernando Sahmkow
ecefc932e6
Texture Cache: Redesigning the blitting system (again).
4 years ago
Fernando Sahmkow
1624f307d0
Texture Cache: Further fix regressions.
4 years ago
Fernando Sahmkow
08674aee87
Texture Cache: Fix issue with blitting 3D textures.
4 years ago
Fernando Sahmkow
8532849439
TextureCache: Simplify blitting of D24S8 formats and fix bugs.
4 years ago
Fernando Sahmkow
779f4ac72d
TextureCache: Eliminate format deduction as full depth conversion has been supported.
4 years ago
Fernando Sahmkow
0857f82913
TextureCache: Implement buffer copies on Vulkan.
4 years ago
Fernando Sahmkow
6f896d1fae
TextureCache: Further fixes on resolve algorithm.
4 years ago
Fernando Sahmkow
0ff228405f
TextureCache: force same image format when resolving an image.
4 years ago