Liam
bae82de100
video_core: use correct byte size for framebuffer
4 years ago
bunnei
e42a6ad7d9
yuzu: settings: Remove framerate cap and merge unlocked framerate setting.
- These were all somewhat redundant.
4 years ago
Morph
3cd5e47ee3
renderer_(gl/vk): Implement ASTC_10x6_UNORM
- Used by Monster Hunter Rise Update 10.0.2
4 years ago
german77
c0b4082192
video_core: Replace VKUpdateDescriptorQueue with UpdateDescriptorQueue
4 years ago
german77
1d54e70cdd
video_core: Replace VKSwapchain with Swapchain
4 years ago
german77
8944399d57
video_core: Replace VKQueryCache with QueryCache
4 years ago
german77
d7b293b022
video_core: Replace VKScheduler with Scheduler
4 years ago
german77
3003462a0f
video_core: Replace VKBlitScreen with BlitScreen
4 years ago
german77
c13b99f357
video_core: Replace VKFenceManager with FenceManager
4 years ago
Morph
ddc17d2088
vk_compute_pass: Explicitly cast to VkAccessFlags
According to the standard, a narrowing conversion is an implicit conversion from an integer or unscoped enumeration type to an integer type that cannot represent all the values of the original type, except when the value is a literal or constant expression.
MSVC, unlike GCC or Clang, determines this to be a narrowing conversion despite the enumeration exclusively containing values that fit within the range of a 32 bit integer, emitting a warning since designated initializers prohibit narrowing conversions.
To solve this, explicitly cast to the type we are initializing.
4 years ago
Morph
5c72801730
vk_compute_pass: Use VK_ACCESS_NONE
This enumeration was introduced in Vulkan 1.3, prefer using this instead of defaulting the enum.
Also resolves a narrowing conversion warning on MSVC.
4 years ago
Morph
b3d8533ad9
vk_compute_pass: Silence Wextra warning
Silences a warning about using enumerated and non-enumerated types in a conditional expression.
4 years ago
Liam
c1771c98f3
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Lody
83f13c62e8
vk_rasterizer: fix stencil test when two faces are disabled
4 years ago
Morph
1f621032e5
renderer_vulkan: Update screen info if the framebuffer size has changed
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
Merry
e8a60754e9
video_core: Replace lock_guard with scoped_lock
4 years ago
Liam
b49aaadc87
Vulkan: crop to screen dimensions if crop not explicitly requested
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
bunnei
1f6dcd3784
hle: nvflinger: Migrate android namespace -> Service::android.
4 years ago
bunnei
3396730b85
hle: nvflinger: Move PixelFormat to its own header.
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
9b1322ef20
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
f9709bb9e9
general: Fix clang/gcc build errors
4 years ago
ameerj
b837219423
video_core: Reduce unused includes
4 years ago
ameerj
1967757627
general: Reduce core.h includes
4 years ago
ameerj
8281bfa93d
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
aea505f83d
Vulkan: convert S8D24 <-> ABGR8
4 years ago
ameerj
048522e98b
emit_spirv, vk_compute_pass: Resolve VS2022 compiler errors
4 years ago
Liam
0a1d21d82e
TextureCacheRuntime: allow converting D24S8 to ABGR8
I can't see how this would be useful, but Galaxy uses it.
4 years ago
Morph
77514a45a6
maxwell_to_(gl/vk): Add 11_11_10 float vertex format
- Used by パワプロクンポケットR
4 years ago
Lody
d2369dc3a3
vk_blit_screen: Add missing format bgra8
4 years ago
voidanix
9891701985
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
9ebf1c00bd
Rasterizer: Refactor inlineToMemory.
4 years ago
Fernando Sahmkow
5df6c71472
Vulkan: Fix Scheduler Chunks when their FuncType is 0.
4 years ago
Fernando Sahmkow
19270ae4e6
Rasterizer: Implement Inline2Memory Acceleration.
4 years ago
Lioncash
4272d239b6
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
65387dd0a0
ShaderDecompiler: Add a debug option to dump the game's shaders.
4 years ago
ameerj
bb108db1de
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.
4 years ago
ameerj
b22cc82f64
blit_image: Remove unused function
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
vonchenplus
8fe519b656
Address format clang
4 years ago
Fernando Sahmkow
15c634806b
Vulkan: Fix the checks for primitive restart extension.
4 years ago
Fernando Sahmkow
ce7c3bdf0c
Vulkan: implement Logical Operations.
4 years ago
Fernando Sahmkow
790bbcb016
Vulkan: Implement VK_EXT_primitive_topology_list_restart
4 years ago
Morph
036cb348bf
maxwell_to_vk: Add ASTC_2D_5X4_UNORM
4 years ago