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
79bf4bc3ff
general: fix compilation on MinGW GCC 12
4 years ago
Liam
c1771c98f3
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Morph
e647661b76
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
9d5dc3c9b9
gpu_thread: Move to bounded queue
4 years ago
Billy Laws
a1216cfeee
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
da50e98e3a
core/debugger: Improved stepping mechanism and misc fixes
4 years ago
lat9nq
e7882e4bcb
vulkan_library: Add debug logging
4 years ago
lat9nq
adfd64ba59
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
3f2a89bb9d
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
a766e7d663
video_core: Support new VkResult
4 years ago
Morph
23aeada691
video_core/surface: Use u8 for PixelFormat block tables
Using this smaller type saves 33280 bytes in the compiled executable.
4 years ago
Morph
6780806c59
codecs/vp9: Use u8 for norm and map luts
Using this smaller type saves 1536 bytes in the compiled executable.
4 years ago
Liam
d20d4060e9
maxwell_dma: use fallback if remapping is enabled
4 years ago
Liam
fa2047970e
video_core/macro: clear code on upload address assignment
4 years ago
Fernando Sahmkow
df5dd2fd82
VideoCore: Add option to dump the macros.
Co-Authored-By: liamwhite <liamwhite@users.noreply.github.com>
4 years ago
Liam
bf91c63d70
video_core/macro_jit_x64: warn on invalid parameter access
4 years ago
Liam
455ea63f4a
OpenGL: implement face flips according to NDC
4 years ago
Liam
b6ed3289df
maxwell_dma: fix bytes per pixel
4 years ago
Lody
83f13c62e8
vk_rasterizer: fix stencil test when two faces are disabled
4 years ago
Liam
ee4d63cee5
GCC 12 fixes
4 years ago
Andrea Pappacoda
b2eb103829
chore: add missing SPDX tags
Follow-up to 2b87305d31
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
german77
e14b4ca537
bootmanager: Don't create another screenshot request if previous one is not done yet
4 years ago
Fernando Sahmkow
ba73142ce0
video_core: implement formats for N64 emulation
4 years ago
Liam
2d4f844b1b
buffer_cache: cap vertex buffer sizes
4 years ago
Liam
3bffb0464b
maxwell3d: add small_index_2 register
4 years ago
Merry
e8a60754e9
video_core: Replace lock_guard with scoped_lock
4 years ago
Liam
1027ffa911
OpenGL: fix S8D24 to ABGR8 conversions
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
Liam
27116accd9
OpenGL: fix cropping
4 years ago
Liam
b49aaadc87
Vulkan: crop to screen dimensions if crop not explicitly requested
4 years ago
Liam
a9d9b29461
OpenGL: propagate face flip condition
4 years ago
Liam
6c926f3cac
OpenGL: flip front faces if Z scale is inverted
4 years ago
Andrea Pappacoda
d9044f00e1
fix: typos
4 years ago
Fernando Sahmkow
29660bc55e
GPU Garbage Collection: Fix regressions.
4 years ago
ameerj
ddafe40dc1
gl_rasterizer: Avoid scenario locking already owned mutex
gpu.TickWork() may lock the texture_cache and buffer_cache mutexes, which are owned by the thread prior to invoking TickWork().
Defer invoking gpu.TickWork() until the scope ends, where the owned mutexes are released.
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
392612a2d3
GC: Address Feedback.
4 years ago
bunnei
1f6dcd3784
hle: nvflinger: Migrate android namespace -> Service::android.
4 years ago
bunnei
f1a91e0397
hle: vi: Integrate new NVFlinger and HosBinderDriverServer service.
4 years ago
bunnei
476f456d2f
hle: nvflinger: Move BufferTransformFlags to its own header.
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