Skip to content

Commit 4860278

Browse files
committed
Add some more format sizes
1 parent 18f52e5 commit 4860278

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

MMManaged/MeshUtil.fs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,9 @@ map_Kd $$filename
509509
| SharpDX.DXGI.Format.R16G16_Float -> 4
510510
| SharpDX.DXGI.Format.R16G16B16A16_Float -> 8
511511
| SharpDX.DXGI.Format.R8G8B8A8_UInt -> 4
512+
| SharpDX.DXGI.Format.B8G8R8A8_UNorm -> 4
513+
| SharpDX.DXGI.Format.R16G16B16A16_SInt -> 8
514+
| SharpDX.DXGI.Format.R16G16B16A16_SNorm -> 8
512515
| _ -> failwithf "Some lazy person didn't fill in the size of type %A" f
513516
int hElement.Offset + sizeBytes
514517

0 commit comments

Comments
 (0)