Merge pull request #8793 from ippan/shader_varying

fix varying in 3.0 shader
This commit is contained in:
Rémi Verschelde 2017-05-18 19:00:21 +02:00 committed by GitHub
commit f85cad4fec
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ String ShaderCompilerGLES3::_dump_node_code(SL::Node *p_node, int p_level, Gener
String vcode;
vcode += _prestr(E->get().precission);
vcode += _typestr(E->get().type);
vcode += " " + String(E->key());
vcode += " " + _mkid(E->key());
vcode += ";\n";
r_gen_code.vertex_global += "out " + vcode;
r_gen_code.fragment_global += "in " + vcode;