mirror of
https://github.com/AxioDL/boo.git
synced 2025-12-09 21:47:57 +00:00
macOS fixes
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user