summaryrefslogtreecommitdiffstats
path: root/third_party/rust/metal/Makefile
blob: bc3587694534ce18bb142b7cc3b70650630119cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
compute:
	xcrun -sdk macosx metal -c examples/compute/shaders.metal -o examples/compute/shaders.air
	xcrun -sdk macosx metallib examples/compute/shaders.air -o examples/compute/shaders.metallib

window:
	xcrun -sdk macosx metal -c examples/window/shaders.metal -o examples/window/shaders.air
	xcrun -sdk macosx metallib examples/window/shaders.air -o examples/window/shaders.metallib

circle:
	xcrun -sdk macosx metal -c examples/circle/shaders.metal -o examples/circle/shaders.air
	xcrun -sdk macosx metallib examples/circle/shaders.air -o examples/circle/shaders.metallib