vulkan-validationlayers/prov.diff

25 lines
2.1 KiB
Diff

From: Jan Engelhardt <jengelh@inai.de>
Date: 2020-11-25 18:43:25.152168697 +0100
---
layers/shader_validation.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
Index: Vulkan-ValidationLayers-1.2.161/layers/shader_validation.cpp
===================================================================
--- Vulkan-ValidationLayers-1.2.161.orig/layers/shader_validation.cpp
+++ Vulkan-ValidationLayers-1.2.161/layers/shader_validation.cpp
@@ -2227,9 +2227,9 @@ bool CoreChecks::ValidateShaderCapabilit
// Should be non-EXT token, but Android SPIRV-Headers are out of date, and the token value is the same anyway
{spv::CapabilityPhysicalStorageBufferAddressesEXT, {"VkPhysicalDeviceBufferDeviceAddressFeaturesEXT::bufferDeviceAddress", &VkPhysicalDeviceVulkan12Features::bufferDeviceAddress, &DeviceExtensions::vk_khr_buffer_device_address}},
- {spv::CapabilityRayTracingProvisionalKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayTracing", &VkPhysicalDeviceRayTracingFeaturesKHR::rayTracing, &DeviceExtensions::vk_khr_ray_tracing}},
- {spv::CapabilityRayQueryProvisionalKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayQuery", &VkPhysicalDeviceRayTracingFeaturesKHR::rayQuery, &DeviceExtensions::vk_khr_ray_tracing}},
- {spv::CapabilityRayTraversalPrimitiveCullingProvisionalKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayTracingPrimitiveCulling", &VkPhysicalDeviceRayTracingFeaturesKHR::rayTracingPrimitiveCulling, &DeviceExtensions::vk_khr_ray_tracing}},
+ {spv::CapabilityRayTracingKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayTracing", &VkPhysicalDeviceRayTracingFeaturesKHR::rayTracing, &DeviceExtensions::vk_khr_ray_tracing}},
+ {spv::CapabilityRayQueryKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayQuery", &VkPhysicalDeviceRayTracingFeaturesKHR::rayQuery, &DeviceExtensions::vk_khr_ray_tracing}},
+ {spv::CapabilityRayTraversalPrimitiveCullingKHR, {"VkPhysicalDeviceRayTracingFeaturesKHR::rayTracingPrimitiveCulling", &VkPhysicalDeviceRayTracingFeaturesKHR::rayTracingPrimitiveCulling, &DeviceExtensions::vk_khr_ray_tracing}},
};
// clang-format on