Commit Graph

15333 Commits (505c206eb84783eabbf9e751d7726fb8916e1623)
 

Author SHA1 Message Date
ReinUsesLisp d9463f4562 vk_pipeline_cache: Fix unintentional memcpy into optional
The intention behind this was to assign a float to from an uint32_t, but
it was unintentionally being copied directly into the std::optional.

Copy to a temporary and assign that temporary to std::optional. This can
be replaced with std::bit_cast<float> once we are in C++20.
5 years ago
Fernando Sahmkow c043ac4f13 GL_Fence_Manager: use GL_TIMEOUT_IGNORED instead of a loop, 5 years ago
bunnei bee2c64b34
Merge pull request #3725 from MerryMage/fpcr
thread: FPCR.FZ is likely not 1 (and FPCR.RMode = TieAway and FPCR.DN = 0)
5 years ago
Mat M 6ce3d174b7
Merge pull request #3759 from H27CK/opus-mingw-w64
Set _FORTIFY_SOURCE=0 if building Opus with mingw-w64
5 years ago
Fernando Sahmkow 63d2ba4f69
Merge pull request #3763 from H27CK/vk-cmd
Add missing ;
5 years ago
H27CK 4d74578d35 Add missing ; 5 years ago
bunnei 5ed13304e1
Merge pull request #3758 from H27CK/vk-cmd
Introduce dummy context for yuzu-cmd VK support
5 years ago
Fernando Sahmkow afae40a99e
Merge pull request #3653 from ReinUsesLisp/nsight-aftermath
renderer_vulkan: Integrate Nvidia Nsight Aftermath on Windows
5 years ago
Fernando Sahmkow 4e37f1b113 Address Feedback. 5 years ago
Fernando Sahmkow 39e5b72948 Async GPU: Correct flushing behavior to be similar to old async GPU behavior. 5 years ago
Fernando Sahmkow 1b3be8a8f8 MaxwellDMA: Correct copying on accuracy level. 5 years ago
Fernando Sahmkow 644588fd88 ShaderCache/PipelineCache: Cache null shaders. 5 years ago
Fernando Sahmkow f616dc0b59 Address Feedback. 5 years ago
Fernando Sahmkow ec2f3e48e1 Fix GCC error. 5 years ago
Fernando Sahmkow 7f44f22451 Correct Linux Compile Error. 5 years ago
Fernando Sahmkow d2d4a6cbcf Clang format. 5 years ago
Fernando Sahmkow b3e5f177ba QueryCache: Only do async flushes on async gpu. 5 years ago
Fernando Sahmkow f4ab223ef0 Async GPU: Only do reactive flushing on Extreme Level. 5 years ago
ReinUsesLisp b752faf2d3 vk_fence_manager: Initial implementation 5 years ago
Fernando Sahmkow 0649f05900 QueryCache: Implement Async Flushes. 5 years ago
Fernando Sahmkow 131b342130 OpenGL: Guarantee writes to Buffers. 5 years ago
Fernando Sahmkow 1fb516cd97 GPU: Implement Flush Requests for Async mode. 5 years ago
Fernando Sahmkow b7bc3c2549 FenceManager: Manage syncpoints and rename fences to semaphores. 5 years ago
Fernando Sahmkow 96bb961a64 BufferCache: Refactor async managing. 5 years ago
Fernando Sahmkow b10db7e4a5 FenceManager: Implement async buffer cache flushes on High settings 5 years ago
Fernando Sahmkow 4adfc9bb08 Rasterizer: Document SignalFence & ReleaseFences and setup skeletons on Vulkan. 5 years ago
Fernando Sahmkow a081a7c855 GPU: Fix rebase errors. 5 years ago
Fernando Sahmkow e84eb64e51 Rasterizer: Disable fence managing in synchronous gpu. 5 years ago
Fernando Sahmkow 165ae823f5 ThreadManager: Sync async reads on accurate gpu. 5 years ago
Fernando Sahmkow 57fdbd9b89 FenceManager: Implement should wait. 5 years ago
Fernando Sahmkow 1f345ebe3a GPU: Implement a Fence Manager. 5 years ago
Fernando Sahmkow 487379c593 OpenGL: Implement Fencing backend. 5 years ago
Fernando Sahmkow ed7e965712 TextureCache: Flush linear textures after finishing rendering. 5 years ago
Fernando Sahmkow 339d0d9d6c GPU: Delay Fences. 5 years ago
Fernando Sahmkow 8b1eb44b3e BufferCache: Implement OnCPUWrite and SyncGuestHost 5 years ago
Fernando Sahmkow da8f17715d GPU: Refactor synchronization on Async GPU 5 years ago
Fernando Sahmkow a60a22d9c2 Texture Cache: Implement OnCPUWrite and SyncGuestHost 5 years ago
Fernando Sahmkow 084ceb925a UI: Replasce accurate GPU option for GPU Accuracy Level 5 years ago
Morph 91f1ffd283 Add a trailing separator to the string path
Fixes #3643
5 years ago
H27CK 52e66779e7 Set _FORTIFY_SOURCE=0 if building Opus with mingw-w64 5 years ago
H27CK c883cd103e Init SDL info structure and add dummy context 5 years ago
bunnei e84f82a028
Merge pull request #3699 from FearlessTobi/port-5185
Port citra-emu/citra#5185: "gdbstub: Fix some gdbstub jankiness"
5 years ago
ReinUsesLisp 6f47bd9641 vk_memory_manager: Remove unified memory model flag
All drivers (even Intel) seem to have a device local memory type that is
not host visible. Remove this flag so all devices follow the same path.

This fixes a crash when trying to map to host device local memory on
integrated devices.
5 years ago
bunnei d64290884a
Merge pull request #3714 from lioncash/copies
gl_shader_decompiler: Avoid copies where applicable
5 years ago
bunnei cd47ccec49
Merge pull request #3745 from bunnei/fix-homebrew-load
Fix process memory initialization for ELF and NRO
5 years ago
ReinUsesLisp 488ed8bd02 vk_rasterizer: Add lazy default buffer maker and use it for empty buffers
Introduce a default buffer getter that lazily constructs an empty
buffer. This is intended to match OpenGL's buffer 0.

Use this for disabled vertex and uniform buffers.

While we are at it, include vertex buffer usages for staging buffers to
silence validation errors.
5 years ago
ReinUsesLisp 0bbae63300 gl_rasterizer: Fix buffers without size
On NVN buffers can be enabled but have no size. According to deko3d and
the behavior we see in Animal Crossing: New Horizons these buffers get
the special address of 0x1000 and limit themselves to 0xfff.

Implement buffers without a size by binding a null buffer to OpenGL
without a side.

1d1930beea/source/maxwell/gpu_3d_vbo.cpp (L62-L63)
5 years ago
Rodrigo Locatti f293b15611
Merge pull request #3718 from ReinUsesLisp/better-pipeline-state
fixed_pipeline_state: Pack structure, use memcmp and CityHash on it
5 years ago
bunnei 9bf3abcb63
Merge pull request #3698 from lioncash/warning
General: Resolve minor assorted warnings
5 years ago
bunnei 48b670d132
Merge pull request #3724 from bunnei/fix-unicorn
core: arm_unicorn: Fix interpret fallback by temporarily mapping instruction page.
5 years ago