Cleanup the D2D1 generator constant buffer code

Also bumps the maximum constant buffer size
このコミットが含まれているのは:
Sergio Pedri committed 2022-08-08 01:33:38 +02:00
1 親 c9b4bf3431
コミット b51b002a3a
12ファイル変更
+44 -56

検索条件に一致するファイルはありません

+2 -2
ファイルの表示
@@ -29,8 +29,8 @@ internal struct D2D1ByteArrayDispatchDataLoader : ID2D1DispatchDataLoader
}
/// <inheritdoc/>
void ID2D1DispatchDataLoader.LoadConstantBuffer(ReadOnlySpan<uint> data)
void ID2D1DispatchDataLoader.LoadConstantBuffer(ReadOnlySpan<byte> data)
{
this.data = MemoryMarshal.AsBytes(data).ToArray();
this.data = data.ToArray();
}
}