From 1c438cb5c841b7476ae18c24598b8047cb3dd207 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 26 May 2024 16:05:58 +0900 Subject: [PATCH] examples/shaderprecomp/fxc, examples/shaderprecomp/metallib: add go:build --- examples/shaderprecomp/fxc/generate.go | 2 ++ examples/shaderprecomp/metallib/generate.go | 2 ++ 2 files changed, 4 insertions(+) diff --git a/examples/shaderprecomp/fxc/generate.go b/examples/shaderprecomp/fxc/generate.go index 772999805..601e6532c 100644 --- a/examples/shaderprecomp/fxc/generate.go +++ b/examples/shaderprecomp/fxc/generate.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build windows + //go:generate go run gen.go package fxc diff --git a/examples/shaderprecomp/metallib/generate.go b/examples/shaderprecomp/metallib/generate.go index efd32a56d..658ccc004 100644 --- a/examples/shaderprecomp/metallib/generate.go +++ b/examples/shaderprecomp/metallib/generate.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build darwin + //go:generate go run gen.go package metallib