Fix vec4 abs() generating duplicat labels.
This commit is contained in:
parent
20d415463a
commit
8bebe59e20
|
|
@ -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, " %%pushi/vec4 1, 0, %u;\n", ivl_expr_width(sub));
|
||||||
fprintf(vvp_out, " %%add;\n");
|
fprintf(vvp_out, " %%add;\n");
|
||||||
fprintf(vvp_out, "T_%u.%u ;\n", thread_count, local_count);
|
fprintf(vvp_out, "T_%u.%u ;\n", thread_count, local_count);
|
||||||
|
local_count += 1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'v': /* Cast real to vec4 */
|
case 'v': /* Cast real to vec4 */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue