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
Liam
c6b7c191ea
buffer_cache: reset cached write bits after flushing invalidations
4 years ago
ameerj
59cea3d34d
codec: Plug GPU decoder memory leak
4 years ago
ameerj
cd9aebaec0
codec: Disable HW_FRAMES method check on Windows
It was reported that this method causes crashes on certain Linux decoding backends, hence the check to avoid it.
This subsequently caused Windows GPU decoders to never be selected and always fall back to CPU decoding, disable the check on Windows for now.
4 years ago
Fernando Sahmkow
6182828ec5
BufferCache: Find direction of the stream buffer increase.
4 years ago
ameerj
f9709bb9e9
general: Fix clang/gcc build errors
4 years ago
ameerj
e70b4f3fc5
common: Reduce unused includes
4 years ago
ameerj
b837219423
video_core: Reduce unused includes
4 years ago