MSL: Add color attribute qualifiers to fragment function outputs
This commit is contained in:
parent
25c4467a10
commit
8bdc4060e8
@ -968,7 +968,8 @@ string CompilerMSL::member_attribute_qualifier(const SPIRType &type, uint32_t in
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return "";
|
uint32_t locn = get_ordered_member_location(type.self, index);
|
||||||
|
return string(" [[color(") + convert_to_string(locn) + ")]]";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "";
|
return "";
|
||||||
|
Loading…
Reference in New Issue
Block a user