mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-02 11:12:31 +00:00
Merge pull request #2340 from Hyp-X/pr-shader-reflection-fix
Fixed d3d12 shader reflection vtables
This commit is contained in:
6
vendor/directx/d3d12/d3d12.odin
vendored
6
vendor/directx/d3d12/d3d12.odin
vendored
@@ -5104,7 +5104,7 @@ PARAMETER_DESC :: struct {
|
||||
}
|
||||
|
||||
IShaderReflectionType :: struct {
|
||||
vtable: ^IShaderReflectionType_VTable,
|
||||
using vtable: ^IShaderReflectionType_VTable,
|
||||
}
|
||||
IShaderReflectionType_VTable :: struct {
|
||||
GetDesc: proc "stdcall" (this: ^IShaderReflectionType, pDesc: ^SHADER_TYPE_DESC) -> HRESULT,
|
||||
@@ -5121,7 +5121,7 @@ IShaderReflectionType_VTable :: struct {
|
||||
}
|
||||
|
||||
IShaderReflectionVariable :: struct {
|
||||
vtable: ^IShaderReflectionVariable_VTable,
|
||||
using vtable: ^IShaderReflectionVariable_VTable,
|
||||
}
|
||||
IShaderReflectionVariable_VTable :: struct {
|
||||
GetDesc: proc "stdcall" (this: ^IShaderReflectionVariable, pDesc: ^SHADER_VARIABLE_DESC) -> HRESULT,
|
||||
@@ -5131,7 +5131,7 @@ IShaderReflectionVariable_VTable :: struct {
|
||||
}
|
||||
|
||||
IShaderReflectionConstantBuffer :: struct {
|
||||
vtable: ^IShaderReflectionConstantBuffer_VTable,
|
||||
using vtable: ^IShaderReflectionConstantBuffer_VTable,
|
||||
}
|
||||
IShaderReflectionConstantBuffer_VTable :: struct {
|
||||
GetDesc: proc "stdcall" (this: ^IShaderReflectionConstantBuffer, pDesc: ^SHADER_BUFFER_DESC) -> HRESULT,
|
||||
|
||||
Reference in New Issue
Block a user