2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 06:27:43 +00:00

Vulkan Updates

This commit is contained in:
Jack Andersen
2016-07-01 17:46:02 -10:00
parent 8e43027b1d
commit 2e784a1941
5 changed files with 6 additions and 4 deletions

View File

@@ -27,7 +27,7 @@ BOO_GLSL_BINDING_HEAD
"{\n"
" vtf.color = colorIn * moduColor;\n"
" vtf.uv = uvIn.xy;\n"
" gl_Position = posIn;\n"
" gl_Position = FLIPFROMGL(posIn);\n"
"}\n";
static const char* FS_GLSL_TEX =
@@ -67,7 +67,7 @@ BOO_GLSL_BINDING_HEAD
"void main()\n"
"{\n"
" vtf.color = colorIn * moduColor;\n"
" gl_Position = posIn;\n"
" gl_Position = FLIPFROMGL(posIn);\n"
"}\n";
static const char* FS_GLSL_NOTEX =

View File

@@ -27,6 +27,7 @@ SPECTER_GLSL_VIEW_VERT_BLOCK
" vtf.uv = uvIn;\n"
" vtf.color = mulColor;\n"
" gl_Position = mv * vec4(posIn, 1.0);\n"
" gl_Position = FLIPFROMGL(gl_Position);\n"
"}\n";
static const char* FS_GLSL_YUV =

View File

@@ -100,6 +100,7 @@ BOO_GLSL_BINDING_HEAD
" vtf.uvTexr = uvsInTexrTind[gl_VertexID].xy;\n"
" vtf.uvTind = uvsInTexrTind[gl_VertexID].zw;\n"
" gl_Position = mvp * posIn[gl_VertexID];\n"
" gl_Position = FLIPFROMGL(gl_Position);\n"
"}\n";
static const char* FS_GLSL_INDTEX =

2
hecl

Submodule hecl updated: 360af21c0d...b43709fc03

Submodule specter updated: f81bd59b92...6fd07871e9