From 85658530e5627d8ff5bb4e58ee1adfc8a0fb4173 Mon Sep 17 00:00:00 2001 From: Matthew Netsch Date: Tue, 27 Aug 2019 15:30:31 -0400 Subject: [PATCH] Fixes binding_model tests check for shaderInt64 Components: Vulkan VK-GL-CTS Issue: 1956 Affects: dEQP-VK.binding_model.buffer_device_address.*.convert.* Change-Id: I36d71e75eb3767d2f94ef260436b8c036f0c4ea1 --- .../vulkan/binding_model/vktBindingBufferDeviceAddressTests.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/external/vulkancts/modules/vulkan/binding_model/vktBindingBufferDeviceAddressTests.cpp b/external/vulkancts/modules/vulkan/binding_model/vktBindingBufferDeviceAddressTests.cpp index 281f0ad..c996d32 100644 --- a/external/vulkancts/modules/vulkan/binding_model/vktBindingBufferDeviceAddressTests.cpp +++ b/external/vulkancts/modules/vulkan/binding_model/vktBindingBufferDeviceAddressTests.cpp @@ -163,6 +163,9 @@ void BufferAddressTestCase::checkSupport (Context& context) const if (m_data.set >= context.getDeviceProperties().limits.maxBoundDescriptorSets) TCU_THROW(NotSupportedError, "descriptor set number not supported"); + if (m_data.convertUToPtr == VK_TRUE && !context.getDeviceFeatures().shaderInt64) + TCU_THROW(NotSupportedError, "64-bit integers in shader not supported"); + if (m_data.bufType == BT_REPLAY && !context.getBufferDeviceAddressFeatures().bufferDeviceAddressCaptureReplay) TCU_THROW(NotSupportedError, "Capture/replay of physical storage buffer pointers not supported"); -- 2.7.4