Fernando Sahmkow
15c634806b
Vulkan: Fix the checks for primitive restart extension.
4 years ago
Fernando Sahmkow
ce7c3bdf0c
Vulkan: implement Logical Operations.
4 years ago
Fernando Sahmkow
790bbcb016
Vulkan: Implement VK_EXT_primitive_topology_list_restart
4 years ago
Morph
052c01db9a
renderer_vulkan: Add R16G16_UINT
- Used by Immortals Fenyx Rising
4 years ago
Morph
39a49776b6
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
83aec496da
vk_texture_cache: Fix unsupported blit format error checking
5 years ago
Feng Chen
bc7104cd76
vulkan_device: Add missing vulkan image format R5G6B5 in GetFormatProperties
- Used by Dragon Quest Builders
5 years ago
ameerj
d44cd612a0
vk_texture_cache: Disable cube compatibility flag on non-mesa AMD GCN4 and earlier
Fixes rainbow textures on BOTW.
5 years ago
Fernando Sahmkow
6a6e2407f8
Vulkan Rasterizer: Correct DepthBias/PolygonOffset on Vulkan.
5 years ago
ameerj
43d59a4bbe
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
abf9900d82
Revert "Merge pull request #7006 from FernandoS27/a-motherfucking-driver"
This reverts commit 9ac9c85ecd , reversing
changes made to e99525fb5b .
5 years ago
ameerj
ccf4fa3aaa
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
17e879aa56
Vulkan: Disable VK_EXT_SAMPLER_FILTER_MINMAX in GCN AMD since it's broken.
5 years ago
Fernando Sahmkow
a3f4f92e7e
Vulkan: Blacklist Int8Float16 Extension on AMD on driver 21.9.1
5 years ago
Fernando Sahmkow
dbe8a4fc2f
Vulkan/Descriptors: Increase sets per pool on AMFD propietary driver.
5 years ago
ameerj
584fc3cb71
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
56cabe631b
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
f8f27b6caf
vulkan_memory_allocator: Respect bufferImageGranularity
5 years ago
ReinUsesLisp
482c1ec8e5
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
Lioncash
be66e2a272
vulkan_wrapper: Fix SetObjectName() always indicating objects as images
We should be using the passed in object type instead.
5 years ago
ReinUsesLisp
6c7f6e1228
vulkan_device: Blacklist Volta and older from VK_KHR_push_descriptor
Causes crashes on Link's Awakening intro. It's hard to debug if it's our
fault due to bugs in validation layers.
5 years ago
ReinUsesLisp
b654537f0f
maxwell_to_vk: Add R16_SNORM
5 years ago
lat9nq
52f2fe7b52
vulkan_device: Add missing include algorithm
5 years ago
ameerj
d965b7200a
vulkan_device: Blacklist ampere devices from float16 math
5 years ago
ReinUsesLisp
e8d458a81d
vulkan_device: Enable VK_EXT_extended_dynamic_state on RADV 21.2 onward
5 years ago
ReinUsesLisp
1c7c65087d
vk_graphics_pipeline: Implement smooth lines
5 years ago
ReinUsesLisp
bd0796d52f
vk_graphics_pipeline: Implement line width
5 years ago
ReinUsesLisp
b1df436cef
shader: Rework varyings and implement passthrough geometry shaders
Put all varyings into a single std::bitset with helpers to access it.
Implement passthrough geometry shaders using host's.
5 years ago
ReinUsesLisp
649c9cca0f
vk_graphics_pipeline: Implement conservative rendering
5 years ago
ReinUsesLisp
0a75c400e3
shader: Emulate 64-bit integers when not supported
Useful for mobile and Intel Xe devices.
5 years ago
ReinUsesLisp
b3bf0d4ebb
vk_graphics_pipeline: Use VK_KHR_push_descriptor when available
~51% faster on Nvidia compared to previous method.
5 years ago
ReinUsesLisp
52be21495e
shader: Add support for native 16-bit floats
5 years ago
ReinUsesLisp
a9a5f5b535
vulkan_device: Blacklist VK_EXT_vertex_input_dynamic_state on Intel
5 years ago
lat9nq
3a70b6c79b
shader: Add shader loop safety check settings
Also add a setting for enable Nsight Aftermath.
5 years ago
ReinUsesLisp
59a989f149
vulkan_device: Enable VK_EXT_vertex_input_dynamic_state
5 years ago
ReinUsesLisp
1805ba1763
vulkan: Add VK_EXT_vertex_input_dynamic_state support
Reduces the number of total pipelines generated on Vulkan.
Tested on Super Smash Bros. Ultimate.
5 years ago
ReinUsesLisp
969f76707c
vulkan: Use VK_EXT_provoking_vertex when available
5 years ago
ReinUsesLisp
11fab60557
nsight_aftermath_tracker: Fix SPIR-V module writes
5 years ago
ReinUsesLisp
ccea376e34
vulkan: Conditionally use shaderInt16
Add support for Polaris AMD devices.
5 years ago
ReinUsesLisp
7207ef07f4
vulkan: Enable depth bounds and use it conditionally
Intel devices pre-Xe don't support this.
5 years ago
ReinUsesLisp
ae786ee784
vulkan_device: Enable float64 and int64 conditionally
Add Intel Xe support.
5 years ago
ReinUsesLisp
5ca5988c63
shader: Initial OpenGL implementation
5 years ago
ReinUsesLisp
d835906b9f
vulkan_device: Require shaderClipDistance and shaderCullDistance features
5 years ago
Rodrigo Locatti
72b10edd15
shader: Fix bugs and build issues on GCC
5 years ago
ReinUsesLisp
9b691a28d8
shader: Require dual source blending
5 years ago
ReinUsesLisp
cc96469019
shader: Implement PIXLD.MY_INDEX
5 years ago
ReinUsesLisp
b6b541e36a
spirv: Implement ViewportMask with NV_viewport_array2
5 years ago
ReinUsesLisp
38908d0f7e
shader: Implement tessellation shaders, polygon mode and invocation id
5 years ago
ReinUsesLisp
c84c2ab88c
spirv: Rework storage buffers and shader memory
5 years ago
ameerj
62c3bef607
shader: Implement ATOM/S and RED
5 years ago