diff options
Diffstat (limited to 'third_party/rust/metal/examples/shader-dylib/test_dylib.metal')
-rw-r--r-- | third_party/rust/metal/examples/shader-dylib/test_dylib.metal | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/rust/metal/examples/shader-dylib/test_dylib.metal b/third_party/rust/metal/examples/shader-dylib/test_dylib.metal new file mode 100644 index 0000000000..5faa4a803a --- /dev/null +++ b/third_party/rust/metal/examples/shader-dylib/test_dylib.metal @@ -0,0 +1,8 @@ +#include <metal_stdlib> + +using namespace metal; + +float4 get_color_test(float4 inColor) +{ + return float4(inColor.r, inColor.g, inColor.b, 0); +} |