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
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 @@
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");