diff --git a/Directory.Build.props b/Directory.Build.props index 08f00e3..3d045f1 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -11,7 +11,7 @@ - 2.2.2 + 2.2.3 diff --git a/src/Generator/Program.cs b/src/Generator/Program.cs index 890ee72..109846e 100644 --- a/src/Generator/Program.cs +++ b/src/Generator/Program.cs @@ -65,7 +65,7 @@ public static class Program { "Foundation.LPARAM", "nint" }, { "Foundation.LRESULT", "nint" }, { "Foundation.WPARAM", "nuint" }, - { "Foundation.PSTR", "sbyte*" }, + { "Foundation.PSTR", "byte*" }, { "Foundation.PWSTR", "char*" }, { "Foundation.CHAR", "byte" }, { "Foundation.COLORREF", "uint" }, @@ -899,6 +899,9 @@ public static class Program // D3D11 -> most is handled in code { "D3D11_AUTHENTICATED_PROCESS_IDENTIFIER_TYPE", "D3D11_PROCESSIDTYPE" }, + { "D3D11_SHADER_VERSION_TYPE", "D3D11_SHVER" }, + { "D3D11_SHADER_TYPE", "D3D11" }, + { "D3D11_TRACE_REGISTER_TYPE", "D3D11_TRACE" }, // D3D12 -> most is handled in code { "D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS", "D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG" }, diff --git a/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs b/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs index e0878b3..616ffbd 100644 --- a/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs +++ b/src/Vortice.Win32.Graphics.Direct2D/Generated/Graphics.Direct2D.Structs.cs @@ -524,7 +524,7 @@ public partial struct ResourceTextureProperties public partial struct InputElementDescription { /// - public unsafe sbyte* semanticName; + public unsafe byte* semanticName; /// public uint semanticIndex; diff --git a/src/Vortice.Win32.Graphics.Direct3D.Dxc/Generated/IDxcBlobUtf8.cs b/src/Vortice.Win32.Graphics.Direct3D.Dxc/Generated/IDxcBlobUtf8.cs index 88d9404..8275514 100644 --- a/src/Vortice.Win32.Graphics.Direct3D.Dxc/Generated/IDxcBlobUtf8.cs +++ b/src/Vortice.Win32.Graphics.Direct3D.Dxc/Generated/IDxcBlobUtf8.cs @@ -95,9 +95,9 @@ public unsafe partial struct IDxcBlobUtf8 : IDxcBlobUtf8.Interface, INativeGuid [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public sbyte* GetStringPointer() + public byte* GetStringPointer() { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IDxcBlobUtf8*)Unsafe.AsPointer(ref this)); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IDxcBlobUtf8*)Unsafe.AsPointer(ref this)); } [MethodImpl(MethodImplOptions.AggressiveInlining)] @@ -110,7 +110,7 @@ public unsafe partial struct IDxcBlobUtf8 : IDxcBlobUtf8.Interface, INativeGuid public interface Interface : IDxcBlobEncoding.Interface { [VtblIndex(6)] - sbyte* GetStringPointer(); + byte* GetStringPointer(); [VtblIndex(7)] nuint GetStringLength(); diff --git a/src/Vortice.Win32.Graphics.Direct3D.Dxc/Generated/IDxcCompilerArgs.cs b/src/Vortice.Win32.Graphics.Direct3D.Dxc/Generated/IDxcCompilerArgs.cs index 889ddc4..9b2f46a 100644 --- a/src/Vortice.Win32.Graphics.Direct3D.Dxc/Generated/IDxcCompilerArgs.cs +++ b/src/Vortice.Win32.Graphics.Direct3D.Dxc/Generated/IDxcCompilerArgs.cs @@ -92,9 +92,9 @@ public unsafe partial struct IDxcCompilerArgs : IDxcCompilerArgs.Interface, INat [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult AddArgumentsUTF8(sbyte** pArguments, uint argCount) + public HResult AddArgumentsUTF8(byte** pArguments, uint argCount) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IDxcCompilerArgs*)Unsafe.AsPointer(ref this), pArguments, argCount); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((IDxcCompilerArgs*)Unsafe.AsPointer(ref this), pArguments, argCount); } [MethodImpl(MethodImplOptions.AggressiveInlining)] @@ -116,7 +116,7 @@ public unsafe partial struct IDxcCompilerArgs : IDxcCompilerArgs.Interface, INat HResult AddArguments(char** pArguments, uint argCount); [VtblIndex(6)] - HResult AddArgumentsUTF8(sbyte** pArguments, uint argCount); + HResult AddArgumentsUTF8(byte** pArguments, uint argCount); [VtblIndex(7)] HResult AddDefines(DxcDefine* pDefines, uint defineCount); diff --git a/src/Vortice.Win32.Graphics.Direct3D.Fxc/Apis.cs b/src/Vortice.Win32.Graphics.Direct3D.Fxc/Apis.cs index 77feb3c..cd03c87 100644 --- a/src/Vortice.Win32.Graphics.Direct3D.Fxc/Apis.cs +++ b/src/Vortice.Win32.Graphics.Direct3D.Fxc/Apis.cs @@ -35,8 +35,8 @@ public static unsafe partial class Apis pSourceName: null, pDefines: null, pInclude: D3D_COMPILE_STANDARD_FILE_INCLUDE, - pEntrypoint: (sbyte*)entryPointPtr, - pTarget: (sbyte*)targetPtr, + pEntrypoint: entryPointPtr, + pTarget: targetPtr, Flags1: flags, Flags2: 0u, ppCode: d3dBlobBytecode.GetAddressOf(), @@ -129,8 +129,8 @@ public static unsafe partial class Apis pSourceName: null, pDefines: null, pInclude: D3D_COMPILE_STANDARD_FILE_INCLUDE, - pEntrypoint: (sbyte*)entryPointPtr, - pTarget: (sbyte*)targetPtr, + pEntrypoint: entryPointPtr, + pTarget: targetPtr, Flags1: flags, Flags2: 0u, ppCode: byteCode, @@ -158,8 +158,8 @@ public static unsafe partial class Apis pSourceName: null, pDefines: null, pInclude: includeHandler, - pEntrypoint: (sbyte*)entryPointPtr, - pTarget: (sbyte*)targetPtr, + pEntrypoint: entryPointPtr, + pTarget: targetPtr, Flags1: flags, Flags2: 0u, ppCode: byteCode, diff --git a/src/Vortice.Win32.Graphics.Direct3D.Fxc/Generated/Graphics.Direct3D.Fxc.Apis.Functions.cs b/src/Vortice.Win32.Graphics.Direct3D.Fxc/Generated/Graphics.Direct3D.Fxc.Apis.Functions.cs index cf89c99..26fbbc9 100644 --- a/src/Vortice.Win32.Graphics.Direct3D.Fxc/Generated/Graphics.Direct3D.Fxc.Apis.Functions.cs +++ b/src/Vortice.Win32.Graphics.Direct3D.Fxc/Generated/Graphics.Direct3D.Fxc.Apis.Functions.cs @@ -21,19 +21,19 @@ public static unsafe partial class Apis /// [LibraryImport("D3DCOMPILER_47.dll")] - public static partial HResult D3DCompile(void* pSrcData, nuint SrcDataSize, sbyte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, sbyte* pEntrypoint, sbyte* pTarget, CompileFlags Flags1, uint Flags2, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); + public static partial HResult D3DCompile(void* pSrcData, nuint SrcDataSize, byte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, byte* pEntrypoint, byte* pTarget, CompileFlags Flags1, uint Flags2, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); /// [LibraryImport("D3DCOMPILER_47.dll")] - public static partial HResult D3DCompile2(void* pSrcData, nuint SrcDataSize, sbyte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, sbyte* pEntrypoint, sbyte* pTarget, CompileFlags Flags1, uint Flags2, uint SecondaryDataFlags, void* pSecondaryData, nuint SecondaryDataSize, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); + public static partial HResult D3DCompile2(void* pSrcData, nuint SrcDataSize, byte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, byte* pEntrypoint, byte* pTarget, CompileFlags Flags1, uint Flags2, uint SecondaryDataFlags, void* pSecondaryData, nuint SecondaryDataSize, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); /// [LibraryImport("D3DCOMPILER_47.dll")] - public static partial HResult D3DCompileFromFile(char* pFileName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, sbyte* pEntrypoint, sbyte* pTarget, CompileFlags Flags1, uint Flags2, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); + public static partial HResult D3DCompileFromFile(char* pFileName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, byte* pEntrypoint, byte* pTarget, CompileFlags Flags1, uint Flags2, Graphics.Direct3D.ID3DBlob** ppCode, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); /// [LibraryImport("D3DCOMPILER_47.dll")] - public static partial HResult D3DPreprocess(void* pSrcData, nuint SrcDataSize, sbyte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, Graphics.Direct3D.ID3DBlob** ppCodeText, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); + public static partial HResult D3DPreprocess(void* pSrcData, nuint SrcDataSize, byte* pSourceName, Graphics.Direct3D.ShaderMacro* pDefines, Graphics.Direct3D.ID3DInclude* pInclude, Graphics.Direct3D.ID3DBlob** ppCodeText, Graphics.Direct3D.ID3DBlob** ppErrorMsgs); /// [LibraryImport("D3DCOMPILER_47.dll")] @@ -49,11 +49,11 @@ public static unsafe partial class Apis /// [LibraryImport("D3DCOMPILER_47.dll")] - public static partial HResult D3DDisassemble(void* pSrcData, nuint SrcDataSize, DisasmFlags Flags, sbyte* szComments, Graphics.Direct3D.ID3DBlob** ppDisassembly); + public static partial HResult D3DDisassemble(void* pSrcData, nuint SrcDataSize, DisasmFlags Flags, byte* szComments, Graphics.Direct3D.ID3DBlob** ppDisassembly); /// [LibraryImport("D3DCOMPILER_47.dll")] - public static partial HResult D3DDisassembleRegion(void* pSrcData, nuint SrcDataSize, uint Flags, sbyte* szComments, nuint StartByteOffset, nuint NumInsts, nuint* pFinishByteOffset, Graphics.Direct3D.ID3DBlob** ppDisassembly); + public static partial HResult D3DDisassembleRegion(void* pSrcData, nuint SrcDataSize, uint Flags, byte* szComments, nuint StartByteOffset, nuint NumInsts, nuint* pFinishByteOffset, Graphics.Direct3D.ID3DBlob** ppDisassembly); /// [LibraryImport("D3DCOMPILER_47.dll")] diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Apis.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Apis.cs index 528b8e0..b8a3b50 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Apis.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Apis.cs @@ -4282,60 +4282,60 @@ public static partial class Apis public const VideoDecoderHistogramComponentFlags D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_B = VideoDecoderHistogramComponentFlags.FlagB; public const VideoDecoderHistogramComponentFlags D3D11_VIDEO_DECODER_HISTOGRAM_COMPONENT_FLAG_A = VideoDecoderHistogramComponentFlags.FlagA; public const CryptoSessionKeyExchangeFlags D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAG_NONE = CryptoSessionKeyExchangeFlags.FlagNone; - public const ShaderVersionType D3D11_SHVER_PIXEL_SHADER = ShaderVersionType.D3D11_SHVER_PIXEL_SHADER; - public const ShaderVersionType D3D11_SHVER_VERTEX_SHADER = ShaderVersionType.D3D11_SHVER_VERTEX_SHADER; - public const ShaderVersionType D3D11_SHVER_GEOMETRY_SHADER = ShaderVersionType.D3D11_SHVER_GEOMETRY_SHADER; - public const ShaderVersionType D3D11_SHVER_HULL_SHADER = ShaderVersionType.D3D11_SHVER_HULL_SHADER; - public const ShaderVersionType D3D11_SHVER_DOMAIN_SHADER = ShaderVersionType.D3D11_SHVER_DOMAIN_SHADER; - public const ShaderVersionType D3D11_SHVER_COMPUTE_SHADER = ShaderVersionType.D3D11_SHVER_COMPUTE_SHADER; - public const ShaderVersionType D3D11_SHVER_RESERVED0 = ShaderVersionType.D3D11_SHVER_RESERVED0; - public const ShaderType D3D11_VERTEX_SHADER = ShaderType.D3D11_VERTEX_SHADER; - public const ShaderType D3D11_HULL_SHADER = ShaderType.D3D11_HULL_SHADER; - public const ShaderType D3D11_DOMAIN_SHADER = ShaderType.D3D11_DOMAIN_SHADER; - public const ShaderType D3D11_GEOMETRY_SHADER = ShaderType.D3D11_GEOMETRY_SHADER; - public const ShaderType D3D11_PIXEL_SHADER = ShaderType.D3D11_PIXEL_SHADER; - public const ShaderType D3D11_COMPUTE_SHADER = ShaderType.D3D11_COMPUTE_SHADER; + public const ShaderVersionType D3D11_SHVER_PIXEL_SHADER = ShaderVersionType.PixelShader; + public const ShaderVersionType D3D11_SHVER_VERTEX_SHADER = ShaderVersionType.VertexShader; + public const ShaderVersionType D3D11_SHVER_GEOMETRY_SHADER = ShaderVersionType.GeometryShader; + public const ShaderVersionType D3D11_SHVER_HULL_SHADER = ShaderVersionType.HullShader; + public const ShaderVersionType D3D11_SHVER_DOMAIN_SHADER = ShaderVersionType.DomainShader; + public const ShaderVersionType D3D11_SHVER_COMPUTE_SHADER = ShaderVersionType.ComputeShader; + public const ShaderVersionType D3D11_SHVER_RESERVED0 = ShaderVersionType.Reserved0; + public const ShaderType D3D11_VERTEX_SHADER = ShaderType.VertexShader; + public const ShaderType D3D11_HULL_SHADER = ShaderType.HullShader; + public const ShaderType D3D11_DOMAIN_SHADER = ShaderType.DomainShader; + public const ShaderType D3D11_GEOMETRY_SHADER = ShaderType.GeometryShader; + public const ShaderType D3D11_PIXEL_SHADER = ShaderType.PixelShader; + public const ShaderType D3D11_COMPUTE_SHADER = ShaderType.ComputeShader; public const TraceGSInputPrimitive D3D11_TRACE_GS_INPUT_PRIMITIVE_UNDEFINED = TraceGSInputPrimitive.Undefined; public const TraceGSInputPrimitive D3D11_TRACE_GS_INPUT_PRIMITIVE_POINT = TraceGSInputPrimitive.Point; public const TraceGSInputPrimitive D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE = TraceGSInputPrimitive.Line; public const TraceGSInputPrimitive D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE = TraceGSInputPrimitive.Triangle; public const TraceGSInputPrimitive D3D11_TRACE_GS_INPUT_PRIMITIVE_LINE_ADJ = TraceGSInputPrimitive.LineAdj; public const TraceGSInputPrimitive D3D11_TRACE_GS_INPUT_PRIMITIVE_TRIANGLE_ADJ = TraceGSInputPrimitive.TriangleAdj; - public const TraceRegisterType D3D11_TRACE_OUTPUT_NULL_REGISTER = TraceRegisterType.D3D11_TRACE_OUTPUT_NULL_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER; - public const TraceRegisterType D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER = TraceRegisterType.D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER; - public const TraceRegisterType D3D11_TRACE_TEMP_REGISTER = TraceRegisterType.D3D11_TRACE_TEMP_REGISTER; - public const TraceRegisterType D3D11_TRACE_INDEXABLE_TEMP_REGISTER = TraceRegisterType.D3D11_TRACE_INDEXABLE_TEMP_REGISTER; - public const TraceRegisterType D3D11_TRACE_OUTPUT_REGISTER = TraceRegisterType.D3D11_TRACE_OUTPUT_REGISTER; - public const TraceRegisterType D3D11_TRACE_OUTPUT_DEPTH_REGISTER = TraceRegisterType.D3D11_TRACE_OUTPUT_DEPTH_REGISTER; - public const TraceRegisterType D3D11_TRACE_CONSTANT_BUFFER = TraceRegisterType.D3D11_TRACE_CONSTANT_BUFFER; - public const TraceRegisterType D3D11_TRACE_IMMEDIATE32 = TraceRegisterType.D3D11_TRACE_IMMEDIATE32; - public const TraceRegisterType D3D11_TRACE_SAMPLER = TraceRegisterType.D3D11_TRACE_SAMPLER; - public const TraceRegisterType D3D11_TRACE_RESOURCE = TraceRegisterType.D3D11_TRACE_RESOURCE; - public const TraceRegisterType D3D11_TRACE_RASTERIZER = TraceRegisterType.D3D11_TRACE_RASTERIZER; - public const TraceRegisterType D3D11_TRACE_OUTPUT_COVERAGE_MASK = TraceRegisterType.D3D11_TRACE_OUTPUT_COVERAGE_MASK; - public const TraceRegisterType D3D11_TRACE_STREAM = TraceRegisterType.D3D11_TRACE_STREAM; - public const TraceRegisterType D3D11_TRACE_THIS_POINTER = TraceRegisterType.D3D11_TRACE_THIS_POINTER; - public const TraceRegisterType D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER = TraceRegisterType.D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER; - public const TraceRegisterType D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER = TraceRegisterType.D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER; - public const TraceRegisterType D3D11_TRACE_UNORDERED_ACCESS_VIEW = TraceRegisterType.D3D11_TRACE_UNORDERED_ACCESS_VIEW; - public const TraceRegisterType D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY = TraceRegisterType.D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY; - public const TraceRegisterType D3D11_TRACE_INPUT_THREAD_ID_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_THREAD_ID_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER; - public const TraceRegisterType D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER; - public const TraceRegisterType D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER = TraceRegisterType.D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER; - public const TraceRegisterType D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER = TraceRegisterType.D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER; - public const TraceRegisterType D3D11_TRACE_IMMEDIATE64 = TraceRegisterType.D3D11_TRACE_IMMEDIATE64; - public const TraceRegisterType D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER = TraceRegisterType.D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER; - public const TraceRegisterType D3D11_TRACE_INTERFACE_POINTER = TraceRegisterType.D3D11_TRACE_INTERFACE_POINTER; + public const TraceRegisterType D3D11_TRACE_OUTPUT_NULL_REGISTER = TraceRegisterType.OutputNullRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_REGISTER = TraceRegisterType.InputRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER = TraceRegisterType.InputPrimitiveIdRegister; + public const TraceRegisterType D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER = TraceRegisterType.ImmediateConstantBuffer; + public const TraceRegisterType D3D11_TRACE_TEMP_REGISTER = TraceRegisterType.TempRegister; + public const TraceRegisterType D3D11_TRACE_INDEXABLE_TEMP_REGISTER = TraceRegisterType.IndexableTempRegister; + public const TraceRegisterType D3D11_TRACE_OUTPUT_REGISTER = TraceRegisterType.OutputRegister; + public const TraceRegisterType D3D11_TRACE_OUTPUT_DEPTH_REGISTER = TraceRegisterType.OutputDepthRegister; + public const TraceRegisterType D3D11_TRACE_CONSTANT_BUFFER = TraceRegisterType.ConstantBuffer; + public const TraceRegisterType D3D11_TRACE_IMMEDIATE32 = TraceRegisterType.Immediate32; + public const TraceRegisterType D3D11_TRACE_SAMPLER = TraceRegisterType.Sampler; + public const TraceRegisterType D3D11_TRACE_RESOURCE = TraceRegisterType.Resource; + public const TraceRegisterType D3D11_TRACE_RASTERIZER = TraceRegisterType.Rasterizer; + public const TraceRegisterType D3D11_TRACE_OUTPUT_COVERAGE_MASK = TraceRegisterType.OutputCoverageMask; + public const TraceRegisterType D3D11_TRACE_STREAM = TraceRegisterType.Stream; + public const TraceRegisterType D3D11_TRACE_THIS_POINTER = TraceRegisterType.ThisPointer; + public const TraceRegisterType D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER = TraceRegisterType.OutputControlPointIdRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER = TraceRegisterType.InputForkInstanceIdRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER = TraceRegisterType.InputJoinInstanceIdRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER = TraceRegisterType.InputControlPointRegister; + public const TraceRegisterType D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER = TraceRegisterType.OutputControlPointRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER = TraceRegisterType.InputPatchConstantRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER = TraceRegisterType.InputDomainPointRegister; + public const TraceRegisterType D3D11_TRACE_UNORDERED_ACCESS_VIEW = TraceRegisterType.UnorderedAccessView; + public const TraceRegisterType D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY = TraceRegisterType.ThreadGroupSharedMemory; + public const TraceRegisterType D3D11_TRACE_INPUT_THREAD_ID_REGISTER = TraceRegisterType.InputThreadIdRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER = TraceRegisterType.InputThreadGroupIdRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER = TraceRegisterType.InputThreadIdInGroupRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER = TraceRegisterType.InputCoverageMaskRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER = TraceRegisterType.InputThreadIdInGroupFlattenedRegister; + public const TraceRegisterType D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER = TraceRegisterType.InputGSInstanceIdRegister; + public const TraceRegisterType D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER = TraceRegisterType.OutputDepthGreaterEqualRegister; + public const TraceRegisterType D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER = TraceRegisterType.OutputDepthLessEqualRegister; + public const TraceRegisterType D3D11_TRACE_IMMEDIATE64 = TraceRegisterType.Immediate64; + public const TraceRegisterType D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER = TraceRegisterType.InputCycleCounterRegister; + public const TraceRegisterType D3D11_TRACE_INTERFACE_POINTER = TraceRegisterType.InterfacePointer; } diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Enums.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Enums.cs index aedd36e..cf8e45f 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Enums.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Enums.cs @@ -6290,25 +6290,25 @@ public enum ShaderVersionType { /// /// D3D11_SHVER_PIXEL_SHADER - D3D11_SHVER_PIXEL_SHADER = 0, + PixelShader = 0, /// /// D3D11_SHVER_VERTEX_SHADER - D3D11_SHVER_VERTEX_SHADER = 1, + VertexShader = 1, /// /// D3D11_SHVER_GEOMETRY_SHADER - D3D11_SHVER_GEOMETRY_SHADER = 2, + GeometryShader = 2, /// /// D3D11_SHVER_HULL_SHADER - D3D11_SHVER_HULL_SHADER = 3, + HullShader = 3, /// /// D3D11_SHVER_DOMAIN_SHADER - D3D11_SHVER_DOMAIN_SHADER = 4, + DomainShader = 4, /// /// D3D11_SHVER_COMPUTE_SHADER - D3D11_SHVER_COMPUTE_SHADER = 5, + ComputeShader = 5, /// /// D3D11_SHVER_RESERVED0 - D3D11_SHVER_RESERVED0 = 65520, + Reserved0 = 65520, } /// @@ -6317,22 +6317,22 @@ public enum ShaderType { /// /// D3D11_VERTEX_SHADER - D3D11_VERTEX_SHADER = 1, + VertexShader = 1, /// /// D3D11_HULL_SHADER - D3D11_HULL_SHADER = 2, + HullShader = 2, /// /// D3D11_DOMAIN_SHADER - D3D11_DOMAIN_SHADER = 3, + DomainShader = 3, /// /// D3D11_GEOMETRY_SHADER - D3D11_GEOMETRY_SHADER = 4, + GeometryShader = 4, /// /// D3D11_PIXEL_SHADER - D3D11_PIXEL_SHADER = 5, + PixelShader = 5, /// /// D3D11_COMPUTE_SHADER - D3D11_COMPUTE_SHADER = 6, + ComputeShader = 6, } /// @@ -6365,110 +6365,110 @@ public enum TraceRegisterType { /// /// D3D11_TRACE_OUTPUT_NULL_REGISTER - D3D11_TRACE_OUTPUT_NULL_REGISTER = 0, + OutputNullRegister = 0, /// /// D3D11_TRACE_INPUT_REGISTER - D3D11_TRACE_INPUT_REGISTER = 1, + InputRegister = 1, /// /// D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER - D3D11_TRACE_INPUT_PRIMITIVE_ID_REGISTER = 2, + InputPrimitiveIdRegister = 2, /// /// D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER - D3D11_TRACE_IMMEDIATE_CONSTANT_BUFFER = 3, + ImmediateConstantBuffer = 3, /// /// D3D11_TRACE_TEMP_REGISTER - D3D11_TRACE_TEMP_REGISTER = 4, + TempRegister = 4, /// /// D3D11_TRACE_INDEXABLE_TEMP_REGISTER - D3D11_TRACE_INDEXABLE_TEMP_REGISTER = 5, + IndexableTempRegister = 5, /// /// D3D11_TRACE_OUTPUT_REGISTER - D3D11_TRACE_OUTPUT_REGISTER = 6, + OutputRegister = 6, /// /// D3D11_TRACE_OUTPUT_DEPTH_REGISTER - D3D11_TRACE_OUTPUT_DEPTH_REGISTER = 7, + OutputDepthRegister = 7, /// /// D3D11_TRACE_CONSTANT_BUFFER - D3D11_TRACE_CONSTANT_BUFFER = 8, + ConstantBuffer = 8, /// /// D3D11_TRACE_IMMEDIATE32 - D3D11_TRACE_IMMEDIATE32 = 9, + Immediate32 = 9, /// /// D3D11_TRACE_SAMPLER - D3D11_TRACE_SAMPLER = 10, + Sampler = 10, /// /// D3D11_TRACE_RESOURCE - D3D11_TRACE_RESOURCE = 11, + Resource = 11, /// /// D3D11_TRACE_RASTERIZER - D3D11_TRACE_RASTERIZER = 12, + Rasterizer = 12, /// /// D3D11_TRACE_OUTPUT_COVERAGE_MASK - D3D11_TRACE_OUTPUT_COVERAGE_MASK = 13, + OutputCoverageMask = 13, /// /// D3D11_TRACE_STREAM - D3D11_TRACE_STREAM = 14, + Stream = 14, /// /// D3D11_TRACE_THIS_POINTER - D3D11_TRACE_THIS_POINTER = 15, + ThisPointer = 15, /// /// D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER - D3D11_TRACE_OUTPUT_CONTROL_POINT_ID_REGISTER = 16, + OutputControlPointIdRegister = 16, /// /// D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER - D3D11_TRACE_INPUT_FORK_INSTANCE_ID_REGISTER = 17, + InputForkInstanceIdRegister = 17, /// /// D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER - D3D11_TRACE_INPUT_JOIN_INSTANCE_ID_REGISTER = 18, + InputJoinInstanceIdRegister = 18, /// /// D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER - D3D11_TRACE_INPUT_CONTROL_POINT_REGISTER = 19, + InputControlPointRegister = 19, /// /// D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER - D3D11_TRACE_OUTPUT_CONTROL_POINT_REGISTER = 20, + OutputControlPointRegister = 20, /// /// D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER - D3D11_TRACE_INPUT_PATCH_CONSTANT_REGISTER = 21, + InputPatchConstantRegister = 21, /// /// D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER - D3D11_TRACE_INPUT_DOMAIN_POINT_REGISTER = 22, + InputDomainPointRegister = 22, /// /// D3D11_TRACE_UNORDERED_ACCESS_VIEW - D3D11_TRACE_UNORDERED_ACCESS_VIEW = 23, + UnorderedAccessView = 23, /// /// D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY - D3D11_TRACE_THREAD_GROUP_SHARED_MEMORY = 24, + ThreadGroupSharedMemory = 24, /// /// D3D11_TRACE_INPUT_THREAD_ID_REGISTER - D3D11_TRACE_INPUT_THREAD_ID_REGISTER = 25, + InputThreadIdRegister = 25, /// /// D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER - D3D11_TRACE_INPUT_THREAD_GROUP_ID_REGISTER = 26, + InputThreadGroupIdRegister = 26, /// /// D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER - D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_REGISTER = 27, + InputThreadIdInGroupRegister = 27, /// /// D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER - D3D11_TRACE_INPUT_COVERAGE_MASK_REGISTER = 28, + InputCoverageMaskRegister = 28, /// /// D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER - D3D11_TRACE_INPUT_THREAD_ID_IN_GROUP_FLATTENED_REGISTER = 29, + InputThreadIdInGroupFlattenedRegister = 29, /// /// D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER - D3D11_TRACE_INPUT_GS_INSTANCE_ID_REGISTER = 30, + InputGSInstanceIdRegister = 30, /// /// D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER - D3D11_TRACE_OUTPUT_DEPTH_GREATER_EQUAL_REGISTER = 31, + OutputDepthGreaterEqualRegister = 31, /// /// D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER - D3D11_TRACE_OUTPUT_DEPTH_LESS_EQUAL_REGISTER = 32, + OutputDepthLessEqualRegister = 32, /// /// D3D11_TRACE_IMMEDIATE64 - D3D11_TRACE_IMMEDIATE64 = 33, + Immediate64 = 33, /// /// D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER - D3D11_TRACE_INPUT_CYCLE_COUNTER_REGISTER = 34, + InputCycleCounterRegister = 34, /// /// D3D11_TRACE_INTERFACE_POINTER - D3D11_TRACE_INTERFACE_POINTER = 35, + InterfacePointer = 35, } diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Structs.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Structs.cs index d125b01..2af342f 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Structs.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/Graphics.Direct3D11.Structs.cs @@ -34,7 +34,7 @@ public partial struct AuthenticatedProtectionFlags public partial struct InputElementDescription { /// - public unsafe sbyte* SemanticName; + public unsafe byte* SemanticName; /// public uint SemanticIndex; @@ -63,7 +63,7 @@ public partial struct SODeclarationEntry public uint Stream; /// - public unsafe sbyte* SemanticName; + public unsafe byte* SemanticName; /// public uint SemanticIndex; @@ -3901,7 +3901,7 @@ public partial struct FeatureDataD3D11Options4 public partial struct SignatureParameterDescription { /// - public unsafe sbyte* SemanticName; + public unsafe byte* SemanticName; /// public uint SemanticIndex; @@ -3933,7 +3933,7 @@ public partial struct SignatureParameterDescription public partial struct ShaderBufferDescription { /// - public unsafe sbyte* Name; + public unsafe byte* Name; /// public Graphics.Direct3D.ConstantBufferType Type; @@ -3953,7 +3953,7 @@ public partial struct ShaderBufferDescription public partial struct ShaderVariableDescription { /// - public unsafe sbyte* Name; + public unsafe byte* Name; /// public uint StartOffset; @@ -4006,7 +4006,7 @@ public partial struct ShaderTypeDescription public uint Offset; /// - public unsafe sbyte* Name; + public unsafe byte* Name; } /// @@ -4017,7 +4017,7 @@ public partial struct ShaderDescription public uint Version; /// - public unsafe sbyte* Creator; + public unsafe byte* Creator; /// public uint Flags; @@ -4133,7 +4133,7 @@ public partial struct ShaderDescription public partial struct ShaderInputBindDescription { /// - public unsafe sbyte* Name; + public unsafe byte* Name; /// public Graphics.Direct3D.ShaderInputType Type; @@ -4162,7 +4162,7 @@ public partial struct ShaderInputBindDescription public partial struct LibraryDescription { /// - public unsafe sbyte* Creator; + public unsafe byte* Creator; /// public uint Flags; @@ -4179,7 +4179,7 @@ public partial struct FunctionDescription public uint Version; /// - public unsafe sbyte* Creator; + public unsafe byte* Creator; /// public uint Flags; @@ -4260,7 +4260,7 @@ public partial struct FunctionDescription public ulong RequiredFeatureFlags; /// - public unsafe sbyte* Name; + public unsafe byte* Name; /// public int FunctionParameterCount; @@ -4280,10 +4280,10 @@ public partial struct FunctionDescription public partial struct ParameterDescription { /// - public unsafe sbyte* Name; + public unsafe byte* Name; /// - public unsafe sbyte* SemanticName; + public unsafe byte* SemanticName; /// public Graphics.Direct3D.ShaderVariableType Type; diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ClassLinkage.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ClassLinkage.cs index 55deb1b..01beb8a 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ClassLinkage.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ClassLinkage.cs @@ -105,26 +105,26 @@ public unsafe partial struct ID3D11ClassLinkage : ID3D11ClassLinkage.Interface, /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(7)] - public HResult GetClassInstance(sbyte* pClassInstanceName, uint InstanceIndex, ID3D11ClassInstance** ppInstance) + public HResult GetClassInstance(byte* pClassInstanceName, uint InstanceIndex, ID3D11ClassInstance** ppInstance) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassInstanceName, InstanceIndex, ppInstance); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[7]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassInstanceName, InstanceIndex, ppInstance); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HResult CreateClassInstance(sbyte* pClassTypeName, uint ConstantBufferOffset, uint ConstantVectorOffset, uint TextureOffset, uint SamplerOffset, ID3D11ClassInstance** ppInstance) + public HResult CreateClassInstance(byte* pClassTypeName, uint ConstantBufferOffset, uint ConstantVectorOffset, uint TextureOffset, uint SamplerOffset, ID3D11ClassInstance** ppInstance) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassTypeName, ConstantBufferOffset, ConstantVectorOffset, TextureOffset, SamplerOffset, ppInstance); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ID3D11ClassLinkage*)Unsafe.AsPointer(ref this), pClassTypeName, ConstantBufferOffset, ConstantVectorOffset, TextureOffset, SamplerOffset, ppInstance); } public interface Interface : ID3D11DeviceChild.Interface { [VtblIndex(7)] - HResult GetClassInstance(sbyte* pClassInstanceName, uint InstanceIndex, ID3D11ClassInstance** ppInstance); + HResult GetClassInstance(byte* pClassInstanceName, uint InstanceIndex, ID3D11ClassInstance** ppInstance); [VtblIndex(8)] - HResult CreateClassInstance(sbyte* pClassTypeName, uint ConstantBufferOffset, uint ConstantVectorOffset, uint TextureOffset, uint SamplerOffset, ID3D11ClassInstance** ppInstance); + HResult CreateClassInstance(byte* pClassTypeName, uint ConstantBufferOffset, uint ConstantVectorOffset, uint TextureOffset, uint SamplerOffset, ID3D11ClassInstance** ppInstance); } } diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11FunctionLinkingGraph.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11FunctionLinkingGraph.cs index 4a316a0..fe13a31 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11FunctionLinkingGraph.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11FunctionLinkingGraph.cs @@ -97,9 +97,9 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult CallFunction(sbyte* pModuleInstanceNamespace, ID3D11Module* pModuleWithFunctionPrototype, sbyte* pFunctionName, ID3D11LinkingNode** ppCallNode) + public HResult CallFunction(byte* pModuleInstanceNamespace, ID3D11Module* pModuleWithFunctionPrototype, byte* pFunctionName, ID3D11LinkingNode** ppCallNode) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pModuleInstanceNamespace, pModuleWithFunctionPrototype, pFunctionName, ppCallNode); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pModuleInstanceNamespace, pModuleWithFunctionPrototype, pFunctionName, ppCallNode); } /// @@ -113,9 +113,9 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HResult PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int SrcParameterIndex, sbyte* pSrcSwizzle, ID3D11LinkingNode* pDstNode, int DstParameterIndex, sbyte* pDstSwizzle) + public HResult PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int SrcParameterIndex, byte* pSrcSwizzle, ID3D11LinkingNode* pDstNode, int DstParameterIndex, byte* pDstSwizzle) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pSrcNode, SrcParameterIndex, pSrcSwizzle, pDstNode, DstParameterIndex, pDstSwizzle); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ID3D11FunctionLinkingGraph*)Unsafe.AsPointer(ref this), pSrcNode, SrcParameterIndex, pSrcSwizzle, pDstNode, DstParameterIndex, pDstSwizzle); } /// @@ -146,13 +146,13 @@ public unsafe partial struct ID3D11FunctionLinkingGraph : ID3D11FunctionLinkingG HResult SetOutputSignature(ParameterDescription* pOutputParameters, uint cOutputParameters, ID3D11LinkingNode** ppOutputNode); [VtblIndex(6)] - HResult CallFunction(sbyte* pModuleInstanceNamespace, ID3D11Module* pModuleWithFunctionPrototype, sbyte* pFunctionName, ID3D11LinkingNode** ppCallNode); + HResult CallFunction(byte* pModuleInstanceNamespace, ID3D11Module* pModuleWithFunctionPrototype, byte* pFunctionName, ID3D11LinkingNode** ppCallNode); [VtblIndex(7)] HResult PassValue(ID3D11LinkingNode* pSrcNode, int SrcParameterIndex, ID3D11LinkingNode* pDstNode, int DstParameterIndex); [VtblIndex(8)] - HResult PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int SrcParameterIndex, sbyte* pSrcSwizzle, ID3D11LinkingNode* pDstNode, int DstParameterIndex, sbyte* pDstSwizzle); + HResult PassValueWithSwizzle(ID3D11LinkingNode* pSrcNode, int SrcParameterIndex, byte* pSrcSwizzle, ID3D11LinkingNode* pDstNode, int DstParameterIndex, byte* pDstSwizzle); [VtblIndex(9)] HResult GetLastError(Graphics.Direct3D.ID3DBlob** ppErrorBuffer); diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11FunctionReflection.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11FunctionReflection.cs index f8df5f5..927b8cf 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11FunctionReflection.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11FunctionReflection.cs @@ -61,9 +61,9 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByName(sbyte* Name) + public ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -77,17 +77,17 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public ID3D11ShaderReflectionVariable* GetVariableByName(sbyte* Name) + public ID3D11ShaderReflectionVariable* GetVariableByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public HResult GetResourceBindingDescByName(sbyte* Name, ShaderInputBindDescription* pDesc) + public HResult GetResourceBindingDescByName(byte* Name, ShaderInputBindDescription* pDesc) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name, pDesc); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID3D11FunctionReflection*)Unsafe.AsPointer(ref this), Name, pDesc); } /// @@ -107,16 +107,16 @@ public unsafe partial struct ID3D11FunctionReflection : ID3D11FunctionReflection ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByIndex(uint BufferIndex); [VtblIndex(2)] - ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByName(sbyte* Name); + ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByName(byte* Name); [VtblIndex(3)] HResult GetResourceBindingDesc(uint ResourceIndex, ShaderInputBindDescription* pDesc); [VtblIndex(4)] - ID3D11ShaderReflectionVariable* GetVariableByName(sbyte* Name); + ID3D11ShaderReflectionVariable* GetVariableByName(byte* Name); [VtblIndex(5)] - HResult GetResourceBindingDescByName(sbyte* Name, ShaderInputBindDescription* pDesc); + HResult GetResourceBindingDescByName(byte* Name, ShaderInputBindDescription* pDesc); [VtblIndex(6)] ID3D11FunctionParameterReflection* GetFunctionParameter(int ParameterIndex); diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11InfoQueue.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11InfoQueue.cs index beaf2c3..598b0c3 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11InfoQueue.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11InfoQueue.cs @@ -273,17 +273,17 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, sbyte* pDescription) + public HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, byte* pDescription) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public HResult AddApplicationMessage(MessageSeverity Severity, sbyte* pDescription) + public HResult AddApplicationMessage(MessageSeverity Severity, byte* pDescription) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((ID3D11InfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); } /// @@ -428,10 +428,10 @@ public unsafe partial struct ID3D11InfoQueue : ID3D11InfoQueue.Interface, INativ uint GetRetrievalFilterStackSize(); [VtblIndex(28)] - HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, sbyte* pDescription); + HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, byte* pDescription); [VtblIndex(29)] - HResult AddApplicationMessage(MessageSeverity Severity, sbyte* pDescription); + HResult AddApplicationMessage(MessageSeverity Severity, byte* pDescription); [VtblIndex(30)] HResult SetBreakOnCategory(MessageCategory Category, Bool32 bEnable); diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11Linker.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11Linker.cs index 9b5c4d6..4a7012e 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11Linker.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11Linker.cs @@ -73,9 +73,9 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface, INativeGuid /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HResult Link(ID3D11ModuleInstance* pEntry, sbyte* pEntryName, sbyte* pTargetName, uint uFlags, Graphics.Direct3D.ID3DBlob** ppShaderBlob, Graphics.Direct3D.ID3DBlob** ppErrorBuffer) + public HResult Link(ID3D11ModuleInstance* pEntry, byte* pEntryName, byte* pTargetName, uint uFlags, Graphics.Direct3D.ID3DBlob** ppShaderBlob, Graphics.Direct3D.ID3DBlob** ppErrorBuffer) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D11Linker*)Unsafe.AsPointer(ref this), pEntry, pEntryName, pTargetName, uFlags, ppShaderBlob, ppErrorBuffer); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D11Linker*)Unsafe.AsPointer(ref this), pEntry, pEntryName, pTargetName, uFlags, ppShaderBlob, ppErrorBuffer); } /// @@ -97,7 +97,7 @@ public unsafe partial struct ID3D11Linker : ID3D11Linker.Interface, INativeGuid public interface Interface : IUnknown.Interface { [VtblIndex(3)] - HResult Link(ID3D11ModuleInstance* pEntry, sbyte* pEntryName, sbyte* pTargetName, uint uFlags, Graphics.Direct3D.ID3DBlob** ppShaderBlob, Graphics.Direct3D.ID3DBlob** ppErrorBuffer); + HResult Link(ID3D11ModuleInstance* pEntry, byte* pEntryName, byte* pTargetName, uint uFlags, Graphics.Direct3D.ID3DBlob** ppShaderBlob, Graphics.Direct3D.ID3DBlob** ppErrorBuffer); [VtblIndex(4)] HResult UseLibrary(ID3D11ModuleInstance* pLibraryMI); diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11Module.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11Module.cs index 04e150f..08fdaa4 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11Module.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11Module.cs @@ -73,15 +73,15 @@ public unsafe partial struct ID3D11Module : ID3D11Module.Interface, INativeGuid /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HResult CreateInstance(sbyte* pNamespace, ID3D11ModuleInstance** ppModuleInstance) + public HResult CreateInstance(byte* pNamespace, ID3D11ModuleInstance** ppModuleInstance) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D11Module*)Unsafe.AsPointer(ref this), pNamespace, ppModuleInstance); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D11Module*)Unsafe.AsPointer(ref this), pNamespace, ppModuleInstance); } public interface Interface : IUnknown.Interface { [VtblIndex(3)] - HResult CreateInstance(sbyte* pNamespace, ID3D11ModuleInstance** ppModuleInstance); + HResult CreateInstance(byte* pNamespace, ID3D11ModuleInstance** ppModuleInstance); } } diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ModuleInstance.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ModuleInstance.cs index b8a75bd..7f7ce61 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ModuleInstance.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ModuleInstance.cs @@ -81,9 +81,9 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public HResult BindConstantBufferByName(sbyte* pName, uint uDstSlot, uint cbDstOffset) + public HResult BindConstantBufferByName(byte* pName, uint uDstSlot, uint cbDstOffset) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, cbDstOffset); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, cbDstOffset); } /// @@ -97,9 +97,9 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(6)] - public HResult BindResourceByName(sbyte* pName, uint uDstSlot, uint uCount) + public HResult BindResourceByName(byte* pName, uint uDstSlot, uint uCount) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[6]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); } /// @@ -113,9 +113,9 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(8)] - public HResult BindSamplerByName(sbyte* pName, uint uDstSlot, uint uCount) + public HResult BindSamplerByName(byte* pName, uint uDstSlot, uint uCount) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[8]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); } /// @@ -129,9 +129,9 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public HResult BindUnorderedAccessViewByName(sbyte* pName, uint uDstSlot, uint uCount) + public HResult BindUnorderedAccessViewByName(byte* pName, uint uDstSlot, uint uCount) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pName, uDstSlot, uCount); } /// @@ -145,9 +145,9 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(12)] - public HResult BindResourceAsUnorderedAccessViewByName(sbyte* pSrvName, uint uDstUavSlot, uint uCount) + public HResult BindResourceAsUnorderedAccessViewByName(byte* pSrvName, uint uDstUavSlot, uint uCount) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pSrvName, uDstUavSlot, uCount); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[12]))((ID3D11ModuleInstance*)Unsafe.AsPointer(ref this), pSrvName, uDstUavSlot, uCount); } public interface Interface : IUnknown.Interface @@ -156,31 +156,31 @@ public unsafe partial struct ID3D11ModuleInstance : ID3D11ModuleInstance.Interfa HResult BindConstantBuffer(uint uSrcSlot, uint uDstSlot, uint cbDstOffset); [VtblIndex(4)] - HResult BindConstantBufferByName(sbyte* pName, uint uDstSlot, uint cbDstOffset); + HResult BindConstantBufferByName(byte* pName, uint uDstSlot, uint cbDstOffset); [VtblIndex(5)] HResult BindResource(uint uSrcSlot, uint uDstSlot, uint uCount); [VtblIndex(6)] - HResult BindResourceByName(sbyte* pName, uint uDstSlot, uint uCount); + HResult BindResourceByName(byte* pName, uint uDstSlot, uint uCount); [VtblIndex(7)] HResult BindSampler(uint uSrcSlot, uint uDstSlot, uint uCount); [VtblIndex(8)] - HResult BindSamplerByName(sbyte* pName, uint uDstSlot, uint uCount); + HResult BindSamplerByName(byte* pName, uint uDstSlot, uint uCount); [VtblIndex(9)] HResult BindUnorderedAccessView(uint uSrcSlot, uint uDstSlot, uint uCount); [VtblIndex(10)] - HResult BindUnorderedAccessViewByName(sbyte* pName, uint uDstSlot, uint uCount); + HResult BindUnorderedAccessViewByName(byte* pName, uint uDstSlot, uint uCount); [VtblIndex(11)] HResult BindResourceAsUnorderedAccessView(uint uSrcSrvSlot, uint uDstUavSlot, uint uCount); [VtblIndex(12)] - HResult BindResourceAsUnorderedAccessViewByName(sbyte* pSrvName, uint uDstUavSlot, uint uCount); + HResult BindResourceAsUnorderedAccessViewByName(byte* pSrvName, uint uDstUavSlot, uint uCount); } } diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflection.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflection.cs index 630a6fc..07725c4 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflection.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflection.cs @@ -89,9 +89,9 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByName(sbyte* Name) + public ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -129,17 +129,17 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public ID3D11ShaderReflectionVariable* GetVariableByName(sbyte* Name) + public ID3D11ShaderReflectionVariable* GetVariableByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HResult GetResourceBindingDescByName(sbyte* Name, ShaderInputBindDescription* pDesc) + public HResult GetResourceBindingDescByName(byte* Name, ShaderInputBindDescription* pDesc) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name, pDesc); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((ID3D11ShaderReflection*)Unsafe.AsPointer(ref this), Name, pDesc); } /// @@ -231,7 +231,7 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByIndex(uint Index); [VtblIndex(5)] - ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByName(sbyte* Name); + ID3D11ShaderReflectionConstantBuffer* GetConstantBufferByName(byte* Name); [VtblIndex(6)] HResult GetResourceBindingDesc(uint ResourceIndex, ShaderInputBindDescription* pDesc); @@ -246,10 +246,10 @@ public unsafe partial struct ID3D11ShaderReflection : ID3D11ShaderReflection.Int HResult GetPatchConstantParameterDesc(uint ParameterIndex, SignatureParameterDescription* pDesc); [VtblIndex(10)] - ID3D11ShaderReflectionVariable* GetVariableByName(sbyte* Name); + ID3D11ShaderReflectionVariable* GetVariableByName(byte* Name); [VtblIndex(11)] - HResult GetResourceBindingDescByName(sbyte* Name, ShaderInputBindDescription* pDesc); + HResult GetResourceBindingDescByName(byte* Name, ShaderInputBindDescription* pDesc); [VtblIndex(12)] uint GetMovInstructionCount(); diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflectionConstantBuffer.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflectionConstantBuffer.cs index 8876c96..c648c2a 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflectionConstantBuffer.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflectionConstantBuffer.cs @@ -61,9 +61,9 @@ public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11Shader /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public ID3D11ShaderReflectionVariable* GetVariableByName(sbyte* Name) + public ID3D11ShaderReflectionVariable* GetVariableByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D11ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); } public interface Interface @@ -75,7 +75,7 @@ public unsafe partial struct ID3D11ShaderReflectionConstantBuffer : ID3D11Shader ID3D11ShaderReflectionVariable* GetVariableByIndex(uint Index); [VtblIndex(2)] - ID3D11ShaderReflectionVariable* GetVariableByName(sbyte* Name); + ID3D11ShaderReflectionVariable* GetVariableByName(byte* Name); } } diff --git a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflectionType.cs b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflectionType.cs index b14febf..7e83dae 100644 --- a/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflectionType.cs +++ b/src/Vortice.Win32.Graphics.Direct3D11/Generated/ID3D11ShaderReflectionType.cs @@ -61,17 +61,17 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public ID3D11ShaderReflectionType* GetMemberTypeByName(sbyte* Name) + public ID3D11ShaderReflectionType* GetMemberTypeByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public sbyte* GetMemberTypeName(uint Index) + public byte* GetMemberTypeName(uint Index) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D11ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); } /// @@ -139,10 +139,10 @@ public unsafe partial struct ID3D11ShaderReflectionType : ID3D11ShaderReflection ID3D11ShaderReflectionType* GetMemberTypeByIndex(uint Index); [VtblIndex(2)] - ID3D11ShaderReflectionType* GetMemberTypeByName(sbyte* Name); + ID3D11ShaderReflectionType* GetMemberTypeByName(byte* Name); [VtblIndex(3)] - sbyte* GetMemberTypeName(uint Index); + byte* GetMemberTypeName(uint Index); [VtblIndex(4)] HResult IsEqual(ID3D11ShaderReflectionType* pType); diff --git a/src/Vortice.Win32.Graphics.Direct3D12/Generated/Graphics.Direct3D12.Structs.cs b/src/Vortice.Win32.Graphics.Direct3D12/Generated/Graphics.Direct3D12.Structs.cs index 4826e9e..02ae2b4 100644 --- a/src/Vortice.Win32.Graphics.Direct3D12/Generated/Graphics.Direct3D12.Structs.cs +++ b/src/Vortice.Win32.Graphics.Direct3D12/Generated/Graphics.Direct3D12.Structs.cs @@ -31,7 +31,7 @@ public partial struct CommandQueueDescription public partial struct InputElementDescription { /// - public unsafe sbyte* SemanticName; + public unsafe byte* SemanticName; /// public uint SemanticIndex; @@ -60,7 +60,7 @@ public partial struct SODeclarationEntry public uint Stream; /// - public unsafe sbyte* SemanticName; + public unsafe byte* SemanticName; /// public uint SemanticIndex; @@ -5748,7 +5748,7 @@ public partial struct DispatchMeshArguments public partial struct SignatureParameterDescription { /// - public unsafe sbyte* SemanticName; + public unsafe byte* SemanticName; /// public uint SemanticIndex; @@ -5780,7 +5780,7 @@ public partial struct SignatureParameterDescription public partial struct ShaderBufferDescription { /// - public unsafe sbyte* Name; + public unsafe byte* Name; /// public Graphics.Direct3D.ConstantBufferType Type; @@ -5800,7 +5800,7 @@ public partial struct ShaderBufferDescription public partial struct ShaderVariableDescription { /// - public unsafe sbyte* Name; + public unsafe byte* Name; /// public uint StartOffset; @@ -5853,7 +5853,7 @@ public partial struct ShaderTypeDescription public uint Offset; /// - public unsafe sbyte* Name; + public unsafe byte* Name; } /// @@ -5864,7 +5864,7 @@ public partial struct ShaderDescription public uint Version; /// - public unsafe sbyte* Creator; + public unsafe byte* Creator; /// public uint Flags; @@ -5980,7 +5980,7 @@ public partial struct ShaderDescription public partial struct ShaderInputBindDescription { /// - public unsafe sbyte* Name; + public unsafe byte* Name; /// public Graphics.Direct3D.ShaderInputType Type; @@ -6015,7 +6015,7 @@ public partial struct ShaderInputBindDescription public partial struct LibraryDescription { /// - public unsafe sbyte* Creator; + public unsafe byte* Creator; /// public uint Flags; @@ -6032,7 +6032,7 @@ public partial struct FunctionDescription public uint Version; /// - public unsafe sbyte* Creator; + public unsafe byte* Creator; /// public uint Flags; @@ -6113,7 +6113,7 @@ public partial struct FunctionDescription public ulong RequiredFeatureFlags; /// - public unsafe sbyte* Name; + public unsafe byte* Name; /// public int FunctionParameterCount; @@ -6133,10 +6133,10 @@ public partial struct FunctionDescription public partial struct ParameterDescription { /// - public unsafe sbyte* Name; + public unsafe byte* Name; /// - public unsafe sbyte* SemanticName; + public unsafe byte* SemanticName; /// public Graphics.Direct3D.ShaderVariableType Type; diff --git a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12FunctionReflection.cs b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12FunctionReflection.cs index 07e1bcc..6480f31 100644 --- a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12FunctionReflection.cs +++ b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12FunctionReflection.cs @@ -61,9 +61,9 @@ public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public ID3D12ShaderReflectionConstantBuffer* GetConstantBufferByName(sbyte* Name) + public ID3D12ShaderReflectionConstantBuffer* GetConstantBufferByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -77,17 +77,17 @@ public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public ID3D12ShaderReflectionVariable* GetVariableByName(sbyte* Name) + public ID3D12ShaderReflectionVariable* GetVariableByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public HResult GetResourceBindingDescByName(sbyte* Name, ShaderInputBindDescription* pDesc) + public HResult GetResourceBindingDescByName(byte* Name, ShaderInputBindDescription* pDesc) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name, pDesc); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID3D12FunctionReflection*)Unsafe.AsPointer(ref this), Name, pDesc); } /// @@ -107,16 +107,16 @@ public unsafe partial struct ID3D12FunctionReflection : ID3D12FunctionReflection ID3D12ShaderReflectionConstantBuffer* GetConstantBufferByIndex(uint BufferIndex); [VtblIndex(2)] - ID3D12ShaderReflectionConstantBuffer* GetConstantBufferByName(sbyte* Name); + ID3D12ShaderReflectionConstantBuffer* GetConstantBufferByName(byte* Name); [VtblIndex(3)] HResult GetResourceBindingDesc(uint ResourceIndex, ShaderInputBindDescription* pDesc); [VtblIndex(4)] - ID3D12ShaderReflectionVariable* GetVariableByName(sbyte* Name); + ID3D12ShaderReflectionVariable* GetVariableByName(byte* Name); [VtblIndex(5)] - HResult GetResourceBindingDescByName(sbyte* Name, ShaderInputBindDescription* pDesc); + HResult GetResourceBindingDescByName(byte* Name, ShaderInputBindDescription* pDesc); [VtblIndex(6)] ID3D12FunctionParameterReflection* GetFunctionParameter(int ParameterIndex); diff --git a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12InfoQueue.cs b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12InfoQueue.cs index 89cf547..383c9a5 100644 --- a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12InfoQueue.cs +++ b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12InfoQueue.cs @@ -273,17 +273,17 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface, INativ /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, sbyte* pDescription) + public HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, byte* pDescription) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public HResult AddApplicationMessage(MessageSeverity Severity, sbyte* pDescription) + public HResult AddApplicationMessage(MessageSeverity Severity, byte* pDescription) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((ID3D12InfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); } /// @@ -428,10 +428,10 @@ public unsafe partial struct ID3D12InfoQueue : ID3D12InfoQueue.Interface, INativ uint GetRetrievalFilterStackSize(); [VtblIndex(28)] - HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, sbyte* pDescription); + HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, byte* pDescription); [VtblIndex(29)] - HResult AddApplicationMessage(MessageSeverity Severity, sbyte* pDescription); + HResult AddApplicationMessage(MessageSeverity Severity, byte* pDescription); [VtblIndex(30)] HResult SetBreakOnCategory(MessageCategory Category, Bool32 bEnable); diff --git a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12InfoQueue1.cs b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12InfoQueue1.cs index 12177c5..8ad2292 100644 --- a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12InfoQueue1.cs +++ b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12InfoQueue1.cs @@ -273,17 +273,17 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface, INat /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(28)] - public HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, sbyte* pDescription) + public HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, byte* pDescription) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[28]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(29)] - public HResult AddApplicationMessage(MessageSeverity Severity, sbyte* pDescription) + public HResult AddApplicationMessage(MessageSeverity Severity, byte* pDescription) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Severity, pDescription); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[29]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Severity, pDescription); } /// @@ -353,9 +353,9 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface, INat /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(38)] - public HResult RegisterMessageCallback(delegate* unmanaged[Stdcall] CallbackFunc, MessageCallbackFlags CallbackFilterFlags, void* pContext, uint* pCallbackCookie) + public HResult RegisterMessageCallback(delegate* unmanaged[Stdcall] CallbackFunc, MessageCallbackFlags CallbackFilterFlags, void* pContext, uint* pCallbackCookie) { - return ((delegate* unmanaged[MemberFunction], MessageCallbackFlags, void*, uint*, int>)(lpVtbl[38]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), CallbackFunc, CallbackFilterFlags, pContext, pCallbackCookie); + return ((delegate* unmanaged[MemberFunction], MessageCallbackFlags, void*, uint*, int>)(lpVtbl[38]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), CallbackFunc, CallbackFilterFlags, pContext, pCallbackCookie); } /// @@ -369,7 +369,7 @@ public unsafe partial struct ID3D12InfoQueue1 : ID3D12InfoQueue1.Interface, INat public interface Interface : ID3D12InfoQueue.Interface { [VtblIndex(38)] - HResult RegisterMessageCallback(delegate* unmanaged[Stdcall] CallbackFunc, MessageCallbackFlags CallbackFilterFlags, void* pContext, uint* pCallbackCookie); + HResult RegisterMessageCallback(delegate* unmanaged[Stdcall] CallbackFunc, MessageCallbackFlags CallbackFilterFlags, void* pContext, uint* pCallbackCookie); [VtblIndex(39)] HResult UnregisterMessageCallback(uint CallbackCookie); diff --git a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12SDKConfiguration.cs b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12SDKConfiguration.cs index 38dba14..992e79d 100644 --- a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12SDKConfiguration.cs +++ b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12SDKConfiguration.cs @@ -73,15 +73,15 @@ public unsafe partial struct ID3D12SDKConfiguration : ID3D12SDKConfiguration.Int /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HResult SetSDKVersion(uint SDKVersion, sbyte* SDKPath) + public HResult SetSDKVersion(uint SDKVersion, byte* SDKPath) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D12SDKConfiguration*)Unsafe.AsPointer(ref this), SDKVersion, SDKPath); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D12SDKConfiguration*)Unsafe.AsPointer(ref this), SDKVersion, SDKPath); } public interface Interface : IUnknown.Interface { [VtblIndex(3)] - HResult SetSDKVersion(uint SDKVersion, sbyte* SDKPath); + HResult SetSDKVersion(uint SDKVersion, byte* SDKPath); } } diff --git a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12SDKConfiguration1.cs b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12SDKConfiguration1.cs index 8f8f9de..4a545a3 100644 --- a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12SDKConfiguration1.cs +++ b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12SDKConfiguration1.cs @@ -73,17 +73,17 @@ public unsafe partial struct ID3D12SDKConfiguration1 : ID3D12SDKConfiguration1.I /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public HResult SetSDKVersion(uint SDKVersion, sbyte* SDKPath) + public HResult SetSDKVersion(uint SDKVersion, byte* SDKPath) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D12SDKConfiguration1*)Unsafe.AsPointer(ref this), SDKVersion, SDKPath); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D12SDKConfiguration1*)Unsafe.AsPointer(ref this), SDKVersion, SDKPath); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(4)] - public HResult CreateDeviceFactory(uint SDKVersion, sbyte* SDKPath, Guid* riid, void** ppvFactory) + public HResult CreateDeviceFactory(uint SDKVersion, byte* SDKPath, Guid* riid, void** ppvFactory) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID3D12SDKConfiguration1*)Unsafe.AsPointer(ref this), SDKVersion, SDKPath, riid, ppvFactory); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[4]))((ID3D12SDKConfiguration1*)Unsafe.AsPointer(ref this), SDKVersion, SDKPath, riid, ppvFactory); } /// @@ -97,7 +97,7 @@ public unsafe partial struct ID3D12SDKConfiguration1 : ID3D12SDKConfiguration1.I public interface Interface : ID3D12SDKConfiguration.Interface { [VtblIndex(4)] - HResult CreateDeviceFactory(uint SDKVersion, sbyte* SDKPath, Guid* riid, void** ppvFactory); + HResult CreateDeviceFactory(uint SDKVersion, byte* SDKPath, Guid* riid, void** ppvFactory); [VtblIndex(5)] void FreeUnusedSDKs(); diff --git a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflection.cs b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflection.cs index aefbf74..f0632e4 100644 --- a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflection.cs +++ b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflection.cs @@ -89,9 +89,9 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(5)] - public ID3D12ShaderReflectionConstantBuffer* GetConstantBufferByName(sbyte* Name) + public ID3D12ShaderReflectionConstantBuffer* GetConstantBufferByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[5]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); } /// @@ -129,17 +129,17 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(10)] - public ID3D12ShaderReflectionVariable* GetVariableByName(sbyte* Name) + public ID3D12ShaderReflectionVariable* GetVariableByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[10]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(11)] - public HResult GetResourceBindingDescByName(sbyte* Name, ShaderInputBindDescription* pDesc) + public HResult GetResourceBindingDescByName(byte* Name, ShaderInputBindDescription* pDesc) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name, pDesc); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[11]))((ID3D12ShaderReflection*)Unsafe.AsPointer(ref this), Name, pDesc); } /// @@ -231,7 +231,7 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int ID3D12ShaderReflectionConstantBuffer* GetConstantBufferByIndex(uint Index); [VtblIndex(5)] - ID3D12ShaderReflectionConstantBuffer* GetConstantBufferByName(sbyte* Name); + ID3D12ShaderReflectionConstantBuffer* GetConstantBufferByName(byte* Name); [VtblIndex(6)] HResult GetResourceBindingDesc(uint ResourceIndex, ShaderInputBindDescription* pDesc); @@ -246,10 +246,10 @@ public unsafe partial struct ID3D12ShaderReflection : ID3D12ShaderReflection.Int HResult GetPatchConstantParameterDesc(uint ParameterIndex, SignatureParameterDescription* pDesc); [VtblIndex(10)] - ID3D12ShaderReflectionVariable* GetVariableByName(sbyte* Name); + ID3D12ShaderReflectionVariable* GetVariableByName(byte* Name); [VtblIndex(11)] - HResult GetResourceBindingDescByName(sbyte* Name, ShaderInputBindDescription* pDesc); + HResult GetResourceBindingDescByName(byte* Name, ShaderInputBindDescription* pDesc); [VtblIndex(12)] uint GetMovInstructionCount(); diff --git a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflectionConstantBuffer.cs b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflectionConstantBuffer.cs index 686ba63..d01675d 100644 --- a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflectionConstantBuffer.cs +++ b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflectionConstantBuffer.cs @@ -61,9 +61,9 @@ public unsafe partial struct ID3D12ShaderReflectionConstantBuffer : ID3D12Shader /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public ID3D12ShaderReflectionVariable* GetVariableByName(sbyte* Name) + public ID3D12ShaderReflectionVariable* GetVariableByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D12ShaderReflectionConstantBuffer*)Unsafe.AsPointer(ref this), Name); } public interface Interface @@ -75,7 +75,7 @@ public unsafe partial struct ID3D12ShaderReflectionConstantBuffer : ID3D12Shader ID3D12ShaderReflectionVariable* GetVariableByIndex(uint Index); [VtblIndex(2)] - ID3D12ShaderReflectionVariable* GetVariableByName(sbyte* Name); + ID3D12ShaderReflectionVariable* GetVariableByName(byte* Name); } } diff --git a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflectionType.cs b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflectionType.cs index 272c994..da97441 100644 --- a/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflectionType.cs +++ b/src/Vortice.Win32.Graphics.Direct3D12/Generated/ID3D12ShaderReflectionType.cs @@ -61,17 +61,17 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(2)] - public ID3D12ShaderReflectionType* GetMemberTypeByName(sbyte* Name) + public ID3D12ShaderReflectionType* GetMemberTypeByName(byte* Name) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[2]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Name); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(3)] - public sbyte* GetMemberTypeName(uint Index) + public byte* GetMemberTypeName(uint Index) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[3]))((ID3D12ShaderReflectionType*)Unsafe.AsPointer(ref this), Index); } /// @@ -139,10 +139,10 @@ public unsafe partial struct ID3D12ShaderReflectionType : ID3D12ShaderReflection ID3D12ShaderReflectionType* GetMemberTypeByIndex(uint Index); [VtblIndex(2)] - ID3D12ShaderReflectionType* GetMemberTypeByName(sbyte* Name); + ID3D12ShaderReflectionType* GetMemberTypeByName(byte* Name); [VtblIndex(3)] - sbyte* GetMemberTypeName(uint Index); + byte* GetMemberTypeName(uint Index); [VtblIndex(4)] HResult IsEqual(ID3D12ShaderReflectionType* pType); diff --git a/src/Vortice.Win32.Graphics.Dxgi/Generated/IDXGIInfoQueue.cs b/src/Vortice.Win32.Graphics.Dxgi/Generated/IDXGIInfoQueue.cs index 10c820f..6b945ab 100644 --- a/src/Vortice.Win32.Graphics.Dxgi/Generated/IDXGIInfoQueue.cs +++ b/src/Vortice.Win32.Graphics.Dxgi/Generated/IDXGIInfoQueue.cs @@ -289,17 +289,17 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(30)] - public HResult AddMessage(Guid Producer, InfoQueueMessageCategory Category, InfoQueueMessageSeverity Severity, int ID, sbyte* pDescription) + public HResult AddMessage(Guid Producer, InfoQueueMessageCategory Category, InfoQueueMessageSeverity Severity, int ID, byte* pDescription) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[30]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, Severity, ID, pDescription); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[30]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Producer, Category, Severity, ID, pDescription); } /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(31)] - public HResult AddApplicationMessage(InfoQueueMessageSeverity Severity, sbyte* pDescription) + public HResult AddApplicationMessage(InfoQueueMessageSeverity Severity, byte* pDescription) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[31]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[31]))((IDXGIInfoQueue*)Unsafe.AsPointer(ref this), Severity, pDescription); } /// @@ -450,10 +450,10 @@ public unsafe partial struct IDXGIInfoQueue : IDXGIInfoQueue.Interface, INativeG uint GetRetrievalFilterStackSize(Guid Producer); [VtblIndex(30)] - HResult AddMessage(Guid Producer, InfoQueueMessageCategory Category, InfoQueueMessageSeverity Severity, int ID, sbyte* pDescription); + HResult AddMessage(Guid Producer, InfoQueueMessageCategory Category, InfoQueueMessageSeverity Severity, int ID, byte* pDescription); [VtblIndex(31)] - HResult AddApplicationMessage(InfoQueueMessageSeverity Severity, sbyte* pDescription); + HResult AddApplicationMessage(InfoQueueMessageSeverity Severity, byte* pDescription); [VtblIndex(32)] HResult SetBreakOnCategory(Guid Producer, InfoQueueMessageCategory Category, Bool32 bEnable); diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/Graphics.Direct3D.Structs.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/Graphics.Direct3D.Structs.cs index 0aa364c..e10e276 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/Graphics.Direct3D.Structs.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/Graphics.Direct3D.Structs.cs @@ -14,8 +14,8 @@ namespace Win32.Graphics.Direct3D; public partial struct ShaderMacro { /// - public unsafe sbyte* Name; + public unsafe byte* Name; /// - public unsafe sbyte* Definition; + public unsafe byte* Definition; } diff --git a/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DInclude.cs b/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DInclude.cs index d272095..c75aa2a 100644 --- a/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DInclude.cs +++ b/src/Vortice.Win32/Generated/Graphics/Direct3D/ID3DInclude.cs @@ -18,9 +18,9 @@ public unsafe partial struct ID3DInclude : ID3DInclude.Interface /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(0)] - public HResult Open(IncludeType IncludeType, sbyte* pFileName, void* pParentData, void** ppData, uint* pBytes) + public HResult Open(IncludeType IncludeType, byte* pFileName, void* pParentData, void** ppData, uint* pBytes) { - return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ID3DInclude*)Unsafe.AsPointer(ref this), IncludeType, pFileName, pParentData, ppData, pBytes); + return ((delegate* unmanaged[MemberFunction])(lpVtbl[0]))((ID3DInclude*)Unsafe.AsPointer(ref this), IncludeType, pFileName, pParentData, ppData, pBytes); } /// @@ -34,7 +34,7 @@ public unsafe partial struct ID3DInclude : ID3DInclude.Interface public interface Interface { [VtblIndex(0)] - HResult Open(IncludeType IncludeType, sbyte* pFileName, void* pParentData, void** ppData, uint* pBytes); + HResult Open(IncludeType IncludeType, byte* pFileName, void* pParentData, void** ppData, uint* pBytes); [VtblIndex(1)] HResult Close(void* pData);