Coverity: Fully initialise the MeshFormat returned from GetPostVS

This commit is contained in:
baldurk
2016-06-09 13:56:51 -07:00
parent fdd53feae0
commit d5b04583dd
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -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;
+1
View File
@@ -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;
+1
View File
@@ -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;