deUint8* ptr = reinterpret_cast<unsigned char *>(m_vertexBuffer->getBoundMemory().getHostPtr());
deMemcpy(ptr, &m_data[0], static_cast<size_t>(dataSize));
- vk::flushMappedMemoryRange(m_vk, device,
- m_vertexBuffer->getBoundMemory().getMemory(),
- m_vertexBuffer->getBoundMemory().getOffset(),
- dataSize);
+ vk::flushAlloc(m_vk, device, m_vertexBuffer->getBoundMemory());
const CmdPoolCreateInfo cmdPoolCreateInfo(m_context.getUniversalQueueFamilyIndex());
m_cmdPool = vk::createCommandPool(m_vk, device, &cmdPoolCreateInfo);
const vk::VkQueue queue = m_context.getUniversalQueue();
const vk::VkDevice device = m_context.getDevice();
+ if (!m_context.getDeviceFeatures().depthBiasClamp)
+ TCU_THROW(NotSupportedError, "depthBiasClamp feature is not supported");
+
beginRenderPass();
// set states here