Simple Motion component doesn't animate actors (#179)

Buffers that have InputAssembly bind flags but also have ShaderRead flags should create buffer views
This commit is contained in:
Tommy Walton
2021-04-21 00:37:51 -07:00
committed by GitHub
parent 041f68c238
commit b95865b2d8
@@ -205,7 +205,8 @@ namespace AZ
void Buffer::InitBufferView()
{
// Skip buffer view creation for input assembly buffers
if(RHI::CheckBitsAny(m_rhiBuffer->GetDescriptor().m_bindFlags, RHI::BufferBindFlags::InputAssembly | RHI::BufferBindFlags::DynamicInputAssembly))
if (m_rhiBuffer->GetDescriptor().m_bindFlags == RHI::BufferBindFlags::InputAssembly ||
m_rhiBuffer->GetDescriptor().m_bindFlags == RHI::BufferBindFlags::DynamicInputAssembly)
{
return;
}