and a bit better case placemenent

This commit is contained in:
Vadim Shcherbakov 2017-12-13 13:03:31 +03:00
parent db402236a7
commit 3376198740

View File

@ -3012,8 +3012,8 @@ string CompilerMSL::builtin_to_glsl(BuiltIn builtin, StorageClass storage)
case BuiltInPosition:
case BuiltInPointSize:
case BuiltInClipDistance:
case BuiltInFragDepth:
case BuiltInLayer:
case BuiltInFragDepth:
if (current_function && (current_function->self == entry_point))
return stage_out_var_name + "." + CompilerGLSL::builtin_to_glsl(builtin, storage);
else