{
CommandBuffer* const impl = reinterpret_cast<CommandBuffer*>(buffer);
- delete impl;
-
for (size_t ndx = 0; ndx < m_buffers.size(); ++ndx)
{
if (m_buffers[ndx] == impl)
{
std::swap(m_buffers[ndx], m_buffers.back());
m_buffers.pop_back();
+ delete impl;
return;
}
}
DE_ASSERT(m_flags & VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT);
DE_UNREF(m_flags);
- delete impl;
-
for (size_t ndx = 0; ndx < m_managedSets.size(); ++ndx)
{
if (m_managedSets[ndx] == impl)
{
std::swap(m_managedSets[ndx], m_managedSets.back());
m_managedSets.pop_back();
+ delete impl;
return;
}
}
{
const GlslTypeDescription& glslTypeDesc = s_glslTypeDescriptions[m_attributeInfos[attributeNdx].glslType];
- glslInputs << "layout(location = " << location << ") in highp " << glslTypeDesc.name << " attr" << attributeNdx << ";\n";
+ glslInputs << "layout(location = " << location << ") in " << glslTypeDesc.name << " attr" << attributeNdx << ";\n";
location += glslTypeDesc.vertexInputCount;
}