Skip to content

Commit

Permalink
fix for new padding
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed May 14, 2024
1 parent ef3eda5 commit 811696c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/directx/dx/Dx12.hx
Original file line number Diff line number Diff line change
Expand Up @@ -1044,6 +1044,7 @@ enum abstract InputClassification(Int) {
@:struct class InputLayoutDesc {
public var inputElementDescs : hl.CArray<InputElementDesc>;
public var numElements : Int;
public var __padding : Int; // largest element
public function new() {
}
}
Expand Down Expand Up @@ -1094,7 +1095,6 @@ enum abstract PipelineStateFlags(Int) {
@:packed public var rasterizerState(default,null) : RasterizerDesc;
@:packed public var depthStencilDesc(default,null) : DepthStencilDesc;
@:packed public var inputLayout(default,null) : InputLayoutDesc;
var __padding : Int; // ?
public var ibStripCutValue : IndexBufferStripCutValue;
public var primitiveTopologyType : PrimitiveTopologyType;
public var numRenderTargets : Int;
Expand Down

0 comments on commit 811696c

Please sign in to comment.