summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_device.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* renderer_{opengl,vulkan}: Clamp shared memory to host's limitReinUsesLisp2020-07-161-0/+5
| | | | | This stops shaders from failing to build when the exceed host's shared memory size limit. An error is logged.
* vk_device: Enable VK_EXT_extended_dynamic_state when availableReinUsesLisp2020-06-271-0/+6
|
* Merge pull request #3885 from ReinUsesLisp/viewport-swizzlesbunnei2020-05-081-0/+6
|\ | | | | video_core: Implement viewport swizzles with NV_viewport_swizzle
| * vk_graphics_pipeline: Implement viewport swizzles with NV_viewport_swizzleReinUsesLisp2020-05-041-0/+6
| |
* | vk_sampler_cache: Use VK_EXT_custom_border_color when availableReinUsesLisp2020-05-051-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.
* Merge pull request #3756 from ReinUsesLisp/integrated-devicesFernando Sahmkow2020-04-271-5/+0
|\ | | | | vk_memory_manager: Remove unified memory model flag
| * vk_memory_manager: Remove unified memory model flagReinUsesLisp2020-04-221-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.
* | renderer_vulkan: Integrate Nvidia Nsight Aftermath on WindowsReinUsesLisp2020-04-141-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.
* | renderer_vulkan: Remove Nvidia checkpointsReinUsesLisp2020-04-131-5/+0
|/
* renderer_vulkan: Drop Vulkan-HppReinUsesLisp2020-04-111-41/+37
|
* yuzu: Drop SDL2 and Qt frontend Vulkan requirementsReinUsesLisp2020-04-071-11/+10
| | | | Create Vulkan instances and surfaces from the Vulkan backend.
* vk_device: Enable VK_EXT_transform_feedback when availableReinUsesLisp2020-03-131-0/+6
|
* vk_device: Shrink formatless capability name sizeReinUsesLisp2020-03-131-20/+19
|
* vk_device: add check for shaderStorageImageReadWithoutFormatNguyen Dac Nam2020-02-191-0/+7
|
* vk_device: Add entry to catch device lossesReinUsesLisp2019-12-191-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.
* vk_device: Misc changesReinUsesLisp2019-12-091-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.
* vk_device: Add miscellaneous features and minor style changesReinUsesLisp2019-09-131-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
* vk_device: Enable features when available and misc changesReinUsesLisp2019-05-261-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.
* vk_device: Abstract device handling into a classReinUsesLisp2019-02-131-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).