Liam
cbe5b8a13e
video_core: differentiate between tiled and untiled framebuffer sizes for unaccelerated copies
4 years ago
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
lat9nq
d41ffb592c
Revert "vulkan_device: Block AMDVLK's VK_KHR_push_descriptor"
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
25429998e3
bounded_threadsafe_queue: Use constexpr capacity and mask
While this is the primary change, we also:
- Remove the mpsc namespace and rename Queue to MPSCQueue
- Make Slot a private struct within MPSCQueue
- Remove the AlignedAllocator template argument, as we use std::allocator
- Replace instances of mask + 1 with capacity, and mask + 2 with capacity + 1
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
ebecdd3a74
general: fix compilation on MinGW GCC 12
4 years ago
Liam
084d7d6b01
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Morph
efc89c032b
CMakeLists: Make variable shadowing a compile-time error
Now that the entire project is free of variable shadowing, we can enforce this as a compile time error to prevent any further introduction of this logic bug.
4 years ago
Levi Behunin
4dd6bcd206
gpu_thread: Move to bounded queue
4 years ago
Billy Laws
ea89cf8639
Maxwell3D: Fix 3D semaphore counter type 0 handling
Counter type 0 actually releases the semaphore payload rather than a constant zero as was previously thought. This is required by Skyrim.
4 years ago
Liam
989d4a7a41
core/debugger: Improved stepping mechanism and misc fixes
4 years ago
lat9nq
b43ae9d5ed
vulkan_library: Add debug logging
4 years ago
lat9nq
3a8c2ae328
vulkan_device: Workaround extension bug
A bug occurs in yuzu when VK_KHR_workgroup_memory_explicit_layout is
available but 16-bit integers are not supported in the host driver.
Disable usage of the extension when this case arises.
4 years ago
lat9nq
7f53cd1e96
vulkan_device: Block AMDVLK's VK_KHR_push_descriptor
Recent AMD Vulkan drivers (22.5.2 or 2.0.226 for specifically Vulkan)
have a broken VK_KHR_push_descriptor implementation that causes a crash
in yuzu. Disable it for the time being.
4 years ago
Alexandre Bouvier
020982508d
video_core: Support new VkResult
4 years ago
Morph
370d3fa1e3
video_core/surface: Use u8 for PixelFormat block tables
Using this smaller type saves 33280 bytes in the compiled executable.
4 years ago
Morph
b3f8c7ce58
codecs/vp9: Use u8 for norm and map luts
Using this smaller type saves 1536 bytes in the compiled executable.
4 years ago
Liam
e7ba9fd7e1
maxwell_dma: use fallback if remapping is enabled
4 years ago
Liam
e158951695
video_core/macro: clear code on upload address assignment
4 years ago
Fernando Sahmkow
5562ae9cc5
VideoCore: Add option to dump the macros.
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
4 years ago
Liam
7fe5004f90
video_core/macro_jit_x64: warn on invalid parameter access
4 years ago
Liam
b317f54f22
OpenGL: implement face flips according to NDC
4 years ago
Liam
4f1a2c2562
maxwell_dma: fix bytes per pixel
4 years ago
Lody
535bc61b4c
vk_rasterizer: fix stencil test when two faces are disabled
4 years ago
Liam
709d7fd92c
GCC 12 fixes
4 years ago
Andrea Pappacoda
01cf05bc75
chore: add missing SPDX tags
Follow-up to 99ceb03a1c
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
german77
3e77466b86
bootmanager: Don't create another screenshot request if previous one is not done yet
4 years ago
Fernando Sahmkow
f783883bf8
video_core: implement formats for N64 emulation
4 years ago
Liam
d4571b123d
buffer_cache: cap vertex buffer sizes
4 years ago
Liam
a24e7ba61b
maxwell3d: add small_index_2 register
4 years ago
Merry
bbc585881a
video_core: Replace lock_guard with scoped_lock
4 years ago
Liam
52ebdd42c6
OpenGL: fix S8D24 to ABGR8 conversions
4 years ago
bunnei
02473ea7d5
Revert "texture_cache/util: Remove unneeded ReadBlockUnsafe"
4 years ago
ameerj
494c41dd5a
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
Liam
b7be6a4316
OpenGL: fix cropping
4 years ago
Liam
c59c035d74
Vulkan: crop to screen dimensions if crop not explicitly requested
4 years ago
Liam
a57531854e
OpenGL: propagate face flip condition
4 years ago
Liam
cb913e5c02
OpenGL: flip front faces if Z scale is inverted
4 years ago