mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-21 14:59:02 +00:00
Fix test_vulkan_interop_buffer validation errors for Int8 storage shader (#2603)
Fixes vulkan validation layer error: Vulkan validation layer: Validation Error: [ VUID-VkShaderModuleCreateInfo-pCode-08740 ] | MessageID = 0x6e224e9 | vkCreateComputePipelines(): pCreateInfos[0].stage SPIR-V Capability Int8 was declared, but one of the following requirements is required (VkPhysicalDeviceVulkan12Features::shaderInt8). The Vulkan spec states: If pCode is a pointer to SPIR-V code, and pCode declares any of the capabilities listed in the SPIR-V Environment appendix, one of the corresponding requirements must be satisfied (https://vulkan.lunarg.com/doc/view/1.3.275.0/linux/1.3-extensions/vkspec.html#VUID-VkShaderModuleCreateInfo-pCode-08740)
This commit is contained in:
@@ -148,7 +148,8 @@ public:
|
||||
VulkanDevice(
|
||||
const VulkanPhysicalDevice &physicalDevice = getVulkanPhysicalDevice(),
|
||||
const VulkanQueueFamilyToQueueCountMap &queueFamilyToQueueCountMap =
|
||||
getDefaultVulkanQueueFamilyToQueueCountMap());
|
||||
getDefaultVulkanQueueFamilyToQueueCountMap(),
|
||||
bool useShaderInt8 = false);
|
||||
virtual ~VulkanDevice();
|
||||
const VulkanPhysicalDevice &getPhysicalDevice() const;
|
||||
VulkanQueue &
|
||||
|
||||
Reference in New Issue
Block a user