mirror of
https://github.com/KhronosGroup/SPIRV-Cross.git
synced 2024-11-15 00:11:06 +00:00
and a bit better case placemenent
This commit is contained in:
parent
db402236a7
commit
3376198740
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user