Vulkan AMD instancing shader fix

This commit is contained in:
Jack Andersen 2017-11-14 21:26:09 -10:00
parent 2df95c01cf
commit baa6acd198
2 changed files with 4 additions and 3 deletions

View File

@ -26,9 +26,10 @@ BOO_GLSL_BINDING_HEAD
"SBINDING(0) out VertToFrag vtf;\n"
"void main()\n"
"{\n"
" vtf.color = colorIn;\n"
" vec3 pos = posIn[gl_VertexID].xyz;\n"
" vtf.uv = uvIn[gl_VertexID].xy;\n"
" gl_Position = xf * vec4(posIn[gl_VertexID].xyz, 1.0);\n"
" vtf.color = colorIn;\n"
" gl_Position = xf * vec4(pos, 1.0);\n"
"}\n";
static const char* FS =

2
hecl

@ -1 +1 @@
Subproject commit 17b0a91e2911d9a88c1128f83f745dd6f88c1db6
Subproject commit 7fe1cb8320ee23d115a222980bba96508a139920