message: Fixed false warning about zero indices for indirect draw/dispatch commands
diff: @@ -640,16 +640,17 @@ inline bool DeviceContextBase<BaseInterface, BufferImplType, TextureViewImplType
  return false;
  }
  - if (drawAttribs.NumIndices == 0)
  + if(drawAttribs.pIndirectDrawAttribs == nullptr)
  {
  + if (drawAttribs.NumIndices == 0)
  LOG_WARNING_MESSAGE(drawAttribs.IsIndexed ? "Number of indices to draw is zero" : "Number of vertices to draw is zero");
  - }
  if (drawAttribs.NumInstances == 0)
  {
  LOG_ERROR("Number of instances cannot be 0. Use 1 for a non-instanced draw command.");
  return false;
  }
  + }
  if (drawAttribs.IsIndexed && drawAttribs.IndexType != VT_UINT16 && drawAttribs.IndexType != VT_UINT32)
  {
  @@ -675,6 +676,8 @@ inline bool DeviceContextBase<BaseInterface, BufferImplType, TextureViewImplType
  return false;
  }
  + if(DispatchAttrs.pIndirectDispatchAttribs == nullptr)
  + {
  if (DispatchAttrs.ThreadGroupCountX == 0)
  LOG_WARNING_MESSAGE("ThreadGroupCountX is zero");
  @@ -683,6 +686,7 @@ inline bool DeviceContextBase<BaseInterface, BufferImplType, TextureViewImplType
  if (DispatchAttrs.ThreadGroupCountZ == 0)
  LOG_WARNING_MESSAGE("ThreadGroupCountZ is zero");
  + }
  return true;
  }
  