mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 19:47:43 +00:00
Vulkan Updates
This commit is contained in:
@@ -27,7 +27,7 @@ BOO_GLSL_BINDING_HEAD
|
|||||||
"{\n"
|
"{\n"
|
||||||
" vtf.color = colorIn * moduColor;\n"
|
" vtf.color = colorIn * moduColor;\n"
|
||||||
" vtf.uv = uvIn.xy;\n"
|
" vtf.uv = uvIn.xy;\n"
|
||||||
" gl_Position = posIn;\n"
|
" gl_Position = FLIPFROMGL(posIn);\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
static const char* FS_GLSL_TEX =
|
static const char* FS_GLSL_TEX =
|
||||||
@@ -67,7 +67,7 @@ BOO_GLSL_BINDING_HEAD
|
|||||||
"void main()\n"
|
"void main()\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" vtf.color = colorIn * moduColor;\n"
|
" vtf.color = colorIn * moduColor;\n"
|
||||||
" gl_Position = posIn;\n"
|
" gl_Position = FLIPFROMGL(posIn);\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
static const char* FS_GLSL_NOTEX =
|
static const char* FS_GLSL_NOTEX =
|
||||||
|
|||||||
@@ -27,6 +27,7 @@ SPECTER_GLSL_VIEW_VERT_BLOCK
|
|||||||
" vtf.uv = uvIn;\n"
|
" vtf.uv = uvIn;\n"
|
||||||
" vtf.color = mulColor;\n"
|
" vtf.color = mulColor;\n"
|
||||||
" gl_Position = mv * vec4(posIn, 1.0);\n"
|
" gl_Position = mv * vec4(posIn, 1.0);\n"
|
||||||
|
" gl_Position = FLIPFROMGL(gl_Position);\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
static const char* FS_GLSL_YUV =
|
static const char* FS_GLSL_YUV =
|
||||||
|
|||||||
@@ -100,6 +100,7 @@ BOO_GLSL_BINDING_HEAD
|
|||||||
" vtf.uvTexr = uvsInTexrTind[gl_VertexID].xy;\n"
|
" vtf.uvTexr = uvsInTexrTind[gl_VertexID].xy;\n"
|
||||||
" vtf.uvTind = uvsInTexrTind[gl_VertexID].zw;\n"
|
" vtf.uvTind = uvsInTexrTind[gl_VertexID].zw;\n"
|
||||||
" gl_Position = mvp * posIn[gl_VertexID];\n"
|
" gl_Position = mvp * posIn[gl_VertexID];\n"
|
||||||
|
" gl_Position = FLIPFROMGL(gl_Position);\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
static const char* FS_GLSL_INDTEX =
|
static const char* FS_GLSL_INDTEX =
|
||||||
|
|||||||
2
hecl
2
hecl
Submodule hecl updated: 360af21c0d...b43709fc03
2
specter
2
specter
Submodule specter updated: f81bd59b92...6fd07871e9
Reference in New Issue
Block a user