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
Andrea Pappacoda
0c214cb5b9
fix: typos
4 years ago
Fernando Sahmkow
e9e671d101
GPU Garbage Collection: Fix regressions.
4 years ago
ameerj
3e489782e1
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
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
Fernando Sahmkow
9872d4bc4f
GC: Address Feedback.
4 years ago
bunnei
ca12a77670
hle: nvflinger: Migrate android namespace -> Service::android.
4 years ago
bunnei
7f4165fc05
hle: vi: Integrate new NVFlinger and HosBinderDriverServer service.
5 years ago
bunnei
05d80fba38
hle: nvflinger: Move BufferTransformFlags to its own header.
5 years ago
bunnei
d456b9d554
hle: nvflinger: Move PixelFormat to its own header.
5 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