Liam
157981cac5
vulkan_common: add feature test for shaderDrawParameters
3 years ago
Liam
18831e0933
vulkan_common: clean up extension usage
3 years ago
Liam
ea56d8f388
vulkan_common: correct usage of timeline semaphore fallbacks
3 years ago
Liam
f23f875dd8
vulkan_common: ensure all mandatory features are tested in feature report
3 years ago
Liam
06a67d2bbd
vulkan_common: unsuffix 16-bit storage feature test structure
3 years ago
Liam
bbc1809951
vulkan_common: unsuffix timeline semaphore feature test structure
3 years ago
Liam
a9633ba8b2
vulkan_common: add logicOp to feature report
3 years ago
Liam
7fc6514be1
vulkan_common: promote host query reset usage to core
3 years ago
Liam
e44a804ec7
vulkan_common: promote descriptor update template usage to core
3 years ago
Liam
a948ab3e48
vulkan_common: promote timeline semaphore usage to core
3 years ago
Liam
2956a33463
Vulkan: update initialization
Co-authored-by: bylaws <bylaws@users.noreply.github.com>
3 years ago
Liam
9737615948
general: fix compile for Apple Clang
3 years ago
Byte
df6dffa30b
vulkan_blitter: Fix pool allocation double free.
4 years ago
Liam
c40cec5e58
renderer_vulkan: add format fallbacks for R16G16B16_SFLOAT, R16G16B16_SSCALED, R8G8B8_SSCALED
4 years ago
lat9nq
d41ffb592c
Revert "vulkan_device: Block AMDVLK's VK_KHR_push_descriptor"
4 years ago
Liam
084d7d6b01
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
lat9nq
b43ae9d5ed
vulkan_library: Add debug logging
4 years ago
lat9nq
3a8c2ae328
vulkan_device: Workaround extension bug
A bug occurs in yuzu when VK_KHR_workgroup_memory_explicit_layout is
available but 16-bit integers are not supported in the host driver.
Disable usage of the extension when this case arises.
4 years ago
lat9nq
7f53cd1e96
vulkan_device: Block AMDVLK's VK_KHR_push_descriptor
Recent AMD Vulkan drivers (22.5.2 or 2.0.226 for specifically Vulkan)
have a broken VK_KHR_push_descriptor implementation that causes a crash
in yuzu. Disable it for the time being.
4 years ago
Alexandre Bouvier
020982508d
video_core: Support new VkResult
4 years ago
Morph
99ceb03a1c
general: Convert source file copyright comments over to SPDX
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.
4 years ago
Fernando Sahmkow
f783883bf8
video_core: implement formats for N64 emulation
4 years ago
Andrea Pappacoda
0c214cb5b9
fix: typos
4 years ago
Fernando Sahmkow
9872d4bc4f
GC: Address Feedback.
4 years ago
Fernando Sahmkow
ecb3342145
Garbage Collection: Redesign the algorithm to do a better use of memory.
4 years ago
ameerj
8d45dd3b73
Vulkan: Use 3D helpers for MSAA scaling on NV drivers 510+
Nvidia Vulkan drivers 510+ crash when blitting MSAA images. Fall-back to 3D scale helpers for MSAA image scaling.
4 years ago
ameerj
1bc7d61b57
video_core: Reduce unused includes
4 years ago
Ameer J
5f8d6bc504
vulkan_device: Blacklist RADV on RDNA2 from VK_EXT_vertex_input_dynamic_state
RDNA2 devices running under the RADV driver were crashing when VK_EXT_vertex_input_dynamic_state was enabled.
Blacklisting these devices until a proper fix is established.
4 years ago
voidanix
7712e46d64
vulkan_device: fix missing format in ANV
Currently Mesa's ANV driver does not support
VK_FORMAT_B5G6R5_UNORM_PACK16, implement an alternative for it.
4 years ago
Georg Lehmann
d15814d39f
vulkan_device: Fix sType for VkPhysicalDeviceShaderAtomicInt64Features
4 years ago
ameerj
f9e0681d59
vk_texture_cache: Use 3D scale helpers for MSAA texture scaling on Intel Windows drivers
Fixes a crash when scaling MSAA textures in titles such as Sonic Colors Ultimate.
4 years ago
Fernando Sahmkow
6c00151d17
Vulkan: Fix the checks for primitive restart extension.
4 years ago
Fernando Sahmkow
14d2c77f91
Vulkan: implement Logical Operations.
4 years ago
Fernando Sahmkow
6430fc29a9
Vulkan: Implement VK_EXT_primitive_topology_list_restart
4 years ago
Morph
47a724780f
renderer_vulkan: Add R16G16_UINT
- Used by Immortals Fenyx Rising
4 years ago
Morph
dc61b7045b
renderer_vulkan: Implement S8_UINT stencil format
It should be noted that on Windows, only nvidia gpus support this format natively as of this commit.
4 years ago
ameerj
89a7e566c7
vk_texture_cache: Fix unsupported blit format error checking
5 years ago
Feng Chen
70d51f72ec
vulkan_device: Add missing vulkan image format R5G6B5 in GetFormatProperties
- Used by Dragon Quest Builders
4 years ago
ameerj
1e1ecca691
vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlier
Fixes rainbow textures on BOTW.
5 years ago
Fernando Sahmkow
60a3980561
Vulkan Rasterizer: Correct DepthBias/PolygonOffset on Vulkan.
5 years ago
ameerj
e3c153efa4
vulkan_device: Reorder Float16Int8 declaration
This variable was going out of scope before its usage in the vulkan device creation, causing a crash on very specific drivers.
5 years ago
ameerj
5601e1cb00
Revert "Merge pull request #7006 from FernandoS27/a-motherfucking-driver"
This reverts commit 62e88d0e74 , reversing
changes made to edf3da346f .
5 years ago
ameerj
db1c4b125f
vulkan_debug_callback: Ignore InvalidCommandBuffer-VkDescriptorSet errors
This validation error is spammed on some titles, asserting that VkDescriptorSet 0x0[] was destroyed.
This is likely a validation layer bug when using VK_KHR_push_descriptor, which can avoid using traditional VkDescriptorSet. It should be safe to ignore for now.
5 years ago
Fernando Sahmkow
7a712da2b3
Vulkan: Disable VK_EXT_SAMPLER_FILTER_MINMAX in GCN AMD since it's broken.
5 years ago
Fernando Sahmkow
e7c8a0bb23
Vulkan: Blacklist Int8Float16 Extension on AMD on driver 21.9.1
5 years ago
Fernando Sahmkow
e7ca37b1e5
Vulkan/Descriptors: Increase sets per pool on AMFD propietary driver.
5 years ago
ameerj
27f8f3333f
vulkan_device: Enable VK_KHR_swapchain_mutable_format if available
Silences validation errors when creating sRGB image views of linear swapchain images
5 years ago
ameerj
4d535799eb
vulkan_device: Add a check for int8 support
Silences validation errors when shaders use int8 without specifying its support to the API
5 years ago
Robin Kertels
bb29dcb7f2
vulkan_memory_allocator: Respect bufferImageGranularity
5 years ago
ReinUsesLisp
3b006f4fe2
renderer_vulkan: Add setting to log pipeline statistics
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.
5 years ago