Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-06-10 | shader_recompiler: translate f64 to f32 when unsupported on host | Liam | 1 | -0/+5 | |
2023-06-10 | shader_recompiler: remove barriers in conditional control flow when device lacks support | Liam | 1 | -0/+5 | |
2023-06-06 | Updated to lexicographical order suggestions | Carlos Estrague / Mrc_munir | 1 | -3/+3 | |
2023-06-06 | Make VK_EXT_robustness2 optional | Carlos Estrague / Mrc_munir | 1 | -4/+4 | |
For some reason nvidia implemented Vulkan 1.2 supported without support for VK_EXT_robustness2 in tegra X1/X2 . Fix vulkan work in TX1/TX2 L4T drivers . | |||||
2023-06-03 | android: video_core: Disable problematic compute shaders. | bunnei | 1 | -0/+4 | |
- Fixes #104. | |||||
2023-06-03 | video_core: Enable support_descriptor_aliasing on Turnip, disable storage atomic otherwise. | bunnei | 1 | -0/+5 | |
2023-06-03 | Implement scaled vertex buffer format emulation | Billy Laws | 1 | -0/+5 | |
These formats are unsupported by mobile GPUs so they need to be emulated in shaders instead. | |||||
2023-05-06 | Log object names with debug renderer, add a GPU address to ImageViews | Kelebek1 | 1 | -1/+2 | |
2023-04-15 | vulkan: use plain fences when timeline semaphores are not available | Liam | 1 | -1/+5 | |
2023-04-08 | video_core: Enable ImageGather with subpixel offset on Intel | Wollnashorn | 1 | -5/+0 | |
2023-04-08 | shader_recompiler: Add subpixel offset for correct rounding at `ImageGather` | Wollnashorn | 1 | -0/+5 | |
On AMD a subpixel offset of 1/512 of the texel size is applied to the texture coordinates at a ImageGather call to ensure the rounding at the texel centers is done the same way as in Maxwell or other Nvidia architectures. See https://www.reedbeta.com/blog/texture-gathers-and-coordinate-precision/ for more details why this might be necessary. This should fix shadow artifacts at object edges in Zelda: Breath of the Wild (#9957, #6956). | |||||
2023-03-12 | general: fix spelling mistakes | Liam | 1 | -4/+4 | |
2023-01-10 | vulkan_common: fix indirect draw with count | Liam | 1 | -0/+1 | |
2023-01-09 | vulkan_device: refactor feature testing | Liam | 1 | -148/+293 | |
2023-01-07 | renderer_vulkan: disable clock boost on unvalidated devices | Liam | 1 | -0/+2 | |
2023-01-05 | renderer_vulkan: implement fallback path for null descriptors | Liam | 1 | -0/+5 | |
2023-01-01 | MacroHLE: Final cleanup and fixes. | Fernando Sahmkow | 1 | -26/+26 | |
2023-01-01 | Vulkan: Implement Dynamic State 3 | Fernando Sahmkow | 1 | -6/+18 | |
2023-01-01 | Vulkan: Implement Dynamic States 2 | Fernando Sahmkow | 1 | -0/+17 | |
2023-01-01 | MacroHLE: Implement DrawIndexedIndirect & DrawArraysIndirect. | Fernando Sahmkow | 1 | -0/+1 | |
2022-12-14 | Vulkan: Add support for VK_EXT_depth_clip_control. | FernandoS27 | 1 | -0/+6 | |
2022-12-13 | Fix validation errors on less compatible Intel GPU | yzct12345 | 1 | -0/+10 | |
2022-12-04 | vulkan_common: clean up extension usage | Liam | 1 | -1/+1 | |
2022-11-27 | Vulkan: update initialization | Liam | 1 | -5/+11 | |
Co-authored-by: bylaws <bylaws@users.noreply.github.com> | |||||
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-03-25 | Garbage Collection: Redesign the algorithm to do a better use of memory. | Fernando Sahmkow | 1 | -0/+11 | |
2022-03-19 | video_core: Reduce unused includes | ameerj | 1 | -1/+0 | |
2022-02-21 | vulkan_device: fix missing format in ANV | voidanix | 1 | -0/+5 | |
Currently Mesa's ANV driver does not support VK_FORMAT_B5G6R5_UNORM_PACK16, implement an alternative for it. | |||||
2021-12-24 | vk_texture_cache: Use 3D scale helpers for MSAA texture scaling on Intel Windows drivers | ameerj | 1 | -0/+5 | |
Fixes a crash when scaling MSAA textures in titles such as Sonic Colors Ultimate. | |||||
2021-12-18 | Vulkan: Fix the checks for primitive restart extension. | Fernando Sahmkow | 1 | -7/+10 | |
2021-12-18 | Vulkan: Implement VK_EXT_primitive_topology_list_restart | Fernando Sahmkow | 1 | -0/+10 | |
2021-11-16 | vk_texture_cache: Fix unsupported blit format error checking | ameerj | 1 | -4/+4 | |
2021-09-24 | vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlier | ameerj | 1 | -0/+6 | |
Fixes rainbow textures on BOTW. | |||||
2021-09-23 | Vulkan Rasterizer: Correct DepthBias/PolygonOffset on Vulkan. | Fernando Sahmkow | 1 | -0/+5 | |
2021-09-13 | Vulkan/Descriptors: Increase sets per pool on AMFD propietary driver. | Fernando Sahmkow | 1 | -0/+5 | |
2021-08-29 | vulkan_device: Enable VK_KHR_swapchain_mutable_format if available | ameerj | 1 | -0/+6 | |
Silences validation errors when creating sRGB image views of linear swapchain images | |||||
2021-08-25 | vulkan_device: Add a check for int8 support | ameerj | 1 | -2/+8 | |
Silences validation errors when shaders use int8 without specifying its support to the API | |||||
2021-07-28 | renderer_vulkan: Add setting to log pipeline statistics | ReinUsesLisp | 1 | -0/+6 | |
Use VK_KHR_pipeline_executable_properties when enabled and available to log statistics about the pipeline cache in a game. For example, this is on Turing GPUs when generating a pipeline cache from Super Smash Bros. Ultimate: Average pipeline statistics ========================================== Code size: 6433.167 Register count: 32.939 More advanced results could be presented, at the moment it's just an average of all 3D and compute pipelines. | |||||
2021-07-23 | vulkan_device: Blacklist ampere devices from float16 math | ameerj | 1 | -3/+3 | |
2021-07-23 | vk_graphics_pipeline: Implement smooth lines | ReinUsesLisp | 1 | -0/+6 | |
2021-07-23 | shader: Rework varyings and implement passthrough geometry shaders | ReinUsesLisp | 1 | -0/+6 | |
Put all varyings into a single std::bitset with helpers to access it. Implement passthrough geometry shaders using host's. | |||||
2021-07-23 | vk_graphics_pipeline: Implement conservative rendering | ReinUsesLisp | 1 | -0/+6 | |
2021-07-23 | shader: Emulate 64-bit integers when not supported | ReinUsesLisp | 1 | -0/+5 | |
Useful for mobile and Intel Xe devices. | |||||
2021-07-23 | vk_graphics_pipeline: Use VK_KHR_push_descriptor when available | ReinUsesLisp | 1 | -0/+12 | |
~51% faster on Nvidia compared to previous method. | |||||
2021-07-23 | vulkan: Add VK_EXT_vertex_input_dynamic_state support | ReinUsesLisp | 1 | -0/+6 | |
Reduces the number of total pipelines generated on Vulkan. Tested on Super Smash Bros. Ultimate. | |||||
2021-07-23 | vulkan: Use VK_EXT_provoking_vertex when available | ReinUsesLisp | 1 | -0/+6 | |
2021-07-23 | vulkan: Conditionally use shaderInt16 | ReinUsesLisp | 1 | -0/+6 | |
Add support for Polaris AMD devices. | |||||
2021-07-23 | vulkan: Enable depth bounds and use it conditionally | ReinUsesLisp | 1 | -0/+6 | |
Intel devices pre-Xe don't support this. | |||||
2021-07-23 | vulkan_device: Enable float64 and int64 conditionally | ReinUsesLisp | 1 | -0/+2 | |
Add Intel Xe support. | |||||
2021-07-23 | shader: Fix bugs and build issues on GCC | Rodrigo Locatti | 1 | -1/+1 | |
2021-07-23 | spirv: Implement ViewportMask with NV_viewport_array2 | ReinUsesLisp | 1 | -0/+6 | |
2021-07-23 | shader: Implement ATOM/S and RED | ameerj | 1 | -0/+6 | |
2021-07-23 | nsight_aftermath_tracker: Report used shaders to Nsight Aftermath | ReinUsesLisp | 1 | -1/+2 | |
2021-07-23 | shader: Implement LDS, STS, LDL, and STS and use SPIR-V 1.4 when available | ReinUsesLisp | 1 | -15/+27 | |
2021-07-23 | shader: Implement VOTE | ameerj | 1 | -0/+6 | |
2021-07-23 | shader: Add denorm flush support | ReinUsesLisp | 1 | -16/+17 | |
2021-06-25 | vulkan_device: Make device memory match the rest of the file | ReinUsesLisp | 1 | -17/+16 | |
Match the style in the file. | |||||
2021-06-21 | video_core: Add GPU vendor name to window title bar | ameerj | 1 | -0/+3 | |
2021-06-17 | Reaper: Change memory restrictions on TC depending on host memory on VK. | Fernando Sahmkow | 1 | -0/+9 | |
2021-02-13 | vulkan_device: Require VK_EXT_robustness2 | ReinUsesLisp | 1 | -1/+0 | |
We are already using robustness2 features without requiring it explicitly, causing potential crashes on drivers without the extension. Requiring this at boot allows better diagnostics for it and formalizes our usage on the extension. | |||||
2021-02-13 | vulkan_common: Expose interop and headless devices | ReinUsesLisp | 1 | -2/+2 | |
2021-02-13 | gpu: Report renderer errors with exceptions | ReinUsesLisp | 1 | -1/+1 | |
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_device: Enable shaderStorageImageMultisample conditionally | ReinUsesLisp | 1 | -17/+18 | |
Fix Vulkan initialization on ANV. | |||||
2021-01-04 | renderer_vulkan/nsight_aftermath_tracker: Move to vulkan_common | ReinUsesLisp | 1 | -2/+3 | |
2021-01-04 | renderer_vulkan: Move device abstraction to vulkan_common | ReinUsesLisp | 1 | -0/+0 | |
2021-01-03 | renderer_vulkan: Rename VKDevice to Device | ReinUsesLisp | 1 | -4/+4 | |
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_instance: Allow different Vulkan versions and enforce 1.1 | ReinUsesLisp | 1 | -7/+2 | |
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. | |||||
2020-12-31 | vk_device: Stop initialization when device is not suitable | ReinUsesLisp | 1 | -2/+2 | |
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. | |||||
2020-12-31 | renderer_vulkan: Remove two step initialization on VKDevice | ReinUsesLisp | 1 | -3/+0 | |
The Vulkan device abstraction either initializes successfully on the constructor or throws a Vulkan exception. | |||||
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 | -0/+34 | |
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-08-20 | vk_device: Use Vulkan 1.0 properly | ReinUsesLisp | 1 | -3/+9 | |
Enable the required capabilities to use Vulkan 1.0 without validation errors and disable those that are not compatible with it. | |||||
2020-08-16 | Address feedback, add shader compile notifier, update setting text | ameerj | 1 | -1/+4 | |
2020-08-16 | Vk Async pipeline compilation | ameerj | 1 | -0/+5 | |
2020-07-16 | renderer_{opengl,vulkan}: Clamp shared memory to host's limit | ReinUsesLisp | 1 | -0/+5 | |
This stops shaders from failing to build when the exceed host's shared memory size limit. An error is logged. | |||||
2020-06-27 | vk_device: Enable VK_EXT_extended_dynamic_state when available | ReinUsesLisp | 1 | -0/+6 | |
2020-05-05 | vk_sampler_cache: Use VK_EXT_custom_border_color when available | ReinUsesLisp | 1 | -0/+6 | |
This should fix grass interactions on Breath of the Wild on Vulkan. It is currently untested against validation layers. Nvidia's Windows 443.09 beta driver or Linux 440.66.12 is required for now. | |||||
2020-05-04 | vk_graphics_pipeline: Implement viewport swizzles with NV_viewport_swizzle | ReinUsesLisp | 1 | -0/+6 | |
2020-04-22 | vk_memory_manager: Remove unified memory model flag | ReinUsesLisp | 1 | -5/+0 | |
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. | |||||
2020-04-14 | renderer_vulkan: Integrate Nvidia Nsight Aftermath on Windows | ReinUsesLisp | 1 | -1/+8 | |
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. | |||||
2020-04-13 | renderer_vulkan: Remove Nvidia checkpoints | ReinUsesLisp | 1 | -5/+0 | |
2020-04-11 | renderer_vulkan: Drop Vulkan-Hpp | ReinUsesLisp | 1 | -41/+37 | |
2020-04-07 | yuzu: Drop SDL2 and Qt frontend Vulkan requirements | ReinUsesLisp | 1 | -11/+10 | |
Create Vulkan instances and surfaces from the Vulkan backend. | |||||
2020-03-13 | vk_device: Enable VK_EXT_transform_feedback when available | ReinUsesLisp | 1 | -0/+6 | |
2020-03-13 | vk_device: Shrink formatless capability name size | ReinUsesLisp | 1 | -20/+19 | |
2020-02-19 | vk_device: add check for shaderStorageImageReadWithoutFormat | Nguyen Dac Nam | 1 | -0/+7 | |
2019-12-19 | vk_device: Add entry to catch device losses | ReinUsesLisp | 1 | -0/+9 | |
VK_NV_device_diagnostic_checkpoints allows us to push data to a Vulkan queue and then query it even after a device loss. This allows us to push the current pipeline object and see what was the call that killed the device. | |||||
2019-12-09 | vk_device: Misc changes | ReinUsesLisp | 1 | -17/+77 | |
- Setup more features and requirements. - Improve logging for missing features. - Collect telemetry parameters. - Add queries for more image formats. - Query push constants limits. - Optionally enable some extensions. | |||||
2019-09-13 | vk_device: Add miscellaneous features and minor style changes | ReinUsesLisp | 1 | -18/+44 | |
* Increase minimum Vulkan requirements * Require VK_EXT_vertex_attribute_divisor * Require depthClamp, samplerAnisotropy and largePoints features * Search and expose VK_KHR_uniform_buffer_standard_layout * Search and expose VK_EXT_index_type_uint8 * Search and expose native float16 arithmetics * Track current driver with VK_KHR_driver_properties * Query and expose SSBO alignment * Query more image formats * Improve logging overall * Minor style changes * Minor rephrasing of commentaries | |||||
2019-05-26 | vk_device: Enable features when available and misc changes | ReinUsesLisp | 1 | -15/+43 | |
Keeps track of native ASTC support, VK_EXT_scalar_block_layout availability and SSBO range. Check for independentBlend and vertexPipelineStorageAndAtomics as a required feature. Always enable it. Use vk::to_string format to log Vulkan enums. Style changes. | |||||
2019-02-13 | vk_device: Abstract device handling into a class | ReinUsesLisp | 1 | -0/+116 | |
VKDevice contains all the data required to manage and initialize a physical device. Its intention is to be passed across Vulkan objects to query device-specific data (for example the logical device and the dispatch loader). |