aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2023-02-23 15:40:15 +0000
committerGitHub <noreply@github.com>2023-02-23 15:40:15 +0000
commitbc882e678d469b53bd71ee7cfbea599be5aa0290 (patch)
treec7112b26ee2aa929aae7bec7e6c77fe7680db446
parent58e173f279262f04f23fb3d4fd62fc05b297b41d (diff)
parentcf091a48b4b301a7ab4e917e9661e655371b28df (diff)
Merge pull request #2340 from Hyp-X/pr-shader-reflection-fix
Fixed d3d12 shader reflection vtables
-rw-r--r--vendor/directx/d3d12/d3d12.odin6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/directx/d3d12/d3d12.odin b/vendor/directx/d3d12/d3d12.odin
index b2e2d52df..c1ece8936 100644
--- a/vendor/directx/d3d12/d3d12.odin
+++ b/vendor/directx/d3d12/d3d12.odin
@@ -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,