mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-02 00:53:27 +00:00
Shader fix for AMD Vulkan compilation
This commit is contained in:
parent
47e6a06478
commit
6cda3a9bd3
@ -26,9 +26,10 @@ SPECTER_GLSL_VIEW_VERT_BLOCK
|
||||
"SBINDING(0) out VertToFrag vtf;\n"
|
||||
"void main()\n"
|
||||
"{\n"
|
||||
" vec3 pos = posIn[gl_VertexID];\n"
|
||||
" vtf.uv = uvIn[gl_VertexID];\n"
|
||||
" vtf.color = colorIn * mulColor;\n"
|
||||
" gl_Position = mv * mvMtx * vec4(posIn[gl_VertexID], 1.0);\n"
|
||||
" gl_Position = mv * mvMtx * vec4(pos, 1.0);\n"
|
||||
" gl_Position = FLIPFROMGL(gl_Position);\n"
|
||||
"}\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user