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
Liam
dea5de91d2
buffer_cache: reset cached write bits after flushing invalidations
4 years ago
ameerj
15f9472b15
codec: Plug GPU decoder memory leak
4 years ago
ameerj
109566fc8f
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
3b0d233cbd
BufferCache: Find direction of the stream buffer increase.
4 years ago
ameerj
866b7c20a8
general: Fix clang/gcc build errors
4 years ago
ameerj
923decae5a
common: Reduce unused includes
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
6407f16d81
Address review comments
4 years ago
Liam
bcc2d7e69b
Vulkan: convert S8D24 <-> ABGR8
4 years ago
ameerj
5119a57614
maxwell_3d: Implement a safer CB data upload
This makes constant buffer uploads safer and more accurate by updating the GPU memory as soon as the CB Data method is invoked. The previous implementation was deferring the updates until a different maxwell 3d method was detected, then writing all CB data at once.
4 years ago
byte[]
be0e6a2bb4
Maxwell3D: Link to override constant definition in nouveau
4 years ago
byte[]
364c67e49b
Maxwell3D: restore original topology when topology overrides are disabled
4 years ago