mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user