Metal shader fixes

This commit is contained in:
Jack Andersen 2016-09-11 19:29:35 -10:00
parent ba0287159a
commit 1cd2e6eb5c
3 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,7 @@ static const char* VS =
" VertToFrag vtf;\n"
" vtf.color = color;\n"
" vtf.uv = v.uvIn.xy;\n"
" vtf.uv.y = -vtf.uv.y;\n"
" vtf.position = float4(v.posIn.xyz, 1.0);\n"
" return vtf;\n"
"}\n";

View File

@ -31,6 +31,7 @@ static const char* VS =
" VertToFrag vtf;\n"
" vtf.color = tqu.color;\n"
" vtf.uv = v.uvIn.xy;\n"
" vtf.uv.y = -vtf.uv.y;\n"
" vtf.position = float4(v.posIn.xyz, 1.0);\n"
" return vtf;\n"
"}\n";

2
hecl

@ -1 +1 @@
Subproject commit 88fade1d0df7b34a38e9415adbb04a7eaf838f42
Subproject commit 83dee4423b5d4c5906357d63e90bb70c8230e8bd