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
bunnei
ca12a77670
hle: nvflinger: Migrate android namespace -> Service::android.
4 years ago
bunnei
d456b9d554
hle: nvflinger: Move PixelFormat to its own header.
5 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
8d45dd3b73
Vulkan: Use 3D helpers for MSAA scaling on NV drivers 510+
Nvidia Vulkan drivers 510+ crash when blitting MSAA images. Fall-back to 3D scale helpers for MSAA image scaling.
4 years ago
ameerj
866b7c20a8
general: Fix clang/gcc build errors
4 years ago
ameerj
1bc7d61b57
video_core: Reduce unused includes
4 years ago
ameerj
d618bba8a6
general: Reduce core.h includes
4 years ago
ameerj
4d840aa903
vk_texture_cache: Do not reinterpret DepthStencil source images
Fixes star pointer interactions in Super Mario Galaxy on some drivers, notably Nvidia.
Co-Authored-By: Fernando S. <1731197+fernandos27@users.noreply.github.com>
4 years ago
Liam
bcc2d7e69b
Vulkan: convert S8D24 <-> ABGR8
4 years ago
ameerj
e8c50e709e
emit_spirv, vk_compute_pass: Resolve VS2022 compiler errors
4 years ago
Liam
82c3042c0f
TextureCacheRuntime: allow converting D24S8 to ABGR8
I can't see how this would be useful, but Galaxy uses it.
4 years ago
Morph
e292b2d991
maxwell_to_(gl/vk): Add 11_11_10 float vertex format
- Used by パワプロクンポケットR
4 years ago
Lody
6978093404
vk_blit_screen: Add missing format bgra8
4 years ago
voidanix
7712e46d64
vulkan_device: fix missing format in ANV
Currently Mesa's ANV driver does not support
VK_FORMAT_B5G6R5_UNORM_PACK16, implement an alternative for it.
4 years ago
Fernando Sahmkow
8a6e6465a7
Rasterizer: Refactor inlineToMemory.
4 years ago
Fernando Sahmkow
35ed051742
Vulkan: Fix Scheduler Chunks when their FuncType is 0.
4 years ago
Fernando Sahmkow
4258d515e6
Rasterizer: Implement Inline2Memory Acceleration.
4 years ago
Lioncash
e7af84670d
vk_fsr: Replace comma operator with semicolon
Generally, we should be ending statements with a semicolon not a comma
Resolves a clang diagnostic.
4 years ago
Fernando Sahmkow
f58ee3f15f
ShaderDecompiler: Add a debug option to dump the game's shaders.
5 years ago
ameerj
f9e0681d59
vk_texture_cache: Use 3D scale helpers for MSAA texture scaling on Intel Windows drivers
Fixes a crash when scaling MSAA textures in titles such as Sonic Colors Ultimate.
5 years ago
ameerj
cbc0f0a66e
blit_image: Remove unused function
5 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.
5 years ago
vonchenplus
4908a07c20
Address format clang
5 years ago
Fernando Sahmkow
6c00151d17
Vulkan: Fix the checks for primitive restart extension.
5 years ago
Fernando Sahmkow
14d2c77f91
Vulkan: implement Logical Operations.
5 years ago
Fernando Sahmkow
6430fc29a9
Vulkan: Implement VK_EXT_primitive_topology_list_restart
5 years ago
Morph
14110230c7
maxwell_to_vk: Add ASTC_2D_5X4_UNORM
5 years ago
Morph
ae4869650a
maxwell_to_vk: Add ASTC_2D_8X5_UNORM
- Used by Lego City Undercover
5 years ago
Morph
47a724780f
renderer_vulkan: Add R16G16_UINT
- Used by Immortals Fenyx Rising
5 years ago
ameerj
228a381aed
vk_texture_cache: Add ABGR src format check for D24S8 conversions
5 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.
5 years ago
ameerj
35d94dcb2b
vk_texture_cache: Add a function to ImageView to check if src image is rescaled
5 years ago
ameerj
4a13f9eecd
blit_image: Refactor ConvertPipeline functions
5 years ago
ameerj
ad99bbf5fe
blit_image: Refactor ConvertPipelineEx functions
reduces much of the duplication between the color/depth variants
5 years ago
ameerj
b387a26f30
vk_blit_screen: Minor refactor of filter pipeline selection
5 years ago
ameerj
75c4aec8ab
Revert "Merge pull request #7395 from Morph1984/resolve-comments"
This reverts commit d20f91da11 , reversing
changes made to 5082712b4e .
5 years ago
Fernando Sahmkow
0902119302
Texture Cache: Always copy on NVIDIA.
5 years ago
Fernando Sahmkow
8532849439
TextureCache: Simplify blitting of D24S8 formats and fix bugs.
5 years ago
Fernando Sahmkow
d7f4434bd5
VulkanTexturECache: Use reinterpret on D32_S8 formats.
5 years ago
Morph
a41c6dafea
vk_texture_cache: Mark VkBufferUsageFlags as static constexpr
5 years ago
Morph
095bc88428
vk_blit_image: Consolidate CreatePipelineTargetEx functions
5 years ago
Fernando Sahmkow
da2fe81905
TextureCache: Refactor and fix linux compiling.
5 years ago
Fernando Sahmkow
0857f82913
TextureCache: Implement buffer copies on Vulkan.
5 years ago
Fernando Sahmkow
e02cff2f69
TextureCache: Add R16G16 to D24S8 converter.
5 years ago
Fernando Sahmkow
1d5e6a51d7
TextureCache: Add B10G11R11 to D24S8 converter.
5 years ago
Feng Chen
4dd85f86a8
Implement convert legacy to generic
5 years ago