ameerj
51eb1f4aab
texture_cache: Use pre-allocated buffer for texture downloads
3 years ago
ameerj
204e35087f
texture_cache: Use pre-allocated buffer for texture uploads
3 years ago
Fernando Sahmkow
a87ff9181b
GPU: Implement additional render target formats.
3 years ago
Fernando Sahmkow
f4291e4576
Fermi2D: Rework blit engine and add a software blitter.
3 years ago
Liam
5a712bb51a
general: fix compile for Apple Clang
3 years ago
Feng Chen
bcf6a7c0dd
video_core: Fix SNORM texture buffer emulating error ( #9001 )
3 years ago
Morph
c6c56d3e9c
general: Resolve -Wunused-lambda-capture and C5233
4 years ago
Morph
d481ac5a0c
format_lookup_table: Implement R32_B24G8 with D32_FLOAT_S8_UINT
This format is similar to Z32_FLOAT_X24S8_UINT, which is implemented with D32_FLOAT_S8_UINT.
Used in Persona 5 Royal
4 years ago
Morph
14a89390d2
video_core: Fix spelling of "synchronize"
4 years ago
Kelebek1
37845e1228
Update 3D regs
4 years ago
Morph
5ee9e5e84b
general: Format licenses as per SPDX guidelines
4 years ago
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