Blend state ABI break
parent
5a411e482e
commit
61ec63b71f
|
@ -437,7 +437,7 @@ namespace RefreshCS
|
||||||
}
|
}
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public struct ColorTargetBlendState
|
public struct ColorAttachmentBlendState
|
||||||
{
|
{
|
||||||
public byte blendEnable;
|
public byte blendEnable;
|
||||||
public BlendFactor sourceColorBlendFactor;
|
public BlendFactor sourceColorBlendFactor;
|
||||||
|
@ -492,6 +492,13 @@ namespace RefreshCS
|
||||||
public ulong uniformBufferSize;
|
public ulong uniformBufferSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
|
public struct ComputePipelineCreateInfo
|
||||||
|
{
|
||||||
|
public ShaderStageState computeShaderState;
|
||||||
|
public ComputePipelineLayoutCreateInfo pipelineLayoutCreateInfo;
|
||||||
|
}
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public struct ViewportState
|
public struct ViewportState
|
||||||
{
|
{
|
||||||
|
@ -537,27 +544,19 @@ namespace RefreshCS
|
||||||
}
|
}
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public unsafe struct ColorBlendState
|
public unsafe struct PipelineColorBlendState
|
||||||
{
|
{
|
||||||
public byte logicOpEnable;
|
public byte logicOpEnable;
|
||||||
public LogicOp logicOp;
|
public LogicOp logicOp;
|
||||||
public IntPtr blendStates;
|
|
||||||
public uint blendStateCount;
|
|
||||||
public fixed float blendConstants[4];
|
public fixed float blendConstants[4];
|
||||||
}
|
}
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
|
||||||
public struct ComputePipelineCreateInfo
|
|
||||||
{
|
|
||||||
public ShaderStageState computeShaderState;
|
|
||||||
public ComputePipelineLayoutCreateInfo pipelineLayoutCreateInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
public struct ColorAttachmentDescription
|
public struct ColorAttachmentDescription
|
||||||
{
|
{
|
||||||
public TextureFormat format;
|
public TextureFormat format;
|
||||||
public SampleCount sampleCount;
|
public SampleCount sampleCount;
|
||||||
|
public ColorAttachmentBlendState blendState;
|
||||||
}
|
}
|
||||||
|
|
||||||
[StructLayout(LayoutKind.Sequential)]
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
|
@ -580,7 +579,7 @@ namespace RefreshCS
|
||||||
public RasterizerState rasterizerState;
|
public RasterizerState rasterizerState;
|
||||||
public MultisampleState multisampleState;
|
public MultisampleState multisampleState;
|
||||||
public DepthStencilState depthStencilState;
|
public DepthStencilState depthStencilState;
|
||||||
public ColorBlendState colorBlendState;
|
public PipelineColorBlendState colorBlendState;
|
||||||
public GraphicsPipelineLayoutCreateInfo pipelineLayoutCreateInfo;
|
public GraphicsPipelineLayoutCreateInfo pipelineLayoutCreateInfo;
|
||||||
public GraphicsPipelineAttachmentInfo attachmentInfo;
|
public GraphicsPipelineAttachmentInfo attachmentInfo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue