Fix D3D12 highlighted vertex/triangle not being rendered correctly

* The input data comes directly from the mesh output so does have homogenous co-
  ordinates.
This commit is contained in:
baldurk
2023-06-07 13:39:11 +01:00
parent 86a6d5051b
commit eb4938e2a3
@@ -698,6 +698,8 @@ void D3D12Replay::RenderMesh(uint32_t eventId, const rdcarray<MeshFormat> &secon
// show highlighted vertex
if(cfg.highlightVert != ~0U)
{
vertexData.homogenousInput = cfg.position.unproject;
D3D12MarkerRegion region(list, "Highlighted Vertex");
m_HighlightCache.CacheHighlightingData(eventId, cfg);