summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | common: Introduce useful tree structures.Gravatar bunnei2021-01-114-0/+1641
| | | | | | | | | |
* | | | | | | | | | core: hle: kernel: Update KSynchronizationObject.Gravatar bunnei2021-01-1133-621/+397
| | | | | | | | | |
* | | | | | | | | | core: hle: kernel: Begin moving common SVC results to its own header.Gravatar bunnei2021-01-112-0/+21
| | | | | | | | | |
* | | | | | | | | | hle: service: nfp: Remove incorrect signaling behavior in GetDeviceState.Gravatar bunnei2021-01-111-6/+0
| |_|_|_|_|/ / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #5229 from Morph1984/fullscreen-optGravatar bunnei2021-01-101-3/+39
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | yuzu/main: Add basic command line arguments
| * | | | | | | | | yuzu/main: Add basic command line argumentsGravatar Morph2020-12-251-3/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following command line arguments are supported: yuzu.exe "path_to_game" - Launches a game at "path_to_game" yuzu.exe -f - Launches the next game in fullscreen yuzu.exe -g "path_to_game" - Launches a game at "path_to_game" yuzu.exe -f -g "path_to_game" - Launches a game at "path_to_game" in fullscreen
* | | | | | | | | | Merge pull request #5324 from Morph1984/docked-defaultGravatar LC2021-01-105-6/+6
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | | config: Enable docked mode by default
| * | | | | | | | | config: Enable docked mode by defaultGravatar Morph2021-01-105-6/+6
| | |_|_|_|_|_|_|/ | |/| | | | | | |
* | | | | | | | | Merge pull request #5312 from german77/overclockenabledGravatar bunnei2021-01-102-1/+10
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | apm: Stub IsCpuOverclockEnabled
| * | | | | | | | Stub IsCpuOverclockEnabledGravatar german2021-01-082-1/+10
| | |/ / / / / / | |/| | | | | |
* | | | | | | | cmake: Enforce C4101Gravatar Morph2021-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This matches GCC's -Wunused-variable
* | | | | | | | yuzu_cmd: Silence unreferenced local variable warningGravatar Morph2021-01-101-2/+0
| | | | | | | |
* | | | | | | | Merge pull request #5320 from ReinUsesLisp/div-ceil-typeGravatar LC2021-01-091-5/+5
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | common/div_ceil: Return numerator type
| * | | | | | | | common/div_ceil: Return numerator typeGravatar ReinUsesLisp2021-01-091-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes instances where DivCeil(u32, u64) would surprisingly return u64, instead of the more natural u32.
* | | | | | | | | general: Resolve C4062 warnings on MSVCGravatar Morph2021-01-092-0/+4
| | | | | | | | |
* | | | | | | | | cmake: Enforce C4062, C4265, C4388, and C5038Gravatar ReinUsesLisp2021-01-091-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should match some warnings we treat as errors on gcc and clang, caching bugs early and reducing the number of instances where we have to edit commits to make CI happy when developing from Windows.
* | | | | | | | | file_sys/registered_cache: Silence virtual functions without override warningsGravatar ReinUsesLisp2021-01-091-4/+4
| | | | | | | | |
* | | | | | | | | core: Silence unhandled enum in switch warningsGravatar ReinUsesLisp2021-01-082-10/+5
| | | | | | | | |
* | | | | | | | | tests/ring_buffer: Silence signed/unsigned mismatch warningsGravatar ReinUsesLisp2021-01-081-15/+15
|/ / / / / / / /
* | | | | | | | Merge pull request #5231 from ReinUsesLisp/dyn-bindingsGravatar bunnei2021-01-083-26/+12
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | renderer_vulkan/fixed_pipeline_state: Move enabled bindings to static state
| * | | | | | | renderer_vulkan/fixed_pipeline_state: Move enabled bindings to static stateGravatar ReinUsesLisp2020-12-253-26/+12
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without using VK_EXT_robustness2, we can't consider the 'enabled' (not null) vertex buffers as dynamic state, as this leads to invalid Vulkan state. Move this to static state that is always hashed and compared in the pipeline key. The bits for enabled vertex buffers are moved into the attribute state bitfield. This is not 'correct' as it's not an attribute state, but that struct has bits to spare, and it's used in an array of 32 elements (the exact same number of vertex buffer bindings).
* | | | | | | remove inaccurate referenceGravatar Ameer J2021-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | Co-authored-by: LC <mathew1800@gmail.com>
* | | | | | | fix for nvdec disabled, cleanup host1xGravatar ameerj2021-01-073-72/+23
| | | | | | |
* | | | | | | nvdec syncpt incorporationGravatar ameerj2021-01-0711-37/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | laying the groundwork for async gpu, although this does not fully implement async nvdec operations
* | | | | | | vulkan_library: Common::DynamicLibrary::Open is [[nodiscard]]Gravatar MerryMage2021-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore the return value on __APPLE__ systems as well
* | | | | | | texture_cache: Replace PAGE_SHIFT with PAGE_BITSGravatar MerryMage2021-01-071-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PAGE_SHIFT is a #define in system headers that leaks into user code on some systems
* | | | | | | Merge pull request #5288 from ReinUsesLisp/workaround-garbageGravatar Morph2021-01-0612-120/+148
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | gl_texture_cache: Avoid format views on Intel and AMD
| * | | | | | | gl_texture_cache: Avoid format views on Intel and AMDGravatar ReinUsesLisp2021-01-0411-21/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Intel and AMD proprietary drivers are incapable of rendering to texture views of different formats than the original texture. Avoid creating these at a cache level. This will consume more memory, emulating them with copies.
| * | | | | | | gl_texture_cache: Create base images with sRGBGravatar ReinUsesLisp2021-01-042-99/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This breaks accelerated decoders trying to imageStore into images with sRGB. The decoders are currently disabled so this won't cause issues at runtime.
* | | | | | | | Merge pull request #5293 from ReinUsesLisp/return-valuesGravatar bunnei2021-01-056-8/+13
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | core: Enforce C4715 (not all control paths return a value)
| * | | | | | | | core: Enforce C4715 (not all control paths return a value)Gravatar ReinUsesLisp2021-01-051-0/+2
| | | | | | | | |
| * | | | | | | | core: Silence warnings when compiling without assertsGravatar ReinUsesLisp2021-01-055-8/+11
| | | | | | | | |
* | | | | | | | | Merge pull request #5289 from ReinUsesLisp/vulkan-deviceGravatar bunnei2021-01-0531-62/+55
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | vulkan_common: Move device abstraction to the common directory and allow surfaceless devices
| * | | | | | | | vulkan_device: Allow creating a device without surfaceGravatar ReinUsesLisp2021-01-041-3/+3
| | | | | | | | |
| * | | | | | | | renderer_vulkan/nsight_aftermath_tracker: Move to vulkan_commonGravatar ReinUsesLisp2021-01-045-30/+21
| | | | | | | | |
| * | | | | | | | renderer_vulkan: Move device abstraction to vulkan_commonGravatar ReinUsesLisp2021-01-0429-29/+31
| | | | | | | | |
* | | | | | | | | Merge pull request #5292 from ReinUsesLisp/empty-setGravatar LC2021-01-041-2/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | vk_rasterizer: Skip binding empty descriptor sets on compute
| * | | | | | | | | vk_rasterizer: Skip binding empty descriptor sets on computeGravatar ReinUsesLisp2021-01-041-2/+4
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes unit tests where compute shaders had no descriptors in the set, making Vulkan drivers crash when binding an empty set.
* | | | | | | | | Merge pull request #5261 from gal20/hide_mouse_patchGravatar bunnei2021-01-044-19/+24
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | yuzu/main: Fix 'Hide mouse on inactivity' and port citra-emu/citra#5476
| * | | | | | | | | yuzu/main: fix mouse not showing on move and port citra-emu/citra#5476Gravatar gal202020-12-314-19/+24
| | | | | | | | | |
* | | | | | | | | | buffer_queue: Protect queue_sequence list access with a mutexGravatar ameerj2021-01-042-13/+21
| |_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | fixes a data race as this is an unprotected variable manipulated by multiple threads
* | | | | | | | | Merge pull request #5286 from ReinUsesLisp/rename-vk-deviceGravatar Rodrigo Locatti2021-01-0452-169/+166
|\ \ \ \ \ \ \ \ \ | |_|/ / / / / / / |/| | | | | | | | renderer_vulkan: Rename VKDevice to Device
| * | | | | | | | renderer_vulkan: Rename VKDevice to DeviceGravatar ReinUsesLisp2021-01-0352-169/+166
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "VK" prefix predates the "Vulkan" namespace. It was carried around the codebase for consistency. "VKDevice" currently is a bad alias with "VkDevice" (only an upcase character of difference) that can cause confusion. Rename all instances of it.
* | | | | | | | Merge pull request #5285 from lioncash/error-strGravatar Rodrigo Locatti2021-01-033-2/+8
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | main: Resolve error string not displaying
| * | | | | | | main: Resolve error string not displayingGravatar Lioncash2021-01-033-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During the transition to make the error dialog translatable, I accidentally got rid of the conversion to ResultStatus, which prevented operator<< from being invoked during formatting. This adds a function to directly retrieve the result status string instead so that it displays again.
* | | | | | | | Merge pull request #5230 from ReinUsesLisp/vulkan-commonGravatar Rodrigo Locatti2021-01-0360-486/+574
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | vulkan_common: Move reusable Vulkan abstractions to a separate directory
| * | | | | | | vulkan_instance: Allow different Vulkan versions and enforce 1.1Gravatar ReinUsesLisp2020-12-317-41/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For listing the available physical devices we can use Vulkan 1.0. Now that MoltenVK supports 1.1 we can require it for running games. Add missing documentation.
| * | | | | | | vk_device: Use an array to report lacking device limitsGravatar ReinUsesLisp2020-12-311-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes easier to add and tune the required device limits.
| * | | | | | | vk_device: Stop initialization when device is not suitableGravatar ReinUsesLisp2020-12-312-61/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VKDevice::IsSuitable was not being called. To address this issue, check suitability before initialization and throw an exception if it fails. By doing this, we can deduplicate some code on queue searches. Previosuly we would first search if a present and graphics queue existed, then on initialization we would search again to find the index.
| * | | | | | | renderer_vulkan: Remove two step initialization on VKDeviceGravatar ReinUsesLisp2020-12-316-31/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Vulkan device abstraction either initializes successfully on the constructor or throws a Vulkan exception.