All of these tests expect to be able to write to storage buffers; check
for the vertexPipelineStoresAndAtomics or fragmentStoresAndAtomics
features as appropriate.
VK-GL-CTS Issue: 1777
Components: Vulkan
Affects: dEQP-VK.memory_model.*
Change-Id: I51adeda82ba7af22368c239a6abfc481479700f1
TCU_THROW(NotSupportedError, "64-bit integer shared atomics not supported");
}
}
+ if (m_data.stage == STAGE_VERTEX)
+ {
+ if (!context.getDeviceFeatures().vertexPipelineStoresAndAtomics)
+ {
+ TCU_THROW(NotSupportedError, "vertexPipelineStoresAndAtomics not supported");
+ }
+ }
+ if (m_data.stage == STAGE_FRAGMENT)
+ {
+ if (!context.getDeviceFeatures().fragmentStoresAndAtomics)
+ {
+ TCU_THROW(NotSupportedError, "fragmentStoresAndAtomics not supported");
+ }
+ }
}