The vec4 %cvt/vr requires a <wid>

This commit is contained in:
Stephen Williams 2014-01-28 15:51:29 -08:00
parent 23ba0bc019
commit 11197baf86
1 changed files with 1 additions and 1 deletions

View File

@ -735,7 +735,7 @@ static void draw_unary_vec4(ivl_expr_t expr, int stuff_ok_flag)
break;
case IVL_VT_REAL:
draw_eval_real(sub);
fprintf(vvp_out, " %%cvt/vr;\n");
fprintf(vvp_out, " %%cvt/vr %u;\n", ivl_expr_width(expr));
break;
default:
assert(0);