mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 13:25:19 +00:00
Fixed broken bindings of ICompiler and ICompiler2. See https://learn.microsoft.com/en-us/windows/win32/api/dxcapi/ns-dxcapi-idxccompiler and https://learn.microsoft.com/en-us/windows/win32/api/dxcapi/ns-dxcapi-idxccompiler2 for correct signatures.
This commit is contained in:
6
vendor/directx/dxc/dxcapi.odin
vendored
6
vendor/directx/dxc/dxcapi.odin
vendored
@@ -194,7 +194,7 @@ ICompiler_VTable :: struct {
|
||||
using iunknown_vtable: IUnknown_VTable,
|
||||
Compile: proc "system" (
|
||||
this: ^ICompiler,
|
||||
pSource: ^Buffer,
|
||||
pSource: ^IBlob,
|
||||
pSourceName: wstring,
|
||||
pEntryPoint: wstring,
|
||||
pTargetProfile: wstring,
|
||||
@@ -206,7 +206,7 @@ ICompiler_VTable :: struct {
|
||||
ppResult: ^^IOperationResult) -> HRESULT,
|
||||
Preprocess: proc "system" (
|
||||
this: ^ICompiler,
|
||||
pSource: ^Buffer,
|
||||
pSource: ^IBlob,
|
||||
pSourceName: wstring,
|
||||
pArguments: [^]wstring,
|
||||
argCount: u32,
|
||||
@@ -227,7 +227,7 @@ ICompiler2_VTable :: struct {
|
||||
using idxccompiler_vtable: ^ICompiler_VTable,
|
||||
CompileWithDebug: proc "system" (
|
||||
this: ^ICompiler2,
|
||||
pSource: ^Buffer,
|
||||
pSource: ^IBlob,
|
||||
pSourceName: wstring,
|
||||
pEntryPoint: wstring,
|
||||
pTargetProfile: wstring,
|
||||
|
||||
Reference in New Issue
Block a user