mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-24 15:36:33 +00:00
Coverity: Fully initialise the MeshFormat returned from GetPostVS
This commit is contained in:
@@ -3741,6 +3741,7 @@ MeshFormat D3D11DebugManager::GetPostVSBuffers(uint32_t eventID, uint32_t instID
|
||||
ret.specialFormat = eSpecial_Unknown;
|
||||
|
||||
ret.showAlpha = false;
|
||||
ret.bgraOrder = false;
|
||||
|
||||
ret.topo = MakePrimitiveTopology(s.topo);
|
||||
ret.numVerts = s.numVerts;
|
||||
|
||||
@@ -3388,6 +3388,7 @@ MeshFormat GLReplay::GetPostVSBuffers(uint32_t eventID, uint32_t instID, MeshDat
|
||||
ret.specialFormat = eSpecial_Unknown;
|
||||
|
||||
ret.showAlpha = false;
|
||||
ret.bgraOrder = false;
|
||||
|
||||
ret.topo = s.topo;
|
||||
ret.numVerts = s.numVerts;
|
||||
|
||||
@@ -6794,6 +6794,7 @@ MeshFormat VulkanDebugManager::GetPostVSBuffers(uint32_t eventID, uint32_t instI
|
||||
ret.specialFormat = eSpecial_Unknown;
|
||||
|
||||
ret.showAlpha = false;
|
||||
ret.bgraOrder = false;
|
||||
|
||||
ret.topo = MakePrimitiveTopology(s.topo, 1);
|
||||
ret.numVerts = s.numVerts;
|
||||
|
||||
Reference in New Issue
Block a user