macOS fixes

This commit is contained in:
Jack Andersen
2018-01-21 13:07:34 -10:00
parent 93c787dcd4
commit 5f48359cc7
5 changed files with 212 additions and 67 deletions

View File

@@ -463,7 +463,7 @@ struct TestApplicationCallback : IApplicationCallback
"using namespace metal;\n"
"struct VertToFrag {float4 out_pos [[ position ]]; float2 out_uv;};\n"
"fragment float4 fmain(VertToFrag d [[ stage_in ]],\n"
" sampler samp [[ sampler(0) ]],\n"
" sampler samp [[ sampler(2) ]],\n"
" texture2d<float> tex [[ texture(0) ]])\n"
"{\n"
" return tex.sample(samp, d.out_uv);\n"