Browse Source

Merge pull request #2340 from Hyp-X/pr-shader-reflection-fix

Fixed d3d12 shader reflection vtables
gingerBill 2 years ago
parent
commit
bc882e678d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      vendor/directx/d3d12/d3d12.odin

+ 3 - 3
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,