Fix vec4 abs() generating duplicat labels.

This commit is contained in:
Stephen Williams 2014-01-22 17:15:26 -08:00
parent 20d415463a
commit 8bebe59e20
1 changed files with 1 additions and 0 deletions

View File

@ -709,6 +709,7 @@ static void draw_unary_vec4(ivl_expr_t expr, int stuff_ok_flag)
fprintf(vvp_out, " %%pushi/vec4 1, 0, %u;\n", ivl_expr_width(sub));
fprintf(vvp_out, " %%add;\n");
fprintf(vvp_out, "T_%u.%u ;\n", thread_count, local_count);
local_count += 1;
break;
case 'v': /* Cast real to vec4 */