Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-02-09 | gpu: dependency-inject scaling/antialiasing filter state for capture layers | Liam | 1 | -7/+7 | |
2024-01-31 | nvnflinger/gpu: implement layer stack composition | Liam | 1 | -1/+1 | |
2024-01-31 | renderer_vulkan: implement layer stack composition | Liam | 1 | -344/+34 | |
2024-01-31 | renderer_vulkan: convert FSR to graphics pipeline | Liam | 1 | -3/+3 | |
2024-01-31 | renderer_vulkan: split up blit screen resources into separate antialias and window adapt passes | Liam | 1 | -797/+148 | |
2024-01-31 | renderer_vulkan: isolate FXAA from blit screen | Liam | 1 | -358/+14 | |
2024-01-31 | video_core: consistently account for resolution scaling when rendering | Liam | 1 | -2/+4 | |
2024-01-31 | video_core: simplify accelerated surface fetch and crop handling between APIs | Liam | 1 | -66/+23 | |
2024-01-19 | SMMU: Initial adaptation to video_core. | Fernando Sahmkow | 1 | -8/+9 | |
2023-12-03 | renderer_vulkan: do not recreate swapchain for srgb | Liam | 1 | -19/+13 | |
2023-12-01 | vk_blit_screen: Use correct format for fxaa renderpass | GPUCode | 1 | -1/+1 | |
2023-10-28 | renderer_vulkan: fix FSR cropping | Liam | 1 | -60/+70 | |
2023-10-28 | renderer_vulkan: fix cropping for presentation | Liam | 1 | -46/+55 | |
2023-10-06 | Implement X8_D24 format | Kelebek1 | 1 | -0/+1 | |
2023-07-27 | vk_descriptor_pool: Disallow descriptor set free | GPUCode | 1 | -2/+2 | |
2023-06-18 | renderer_vulkan: Use VMA for buffers | GPUCode | 1 | -4/+2 | |
2023-06-18 | renderer_vulkan: Use VMA for images | GPUCode | 1 | -11/+1 | |
2023-06-11 | android: Fix screen orientation & blurriness. | bunnei | 1 | -47/+0 | |
2023-06-08 | vk_blit_screen: use higher bit depth for fxaa | Liam | 1 | -4/+4 | |
2023-06-03 | android: Fix presentation layout on foldable and tablet devices. | bunnei | 1 | -8/+47 | |
2023-06-03 | video_core: vk_swapchain: Fix image format for Android. | bunnei | 1 | -0/+5 | |
2023-06-03 | video_core: vk_blit_screen: Rotate viewport for Android landscape. | bunnei | 1 | -0/+8 | |
2023-05-01 | vk_blit_screen: Recreate FSR when frame is recreated | GPUCode | 1 | -1/+1 | |
* Depends on the layout dimentions and thus should be recreated as well | |||||
2023-05-01 | renderer_vulkan: Async presentation | GPUCode | 1 | -114/+110 | |
2023-02-14 | remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency | arades79 | 1 | -2/+2 | |
Signed-off-by: arades79 <scravers@protonmail.com> | |||||
2023-02-14 | add static lifetime to constexpr values to force compile time evaluation where possible | arades79 | 1 | -2/+2 | |
Signed-off-by: arades79 <scravers@protonmail.com> | |||||
2022-12-08 | video_core: Integrate SMAA | Liam | 1 | -2/+21 | |
Co-authored-by: goldenx86 <goldenx86@users.noreply.github.com> Co-authored-by: BreadFish64 <breadfish64@users.noreply.github.com> | |||||
2022-11-23 | general: fix compile for Apple Clang | Liam | 1 | -0/+1 | |
2022-10-30 | vk_blit_screen: recreate swapchain images on guest format change | Liam | 1 | -1/+5 | |
2022-10-06 | vulkan_blitter: Fix pool allocation double free. | Byte | 1 | -4/+9 | |
2022-08-20 | video_core: support framebuffer crop rect top not zero | vonchenplus | 1 | -6/+12 | |
2022-07-28 | video_core: differentiate between tiled and untiled framebuffer sizes for unaccelerated copies | Liam | 1 | -9/+7 | |
2022-07-19 | video_core: use correct byte size for framebuffer | Liam | 1 | -5/+8 | |
2022-06-27 | video_core: Replace VKSwapchain with Swapchain | german77 | 1 | -2/+1 | |
2022-06-27 | video_core: Replace VKScheduler with Scheduler | german77 | 1 | -2/+2 | |
2022-06-27 | video_core: Replace VKBlitScreen with BlitScreen | german77 | 1 | -44/+44 | |
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 1 | -3/+2 | |
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. | |||||
2022-04-04 | Vulkan: crop to screen dimensions if crop not explicitly requested | Liam | 1 | -2/+3 | |
2022-03-25 | hle: nvflinger: Migrate android namespace -> Service::android. | bunnei | 1 | -5/+5 | |
2022-03-25 | hle: nvflinger: Move PixelFormat to its own header. | bunnei | 1 | -5/+5 | |
2022-03-19 | video_core: Reduce unused includes | ameerj | 1 | -2/+0 | |
2022-02-24 | vk_blit_screen: Add missing format bgra8 | Lody | 1 | -0/+2 | |
2021-12-05 | vk_blit_screen: Minor refactor of filter pipeline selection | ameerj | 1 | -21/+16 | |
2021-11-16 | FSR: Fix GCC build errors | ameerj | 1 | -8/+11 | |
2021-11-16 | Presentation: Only use FP16 in scaling shaders on supported devices in Vulkan | Marshall Mohror | 1 | -4/+13 | |
2021-11-16 | Vulkan: Fix FXAA in AMD. | Fernando Sahmkow | 1 | -2/+40 | |
2021-11-16 | Vulkan: Implement FXAA | FernandoS27 | 1 | -21/+369 | |
2021-11-16 | VideoCore: Add gaussian filtering. | FernandoS27 | 1 | -0/+49 | |
2021-11-16 | Presentation: Fix turning FSR on and off in settings | Marshall Mohror | 1 | -0/+11 | |
2021-11-16 | Presentation: add Nearest Neighbor filter. | Fernando Sahmkow | 1 | -7/+34 | |
2021-11-16 | vulkan: Implement FidelityFX Super Resolution | Marshall Mohror | 1 | -15/+47 | |
2021-11-16 | Renderers: Unify post processing filter shaders | ameerj | 1 | -4/+4 | |
2021-11-16 | Renderer: Implement Bicubic and ScaleForce filters. | Fernando Sahmkow | 1 | -8/+115 | |
2021-11-16 | Vulkan: Fix AA when rescaling. | Fernando Sahmkow | 1 | -1/+1 | |
2021-08-29 | vk_swapchain: Prefer linear swapchain format when presenting sRGB images | ameerj | 1 | -1/+1 | |
Fixes broken sRGB when presenting from a secondary GPU. | |||||
2021-08-16 | vk_blit_screen: Fix non-accelerated texture size calculation | ameerj | 1 | -1/+3 | |
Addresses the potential OOB access in UnswizzleTexture. | |||||
2021-07-29 | vk_blit_screen: Add public CreateFramebuffer method | ameerj | 1 | -14/+15 | |
2021-07-29 | vk_blit_screen: Make Draw method more generic | ameerj | 1 | -52/+62 | |
Allows specifying the framebuffer and render area dimensions, rather than being hard coded for the render window. | |||||
2021-07-23 | vk_scheduler: Allow command submission on worker thread | ReinUsesLisp | 1 | -49/+45 | |
This changes how Scheduler::Flush works. It queues the current command buffer to be sent to the GPU but does not do it immediately. The Vulkan worker thread takes care of that. Users will have to use Scheduler::Flush + Scheduler::WaitWorker to get the previous behavior. Scheduler::Finish is unchanged. To avoid waiting on work never queued, Scheduler::Wait sends the current command buffer if that's what the caller wants to wait. | |||||
2021-07-09 | configure_graphics: Use u8 for bg_color values | ameerj | 1 | -1/+4 | |
2021-02-13 | video_core: Reimplement the buffer cache | ReinUsesLisp | 1 | -5/+4 | |
Reimplement the buffer cache using cached bindings and page level granularity for modification tracking. This also drops the usage of shared pointers and virtual functions from the cache. - Bindings are cached, allowing to skip work when the game changes few bits between draws. - OpenGL Assembly shaders no longer copy when a region has been modified from the GPU to emulate constant buffers, instead GL_EXT_memory_object is used to alias sub-buffers within the same allocation. - OpenGL Assembly shaders stream constant buffer data using glProgramBufferParametersIuivNV, from NV_parameter_buffer_object. In theory this should save one hash table resolve inside the driver compared to glBufferSubData. - A new OpenGL stream buffer is implemented based on fences for drivers that are not Nvidia's proprietary, due to their low performance on partial glBufferSubData calls synchronized with 3D rendering (that some games use a lot). - Most optimizations are shared between APIs now, allowing Vulkan to cache more bindings than before, skipping unnecesarry work. This commit adds the necessary infrastructure to use Vulkan object from OpenGL. Overall, it improves performance and fixes some bugs present on the old cache. There are still some edge cases hit by some games that harm performance on some vendors, this are planned to be fixed in later commits. | |||||
2021-02-13 | gpu: Report renderer errors with exceptions | ReinUsesLisp | 1 | -7/+4 | |
Instead of using a two step initialization to report errors, initialize the GPU renderer and rasterizer on the constructor and report errors through std::runtime_error. | |||||
2021-01-15 | vulkan_memory_allocator: Add "download" memory usage hint | ReinUsesLisp | 1 | -2/+2 | |
Allow users of the allocator to hint memory usage for downloads. This removes the non-descriptive boolean passed for "host visible" or not host visible memory commits, and uses an enum to hint device local, upload and download usages. | |||||
2021-01-15 | vulkan_common: Move allocator to the common directory | ReinUsesLisp | 1 | -1/+1 | |
Allow using the abstraction from the OpenGL backend. | |||||
2021-01-15 | renderer_vulkan: Rename Vulkan memory manager to memory allocator | ReinUsesLisp | 1 | -4/+4 | |
"Memory manager" collides with the guest GPU memory manager, and a memory allocator sounds closer to what the abstraction aims to be. | |||||
2021-01-15 | vk_memory_manager: Improve memory manager and its API | ReinUsesLisp | 1 | -7/+5 | |
Fix a bug where the memory allocator could leave gaps between commits. To fix this the allocation algorithm was reworked, although it's still short in number of lines of code. Rework the allocation API to self-contained movable objects instead of naively using an unique_ptr to do the job for us. Remove the VK prefix. | |||||
2021-01-04 | renderer_vulkan: Move device abstraction to vulkan_common | ReinUsesLisp | 1 | -1/+1 | |
2021-01-03 | renderer_vulkan: Rename VKDevice to Device | ReinUsesLisp | 1 | -1/+1 | |
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. | |||||
2020-12-31 | vulkan_common: Rename renderer_vulkan/wrapper.h to vulkan_common/vulkan_wrapper.h | ReinUsesLisp | 1 | -1/+1 | |
Allows sharing Vulkan wrapper code between different rendering backends. | |||||
2020-12-30 | video_core: Rewrite the texture cache | ReinUsesLisp | 1 | -175/+126 | |
The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage.The current texture cache has several points that hurt maintainability and performance. It's easy to break unrelated parts of the cache when doing minor changes. The cache can easily forget valuable information about the cached textures by CPU writes or simply by its normal usage. This commit aims to address those issues. | |||||
2020-09-19 | renderer_vulkan: Make unconditional use of VK_KHR_timeline_semaphore | ReinUsesLisp | 1 | -18/+13 | |
This reworks how host<->device synchronization works on the Vulkan backend. Instead of "protecting" resources with a fence and signalling these as free when the fence is known to be signalled by the host GPU, use timeline semaphores. Vulkan timeline semaphores allow use to work on a subset of D3D12 fences. As far as we are concerned, timeline semaphores are a value set by the host or the device that can be waited by either of them. Taking advantange of this, we can have a monolithically increasing atomic value for each submission to the graphics queue. Instead of protecting resources with a fence, we simply store the current logical tick (the atomic value stored in CPU memory). When we want to know if a resource is free, it can be compared to the current GPU tick. This greatly simplifies resource management code and the free status of resources should have less false negatives. To workaround bugs in validation layers, when these are attached there's a thread waiting for timeline semaphores. | |||||
2020-09-06 | video_core: Remove all Core::System references in renderer | ReinUsesLisp | 1 | -9/+11 | |
Now that the GPU is initialized when video backends are initialized, it's no longer needed to query components once the game is running: it can be done when yuzu is booting. This allows us to pass components between constructors and in the process remove all Core::System references in the video backend. | |||||
2020-08-03 | vulkan: Silence more -Wmissing-field-initializer warnings | Lioncash | 1 | -0/+1 | |
2020-07-13 | video_core: Rearrange pixel format names | ReinUsesLisp | 1 | -2/+2 | |
Normalizes pixel format names to match Vulkan names. Previous to this commit pixel formats had no convention, leading to confusion and potential bugs. | |||||
2020-07-13 | vk_blit_screen: Make use of designated initializers where applicable | Lioncash | 1 | -334/+384 | |
Now that we make use of C++20, we can use designated initializers to make things a little nicer to read. | |||||
2020-04-15 | vk_blit_screen: Initialize all members in VkPipelineViewportStateCreateInfo | ReinUsesLisp | 1 | -0/+2 | |
When the dynamic state is specified, pViewports and pScissors are ignored, quoting the specification: pViewports is a pointer to an array of VkViewport structures, defining the viewport transforms. If the viewport state is dynamic, this member is ignored. That said, AMD's proprietary driver itself seem to read it regardless of what the specification says. | |||||
2020-04-11 | renderer_vulkan: Drop Vulkan-Hpp | ReinUsesLisp | 1 | -211/+412 | |
2020-01-20 | vk_blit_screen: Address feedback | ReinUsesLisp | 1 | -13/+15 | |
2020-01-20 | vk_blit_screen: Initial implementation | ReinUsesLisp | 1 | -0/+625 | |
This abstraction takes care of presenting accelerated and non-accelerated or "framebuffer" images to the Vulkan swapchain. |