Fernando Sahmkow
5fe5e1913e
Vulkan Texture Cache: Limit render area to the max width/height of the targets.
4 years ago
Fernando Sahmkow
707926765b
ImageBase: Basic fixes.
4 years ago
Fernando Sahmkow
602cb1e42f
VideoCore: Implement formats needed for N64 emulation.
4 years ago
bunnei
616e83dd94
DMA & InlineToMemory Engines Rework.
4 years ago
Fernando Sahmkow
95059af14c
Texture Cache: Fix GC and GPU Modified on Joins.
4 years ago
Fernando Sahmkow
bc66debfdc
Texture cache: Fix the remaining issues with memory mnagement and unmapping.
4 years ago
Fernando Sahmkow
c98aff1660
Texture cache: Fix dangling references on multichannel.
4 years ago
Fernando Sahmkow
0925f2386a
Refactor VideoCore to use AS sepparate from Channel.
4 years ago
Fernando Sahmkow
618dac2d51
General: Rebase fixes.
4 years ago
Fernando Sahmkow
a933bd94d6
VideoCore: Extra Fixes.
4 years ago
Fernando Sahmkow
9f62d4f41f
VideoCore: Fix channels with disk pipeline/shader cache.
4 years ago
Fernando Sahmkow
8847b6645c
VideoCore: implement channels on gpu caches.
4 years ago
Fernando Sahmkow
b7df4e83d1
Texture Cache: Add ASTC 10x5 Format.
4 years ago
Kyle Kienapfel
ea00332a67
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
3cd5e47ee3
renderer_(gl/vk): Implement ASTC_10x6_UNORM
- Used by Monster Hunter Rise Update 10.0.2
4 years ago
Liam
c1771c98f3
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Andrea Pappacoda
b2eb103829
chore: add missing SPDX tags
Follow-up to 2b87305d31
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
Fernando Sahmkow
ba73142ce0
video_core: implement formats for N64 emulation
4 years ago
bunnei
dcb17246d9
Revert "texture_cache/util: Remove unneeded ReadBlockUnsafe"
4 years ago
ameerj
ef60f353a8
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
29660bc55e
GPU Garbage Collection: Fix regressions.
4 years ago
bunnei
b149526098
Revert "Memory GPU <-> CPU: reduce infighting in the texture cache by adding CPU Cached memory."
4 years ago
Fernando Sahmkow
bcee5061e7
Texture Cache: Add Cached CPU system.
4 years ago
Fernando Sahmkow
2bd91a6f84
Garbage Collection: Final tuning.
4 years ago
Fernando Sahmkow
35675b986e
Buffer Cache: Tune to the levels of the new GC.
4 years ago
Fernando Sahmkow
7ea1f39bd0
Garbage Collection: Redesign the algorithm to do a better use of memory.
4 years ago
ameerj
b837219423
video_core: Reduce unused includes
4 years ago
Lioncash
fd12153c52
texture_cache: Ensure has_blacklisted is always initialized
Resolves a -Wmaybe_uninitialized warning
4 years ago
Lioncash
6419acdd76
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
1f4cc88d2a
texture_cache: Amend unintended bitwise OR in SynchronizeAliases
4 years ago
ameerj
5a7940c1f1
texture_cache/util: Fix s32 overflow when resolving overlaps
4 years ago
ameerj
4c10c0a514
video_core/memory_manager: Fixes for sparse memory management
4 years ago
ameerj
531d53d6b9
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
755963ada1
Fix blit image/view not compatible
4 years ago
ameerj
7d5c21688e
texture_cache: Fix image convert dimensions assertion
4 years ago
ameerj
4c9fb0ffe9
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
3b1694245f
Texture Cache: Fix crashes on NVIDIA.
4 years ago
Feng Chen
2e834bfa4a
Add missing pixel format mapping
4 years ago
Fernando Sahmkow
4e74fa32a4
Texture Cache: Secure insertions against deletions.
4 years ago
Fernando Sahmkow
fc91c0f51d
Texture Cache: Redesigning the blitting system (again).
4 years ago
Fernando Sahmkow
dcce920306
Texture Cache: Further fix regressions.
4 years ago
Fernando Sahmkow
81f52ea8fc
Texture Cache: Fix issue with blitting 3D textures.
4 years ago
Fernando Sahmkow
09a236dbbf
TextureCache: Simplify blitting of D24S8 formats and fix bugs.
4 years ago
Fernando Sahmkow
df62d93979
TextureCache: Eliminate format deduction as full depth conversion has been supported.
4 years ago
Fernando Sahmkow
e926797029
TextureCache: Implement buffer copies on Vulkan.
4 years ago
Fernando Sahmkow
efe634608e
TextureCache: Further fixes on resolve algorithm.
4 years ago
Fernando Sahmkow
57e1775bc8
TextureCache: force same image format when resolving an image.
4 years ago
Fernando Sahmkow
37459e821b
TextureCache: Fix regression caused by ART and improve blit detection algorithm to be smarter.
4 years ago
Morph
c7bdf8825f
video_core: Add S8_UINT stencil format
4 years ago