Liam
382b41b18f
video_core: use correct byte size for framebuffer
4 years ago
bunnei
02282477e7
yuzu: settings: Remove framerate cap and merge unlocked framerate setting.
- These were all somewhat redundant.
4 years ago
Morph
aec129c1ab
renderer_(gl/vk): Implement ASTC_10x6_UNORM
- Used by Monster Hunter Rise Update 10.0.2
4 years ago
german77
c34a95fa25
video_core: Replace VKUpdateDescriptorQueue with UpdateDescriptorQueue
4 years ago
german77
b5d6194f6d
video_core: Replace VKSwapchain with Swapchain
4 years ago
german77
a5e419535f
video_core: Replace VKQueryCache with QueryCache
4 years ago
german77
9775fae4eb
video_core: Replace VKScheduler with Scheduler
4 years ago
german77
a262dc02b5
video_core: Replace VKBlitScreen with BlitScreen
4 years ago
german77
fca5752690
video_core: Replace VKFenceManager with FenceManager
4 years ago
Morph
4572634a4e
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
5568763a57
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
fcfe192e83
vk_compute_pass: Silence Wextra warning
Silences a warning about using enumerated and non-enumerated types in a conditional expression.
4 years ago
Liam
084d7d6b01
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Lody
535bc61b4c
vk_rasterizer: fix stencil test when two faces are disabled
4 years ago
Morph
213120a98b
renderer_vulkan: Update screen info if the framebuffer size has changed
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
Merry
bbc585881a
video_core: Replace lock_guard with scoped_lock
4 years ago
Liam
c59c035d74
Vulkan: crop to screen dimensions if crop not explicitly requested
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
bunnei
ca12a77670
hle: nvflinger: Migrate android namespace -> Service::android.
4 years ago
bunnei
d456b9d554
hle: nvflinger: Move PixelFormat to its own header.
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
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.
4 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.
4 years ago
ameerj
cbc0f0a66e
blit_image: Remove unused function
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
vonchenplus
4908a07c20
Address format clang
4 years ago
Fernando Sahmkow
6c00151d17
Vulkan: Fix the checks for primitive restart extension.
4 years ago
Fernando Sahmkow
14d2c77f91
Vulkan: implement Logical Operations.
4 years ago
Fernando Sahmkow
6430fc29a9
Vulkan: Implement VK_EXT_primitive_topology_list_restart
4 years ago
Morph
14110230c7
maxwell_to_vk: Add ASTC_2D_5X4_UNORM
4 years ago