summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-05-02configure_graphics: No there isn't a hyphen in VSynclat9nq
Most sources seem to suggest VSync and not V-Sync
2023-05-02configure_input_player: Add missing includelat9nq
Cleaning up includes in bootmanager and configure_graphics has exposed a missing include here.
2023-05-02configure_graphics: Clean up includes [IWYU]lat9nq
2023-05-02bootmanager: Clean up includes [IWYU]lat9nq
bootmanager: Remove system-specific headers IWYU can be too complete I suppose.
2023-05-02configure_graphics: Actively find present modeslat9nq
When Vulkan devices are enumerated, this also determines the available present modes for each device, maps them to a vector, and gives those options to the user. OpenGL options are limited to On/Off. Required creating a VkSurfaceKHR during device enumeration, which may or may not be desireable. For the sake of a less confusing UI. Also fixes a bug where if a graphics device disappears on the host, we don't try and select the non-existant devices. configure_graphics: Remove vsync runtime lock for Vulkan configure_graphics: Recommend Mailbox present mode configure_graphics: Fix type-limits warning configure_graphics: Clean up includes configure_graphics: Add tooltip
2023-05-02vk_swapchain: Use certain modes for unlockedlat9nq
Uses mailbox, then immediate for unlocked framerate depending on support for either. Also adds support for FIFO_RELAXED. This function now assumes vsync_mode was originially configured to a value that the driver supports. vk_swapchain: ChooseSwapPresentMode determines updates Simplifies swapchain a bit and allows us to change the present mode during guest runtime. vk_swapchain: Fix MSVC error vk_swapchain: Enforce available present modes Some frontends don't check the value of vsync_mode before comitting it. Just as well, since a driver update or misconfiguration could problems in the swap chain. vk_swapchain: Silence warnings Silences GCC warnings implicit-fallthrough and shadow, which apparently are not enabled on clang.
2023-05-02bootmanager: Remove inaccurate switchlat9nq
Those vulkan settings do not correspond 1:1 to the swap intervals that they set for OpenGL, so remove it. bootmanager: Add missing include I didn't add this log why did it break
2023-05-02qt_common: Move window info function out of bootmanagerlat9nq
Function is useful outside of bootmanager, so put it in a common place. qt_common: Add missing include qt_common: Add some newlines qt_common: Add trailing newline qt_common: Add trainline newline
2023-05-02vulkan_surface: Pass only window info for surface creationlat9nq
We don't need the whole EmuWindow when creating a surface, and it creates onerous requirements outside of typical usage for creating a surface elsewhere.
2023-05-02settings: Enable FIFO relaxedlat9nq
Not entirely sure if we need this, but there's also no reason not to support it. settings: Give VSyncMode values
2023-05-02configure_graphics: Fix another typolat9nq
2023-05-02telemetry_session: Make translate function staticlat9nq
Addresses review feedback Co-authored-by: Lioncash <mathew1800@gmail.com>
2023-05-02bootmanager: Return value in impossible caselat9nq
The setting is ranged, so this return statement is unreachable. But GCC can't tell I guess.
2023-05-02configure_graphics: Fix typolat9nq
2023-05-02default_ini: Update V-Sync descriptionlat9nq
default_ini: Update vsync text default_ini: Add tooltip from configure_graphics
2023-05-02configuration: Expose separate swap present modeslat9nq
Previously, yuzu would try and guess which vsync mode to use given different scenarios, but apparently we didn't always get it right. This exposes the separate modes in a drop-down the user can select. If a mode isn't available in Vulkan, it defaults to FIFO.
2023-05-02Merge pull request #9973 from GPUCode/async-presentbunnei
Implement asynchronous presentation
2023-05-02Merge pull request #10133 from lat9nq/clang-shadow-and-fallthroughliamwhite
CMakeLists: Enable more checks on Clang
2023-05-02Merge pull request #10130 from liamwhite/keysliamwhite
qt: warn on inoperable keys
2023-05-02Merge pull request #10123 from Kelebek1/sample_maskliamwhite
Define SampleMask as an array
2023-05-02CMake: Enable type limits on Clanglat9nq
2023-05-02CMakeLists: Enable checks on Clanglat9nq
Enables shadow-uncaptured-locals and implicit-fallthrough for Clang. implicit-fallthrough is not enabled by default in -Wall or -Wextra, and shadow-uncaptured-local doesn't seem to be enabled by default by -Wshadow, even though GCC has both of these by their respective cases.
2023-05-01vk_present_manager: Add toggle for async presentationGPUCode
2023-05-01vk_blit_screen: Recreate FSR when frame is recreatedGPUCode
* Depends on the layout dimentions and thus should be recreated as well
2023-05-01renderer_vulkan: Fix crashing when updating descriptorsGPUCode
* During pipeline configure the function would acquire some payload space from the descriptor update queue, write the descriptor data on the GPU thread and give the scheduler a pointer to the beginning of said space to update it later. TickFrame resets the payload cursor, used to track acquires, back to the beginning of the buffer. This wasn't a problem before since WaitWorker was called at the end of the frame but now it is. If a frame writes to a cursor before the scheduler catches up, it will crash * To fix this the payload buffer has been increased to account for the in flight frames that are allowed to exist now. TickFrame will switch between the payload spaces instead of resetting
2023-05-01renderer_vulkan: Async presentationGPUCode
2023-05-01Merge pull request #10084 from FernandoS27/yuzu-goes-broom-broomMorph
Y.F.C Buffer Cache Revamp
2023-05-01Merge pull request #10116 from liamwhite/deboostliamwhite
kernel: remove boost intrusive lists
2023-05-01BufferCache: Fixes and address feedbackFernando Sahmkow
2023-04-30qt: warn on inoperable keysLiam
2023-04-30Define SampleMask as an arrayKelebek1
2023-04-29Merge pull request #10110 from Morph1984/intel-disable-computebunnei
vk_pipeline_cache: Skip compute pipelines on Intel proprietary drivers
2023-04-29kernel: remove general boost listsLiam
2023-04-29common: add intrusive list typeLiam
2023-04-29Texture Cache: Release stagging buffers on tick frameFernando Sahmkow
2023-04-29Buffer Cache: Release stagging buffers on tick frameFernando Sahmkow
2023-04-29Tests: Add memory tracker tests.Fernando Sahmkow
2023-04-29Clang: format and ficx compile errors.Fernando Sahmkow
2023-04-29Implement Async downloads in normal and fix a few issues.Fernando Sahmkow
2023-04-29Buffer Cache rework: Setup async downloads.Fernando Sahmkow
2023-04-29Buffer Cache: Fully rework the buffer cache.Fernando Sahmkow
2023-04-29Address Feedback & Clang FormatFernando Sahmkow
2023-04-29Maxwell3D: only update parameters on HighFernando Sahmkow
2023-04-29Accelerate DMA: Use texture cache async downloads to perform the copiesFernando Sahmkow
to host. WIP
2023-04-29TextureCache: refactor DMA downloads to allow multiple buffers.Fernando Sahmkow
2023-04-28vk_pipeline_cache: Skip compute pipelines on Intel proprietary driversMorph
Intel's SPIR-V shader compiler is broken. For now, skip compiling any compute pipelines until they fix this issue. This is not a perfect workaround, as there are a small subset of non-compute pipelines that still cause it to crash, but this should cover the majority of crashes. It is unfortunate that even with a test case reported 6 months ago the issue has not been fixed in favor of fixing "the most popular games and apps". Intel, you can do better than this.
2023-04-24Merge pull request #10051 from liamwhite/surface-capabilitiesFernando S
vulkan: pick alpha composite flags based on available values
2023-04-24Merge pull request #10056 from vonchenplus/audout_uFernando S
core: audio: return result when audio_out initialize failed
2023-04-24Merge pull request #10069 from liamwhite/logFernando S
maxwell_3d: fix out of bounds array access in size estimation
2023-04-22maxwell_3d: fix out of bounds array access in size estimationLiam