ABI break

main
cosmonaut 2021-01-13 21:11:13 -08:00
parent dcf8d89fa4
commit c33e62b9e4
1 changed files with 2 additions and 16 deletions

View File

@ -499,12 +499,6 @@ namespace RefreshCS
public UInt64 uniformBufferSize; public UInt64 uniformBufferSize;
} }
[StructLayout(LayoutKind.Sequential)]
public struct TopologyState
{
public PrimitiveType topology;
}
[StructLayout(LayoutKind.Sequential)] [StructLayout(LayoutKind.Sequential)]
public struct ViewportState public struct ViewportState
{ {
@ -572,7 +566,7 @@ namespace RefreshCS
public ShaderStageState vertexShaderState; public ShaderStageState vertexShaderState;
public ShaderStageState fragmentShaderState; public ShaderStageState fragmentShaderState;
public VertexInputState vertexInputState; public VertexInputState vertexInputState;
public TopologyState topologyState; public PrimitiveType primitiveType;
public ViewportState viewportState; public ViewportState viewportState;
public RasterizerState rasterizerState; public RasterizerState rasterizerState;
public MultisampleState multisampleState; public MultisampleState multisampleState;
@ -635,13 +629,9 @@ namespace RefreshCS
IntPtr device, IntPtr device,
IntPtr commandBuffer, IntPtr commandBuffer,
uint baseVertex, uint baseVertex,
uint minVertexIndex,
uint numVertices,
uint startIndex, uint startIndex,
uint primitiveCount, uint primitiveCount,
uint instanceCount, uint instanceCount,
IntPtr indices, /* Refresh_Buffer */
IndexElementSize indexElementSize,
uint vertexParamOffset, uint vertexParamOffset,
uint fragmentParamOffset uint fragmentParamOffset
); );
@ -650,13 +640,9 @@ namespace RefreshCS
public static extern void Refresh_DrawIndexedPrimitives( public static extern void Refresh_DrawIndexedPrimitives(
IntPtr device, IntPtr device,
IntPtr commandBuffer, IntPtr commandBuffer,
uint baseverrtex, uint baseVertex,
uint minVertexIndex,
uint numVertices,
uint startIndex, uint startIndex,
uint primitiveCount, uint primitiveCount,
IntPtr indices, /* Refresh_Buffer */
IndexElementSize indexElementSize,
uint vertexParamOffset, uint vertexParamOffset,
uint fragmentParamOffset uint fragmentParamOffset
); );