Remove old code
This commit is contained in:
parent
b631003230
commit
1c63357577
@ -1051,9 +1051,6 @@ void CompilerMSL::emit_fixup()
|
||||
{
|
||||
if (options.vertex.fixup_clipspace)
|
||||
{
|
||||
/*const char *suffix = backend.float_literal_suffix ? "f" : "";
|
||||
statement(qual_pos_var_name, ".z = 2.0", suffix, " * ", qual_pos_var_name, ".z - ", qual_pos_var_name,
|
||||
".w;", " // Adjust clip-space for Metal");*/
|
||||
statement(qual_pos_var_name, ".z = (", qual_pos_var_name, ".z + ", qual_pos_var_name,
|
||||
".w) * 0.5; // Adjust clip-space for Metal");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user