summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | Rasterizer: Document SignalFence & ReleaseFences and setup skeletons on Vulkan.Gravatar Fernando Sahmkow2020-04-225-4/+35
| | | | | | | | | | |
| * | | | | | | | | | GPU: Fix rebase errors.Gravatar Fernando Sahmkow2020-04-222-4/+4
| | | | | | | | | | |
| * | | | | | | | | | Rasterizer: Disable fence managing in synchronous gpu.Gravatar Fernando Sahmkow2020-04-222-1/+11
| | | | | | | | | | |
| * | | | | | | | | | ThreadManager: Sync async reads on accurate gpu.Gravatar Fernando Sahmkow2020-04-229-8/+48
| | | | | | | | | | |
| * | | | | | | | | | FenceManager: Implement should wait.Gravatar Fernando Sahmkow2020-04-222-2/+17
| | | | | | | | | | |
| * | | | | | | | | | GPU: Implement a Fence Manager.Gravatar Fernando Sahmkow2020-04-226-23/+208
| | | | | | | | | | |
| * | | | | | | | | | OpenGL: Implement Fencing backend.Gravatar Fernando Sahmkow2020-04-2212-19/+94
| | | | | | | | | | |
| * | | | | | | | | | TextureCache: Flush linear textures after finishing rendering.Gravatar Fernando Sahmkow2020-04-221-2/+8
| | | | | | | | | | |
| * | | | | | | | | | GPU: Delay Fences.Gravatar Fernando Sahmkow2020-04-226-2/+20
| | | | | | | | | | |
| * | | | | | | | | | BufferCache: Implement OnCPUWrite and SyncGuestHostGravatar Fernando Sahmkow2020-04-226-7/+67
| | | | | | | | | | |
| * | | | | | | | | | GPU: Refactor synchronization on Async GPUGravatar Fernando Sahmkow2020-04-2211-7/+56
| | | | | | | | | | |
| * | | | | | | | | | Texture Cache: Implement OnCPUWrite and SyncGuestHostGravatar Fernando Sahmkow2020-04-222-3/+63
| | | | | | | | | | |
| * | | | | | | | | | UI: Replasce accurate GPU option for GPU Accuracy LevelGravatar Fernando Sahmkow2020-04-2212-28/+77
| | |_|_|_|_|_|/ / / | |/| | | | | | | |
* | | | | | | | | | Merge pull request #3767 from ReinUsesLisp/point-size-pipelineGravatar Mat M2020-04-221-2/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | vk_pipeline_cache: Fix unintentional memcpy into optional
| * | | | | | | | | | vk_pipeline_cache: Fix unintentional memcpy into optionalGravatar ReinUsesLisp2020-04-221-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | Merge pull request #3725 from MerryMage/fpcrGravatar bunnei2020-04-221-2/+1
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | thread: FPCR.FZ is likely not 1 (and FPCR.RMode = TieAway and FPCR.DN = 0)
| * | | | | | | | | | | thread: FPCR.FZ is likely not 1Gravatar MerryMage2020-04-191-2/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #3763 from H27CK/vk-cmdGravatar Fernando Sahmkow2020-04-221-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / |/| | | | | | | | | | | Add missing ;
| * | | | | | | | | | | Add missing ;Gravatar H27CK2020-04-221-1/+1
| | | | | | | | | | | |
* | | | | | | | | | | | Merge pull request #3758 from H27CK/vk-cmdGravatar bunnei2020-04-222-1/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce dummy context for yuzu-cmd VK support
| * | | | | | | | | | | Init SDL info structure and add dummy contextGravatar H27CK2020-04-222-1/+4
| | |_|_|_|/ / / / / / | |/| | | | | | | | |
* | | | | | | | | | | Merge pull request #3653 from ReinUsesLisp/nsight-aftermathGravatar Fernando Sahmkow2020-04-2212-77/+389
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / |/| | | | | | | | | | renderer_vulkan: Integrate Nvidia Nsight Aftermath on Windows
| * | | | | | | | | | renderer_vulkan: Integrate Nvidia Nsight Aftermath on WindowsGravatar ReinUsesLisp2020-04-149-22/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds optional support for Nsight Aftermath. It is enabled through ENABLE_NSIGHT_AFTERMATH in cmake. A path to the SDK has to be provided by the environment variable NSIGHT_AFTERMATH_SDK. Nsight Aftermath allows an application to generate "minidumps" of the GPU state when a device loss happens. By analysing these on Nsight we can know what a game was doing and why it triggered a device loss. The dump is generated inside %APPDATA%\yuzu\log\gpucrash and this directory is deleted every time a new instance is initialized with Nsight enabled. To enable it on yuzu there has a to be a driver and device capable of running Nsight Aftermath on Vulkan. That means only Turing based GPUs on the latest stable driver, beta drivers won't work for now. It is manually enabled in Configuration>Debug>Enable Graphics Debugging because when using all debugging capabilities there is a runtime cost.
| * | | | | | | | | | renderer_vulkan: Remove Nvidia checkpointsGravatar ReinUsesLisp2020-04-134-34/+0
| | | | | | | | | | |
| * | | | | | | | | | renderer_vulkan: Catch device losses in more placesGravatar ReinUsesLisp2020-04-133-21/+29
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #3699 from FearlessTobi/port-5185Gravatar bunnei2020-04-211-4/+3
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / |/| | | | | | | | | | Port citra-emu/citra#5185: "gdbstub: Fix some gdbstub jankiness"
| * | | | | | | | | | gdbstub: Fix some gdbstub jankinessGravatar MerryMage2020-04-171-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Ensure that register information available to gdbstub is most up-to-date. 2. There's no reason to check for current_thread == thread when emitting a trap. Doing this results in random hangs whenever a step happens upon a thread switch.
* | | | | | | | | | | Merge pull request #3714 from lioncash/copiesGravatar bunnei2020-04-211-3/+3
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | gl_shader_decompiler: Avoid copies where applicable
| * | | | | | | | | | | gl_shader_decompiler: Avoid copies where applicableGravatar Lioncash2020-04-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids unnecessary reference count increments where applicable and also avoids reallocating a vector. Unlikely to make a huge difference, but given how trivial of an amendment it is, why not?
* | | | | | | | | | | | Merge pull request #3745 from bunnei/fix-homebrew-loadGravatar bunnei2020-04-215-12/+35
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / / |/| | | | | | | | | | | Fix process memory initialization for ELF and NRO
| * | | | | | | | | | | loader: nro: Fix process initialization using ProgramMetadata default.Gravatar bunnei2020-04-202-11/+14
| | | | | | | | | | | |
| * | | | | | | | | | | loader: elf: Fix process initialization using ProgramMetadata default.Gravatar bunnei2020-04-201-0/+5
| | | | | | | | | | | |
| * | | | | | | | | | | file_sys: program_metadata: Add a helper function for generating reasonable ↵Gravatar bunnei2020-04-202-1/+16
| | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | default metadata. - We need this for homebrew process initialization.
* | | | | | | | | | | Merge pull request #3718 from ReinUsesLisp/better-pipeline-stateGravatar Rodrigo Locatti2020-04-216-479/+531
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fixed_pipeline_state: Pack structure, use memcmp and CityHash on it
| * | | | | | | | | | | fixed_pipeline_state: Hash and compare the whole structureGravatar ReinUsesLisp2020-04-182-105/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pad FixedPipelineState's size to 384 bytes to be a multiple of 16. Compare the whole struct with std::memcmp and hash with CityHash. Using CityHash instead of a naive hash should reduce the number of collisions. Improve used type traits to ensure this operation is safe. With these changes the improvements to the hashable pipeline state are: Optimized structure Hash: 89 ns Comparison: 103 ns Construction*: 164 ns Struct size: 384 bytes Original structure Hash: 148 ns Equal: 174 ns Construction*: 281 ns Size: 1384 bytes * Attribute state initialization is not measured These measures are averages taken with std::chrono::high_accuracy_clock on MSVC shipped on Visual Studio 16.6.0 Preview 2.1.
| * | | | | | | | | | | fixed_pipeline_state: Pack blending stateGravatar ReinUsesLisp2020-04-183-98/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce FixedPipelineState's size to 364 bytes.
| * | | | | | | | | | | fixed_pipeline_state: Pack rasterizer stateGravatar ReinUsesLisp2020-04-184-163/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce FixedPipelineState's size to 600 bytes.
| * | | | | | | | | | | fixed_pipeline_state: Pack depth stencil stateGravatar ReinUsesLisp2020-04-183-97/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce FixedPipelineState's size to 632 bytes.
| * | | | | | | | | | | fixed_pipeline_state: Pack attribute stateGravatar ReinUsesLisp2020-04-186-101/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce FixedPipelineState's size from 1384 to 664 bytes
* | | | | | | | | | | | Merge pull request #3698 from lioncash/warningGravatar bunnei2020-04-214-15/+17
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | General: Resolve minor assorted warnings
| * | | | | | | | | | | | key_manager: Resolve missing field initializer warningGravatar Lioncash2020-04-161-1/+2
| | | | | | | | | | | | |
| * | | | | | | | | | | | decode/memory: Resolve unused variable warningGravatar Lioncash2020-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only the first element of the returned pair is ever used.
| * | | | | | | | | | | | decode/texture: Resolve unused variable warnings.Gravatar Lioncash2020-04-161-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some variables aren't used, so we can remove these. Unfortunately, diagnostics are still reported on structured bindings even when annotated with [[maybe_unused]], so we need to unpack the elements that we want to use manually.
| * | | | | | | | | | | | decode/texture: Collapse loop down into std::generateGravatar Lioncash2020-04-161-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Same behavior, less code.
| * | | | | | | | | | | | decode/texture: Eliminate trivial missing field initializer warningsGravatar Lioncash2020-04-161-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We can just specify the initializers.
| * | | | | | | | | | | | time_zone_manager: Resolve sign conversion warningsGravatar Lioncash2020-04-161-2/+2
| | |_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ttis and ats will never exceed the length of INT32_MAX in our case, so this is safe.
* | | | | | | | | | | | Merge pull request #3724 from bunnei/fix-unicornGravatar bunnei2020-04-201-0/+11
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | core: arm_unicorn: Fix interpret fallback by temporarily mapping instruction page.
| * | | | | | | | | | | | core: arm_unicorn: Fix interpret fallback by temporarily mapping instruction ↵Gravatar bunnei2020-04-191-0/+11
| | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | page.
* | | | | | | | | | | | audio_renderer: Preliminary BehaviorInfo (#3736)Gravatar David2020-04-207-13/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * audio_renderer: Preliminary BehaviorInfo * clang format * Fixed IsRevisionSupported * fixed IsValidRevision * Fixed logic error & spelling errors & crash * Addressed issues
* | | | | | | | | | | | Merge pull request #3695 from ReinUsesLisp/default-attributesGravatar bunnei2020-04-201-0/+4
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | maxwell_3d: Initialize format attributes constant as one