Fixes binding_model tests check for shaderInt64
authorMatthew Netsch <quic_mnetsch@quicinc.com>
Tue, 27 Aug 2019 19:30:31 +0000 (15:30 -0400)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Wed, 4 Sep 2019 09:15:55 +0000 (05:15 -0400)
Components: Vulkan
VK-GL-CTS Issue: 1956

Affects:
dEQP-VK.binding_model.buffer_device_address.*.convert.*

Change-Id: I36d71e75eb3767d2f94ef260436b8c036f0c4ea1

external/vulkancts/modules/vulkan/binding_model/vktBindingBufferDeviceAddressTests.cpp

index 281f0ad..c996d32 100644 (file)
@@ -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");