Skip to content

Commit

Permalink
fix metal build
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcarnie committed Sep 5, 2018
1 parent a23baba commit 99bae45
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/backend/metal/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ fn main() {
out_path.set_extension("air");

let status = Command::new("xcrun")
.args(&["-sdk", sdk_name, "metal"])
.args(&["-sdk", sdk_name, "metal", "-c"])
.arg(shader_path.as_os_str())
.arg("-o")
.arg(out_path.as_os_str())
Expand Down
2 changes: 1 addition & 1 deletion src/backend/metal/shaders/blit.metal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "macros.metal"
#include "macros.h"
#include <metal_stdlib>
using namespace metal;

Expand Down
2 changes: 1 addition & 1 deletion src/backend/metal/shaders/clear.metal
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "macros.metal"
#include "macros.h"
#include <metal_stdlib>
using namespace metal;

Expand Down
File renamed without changes.

0 comments on commit 99bae45

Please sign in to comment.