fix a few missing renames

main
cosmonaut 2022-03-02 11:45:37 -08:00
parent 774028a013
commit 278db7d55b
3 changed files with 10 additions and 10 deletions

View File

@ -8,7 +8,7 @@ namespace MoonWorks.Graphics
{
protected override Action<IntPtr, IntPtr, IntPtr> QueueDestroyFunction => Refresh.Refresh_QueueDestroyComputePipeline;
public ComputeShaderInfo ComputeShaderState { get; }
public ComputeShaderInfo ComputeShaderInfo { get; }
public unsafe ComputePipeline(
GraphicsDevice device,
@ -29,7 +29,7 @@ namespace MoonWorks.Graphics
refreshComputeShaderInfo
);
ComputeShaderState = computeShaderInfo;
ComputeShaderInfo = computeShaderInfo;
}
}
}

View File

@ -12,8 +12,8 @@ namespace MoonWorks.Graphics
{
protected override Action<IntPtr, IntPtr, IntPtr> QueueDestroyFunction => Refresh.Refresh_QueueDestroyGraphicsPipeline;
public GraphicsShaderInfo VertexShaderState { get; }
public GraphicsShaderInfo FragmentShaderState { get; }
public GraphicsShaderInfo VertexShaderInfo { get; }
public GraphicsShaderInfo FragmentShaderInfo { get; }
public unsafe GraphicsPipeline(
GraphicsDevice device,
@ -21,8 +21,8 @@ namespace MoonWorks.Graphics
) : base(device)
{
DepthStencilState depthStencilState = graphicsPipelineCreateInfo.DepthStencilState;
GraphicsShaderInfo vertexShaderInfo = graphicsPipelineCreateInfo.VertexShaderState;
GraphicsShaderInfo fragmentShaderInfo = graphicsPipelineCreateInfo.FragmentShaderState;
GraphicsShaderInfo vertexShaderInfo = graphicsPipelineCreateInfo.VertexShaderInfo;
GraphicsShaderInfo fragmentShaderInfo = graphicsPipelineCreateInfo.FragmentShaderInfo;
MultisampleState multisampleState = graphicsPipelineCreateInfo.MultisampleState;
RasterizerState rasterizerState = graphicsPipelineCreateInfo.RasterizerState;
PrimitiveType primitiveType = graphicsPipelineCreateInfo.PrimitiveType;
@ -123,8 +123,8 @@ namespace MoonWorks.Graphics
viewportHandle.Free();
scissorHandle.Free();
VertexShaderState = vertexShaderInfo;
FragmentShaderState = fragmentShaderInfo;
VertexShaderInfo = vertexShaderInfo;
FragmentShaderInfo = fragmentShaderInfo;
}
}
}

View File

@ -3,8 +3,8 @@
public struct GraphicsPipelineCreateInfo
{
public DepthStencilState DepthStencilState;
public GraphicsShaderInfo VertexShaderState;
public GraphicsShaderInfo FragmentShaderState;
public GraphicsShaderInfo VertexShaderInfo;
public GraphicsShaderInfo FragmentShaderInfo;
public MultisampleState MultisampleState;
public RasterizerState RasterizerState;
public PrimitiveType PrimitiveType;