From f252084b1f04028cf94c77662fbfefa4cf0987f1 Mon Sep 17 00:00:00 2001 From: wrapperup Date: Sat, 13 Apr 2024 15:05:51 -0400 Subject: [PATCH 1/2] add dxc to all_vendor.odin --- examples/all/all_vendor.odin | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/all/all_vendor.odin b/examples/all/all_vendor.odin index 9093e0f3e..1ab1debea 100644 --- a/examples/all/all_vendor.odin +++ b/examples/all/all_vendor.odin @@ -73,10 +73,12 @@ _ :: MTK _ :: CA +import DXC "vendor:directx/dxc" import D3D11 "vendor:directx/d3d11" import D3D12 "vendor:directx/d3d12" import DXGI "vendor:directx/dxgi" +_ :: DXC _ :: D3D11 _ :: D3D12 _ :: DXGI From b22e43c335bd48df1f4d4016c0c8d83db08794ca Mon Sep 17 00:00:00 2001 From: wrapperup Date: Sat, 13 Apr 2024 15:27:02 -0400 Subject: [PATCH 2/2] add freebsd, openbsd to dxcdef_unix.odin --- vendor/directx/dxc/dxcdef_unix.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/directx/dxc/dxcdef_unix.odin b/vendor/directx/dxc/dxcdef_unix.odin index 649bb8a13..12a682310 100644 --- a/vendor/directx/dxc/dxcdef_unix.odin +++ b/vendor/directx/dxc/dxcdef_unix.odin @@ -1,4 +1,4 @@ -//+build linux, darwin +//+build linux, darwin, freebsd, openbsd package directx_dxc import "core:c"