소스 검색

Fixed d3d12 shader reflection vtables

Hyp-X 2 년 전
부모
커밋
cf091a48b4
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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,