From 811696c8e6b83490e04675a5c92e119197929ae1 Mon Sep 17 00:00:00 2001 From: Nicolas Cannasse Date: Tue, 14 May 2024 12:51:56 +0200 Subject: [PATCH] fix for new padding --- libs/directx/dx/Dx12.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/directx/dx/Dx12.hx b/libs/directx/dx/Dx12.hx index 8a420900b..5b6b6406d 100644 --- a/libs/directx/dx/Dx12.hx +++ b/libs/directx/dx/Dx12.hx @@ -1044,6 +1044,7 @@ enum abstract InputClassification(Int) { @:struct class InputLayoutDesc { public var inputElementDescs : hl.CArray; public var numElements : Int; + public var __padding : Int; // largest element public function new() { } } @@ -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;