Dereference the correct pointer to object and converting to int (flag)
via implicit converter.
Affects:
dEQP-VK.api.buffer_memory_requirements.*
Components: Vulkan
VK-GL-CTS issue: 3300
Change-Id: Id38991211b0dd65166dec3e75cf5f5f96309e1ff
DE_ASSERT(!m_config.usageFlags->empty());
for (auto u = m_config.usageFlags->cbegin(); u != m_config.usageFlags->cend(); ++u)
{
- const VkBufferUsageFlags infoUsageFlags = *u;
+ const VkBufferUsageFlags infoUsageFlags = *(u->get());
DE_ASSERT(!m_config.extMemHandleFlags->empty());
for (auto m = m_config.extMemHandleFlags->cbegin(); m != m_config.extMemHandleFlags->cend(); ++m)
{
- const VkExternalMemoryHandleTypeFlags handleFlags = *m;
+ const VkExternalMemoryHandleTypeFlags handleFlags = *(m->get());
void* pNext = nullptr;