gallium_uniforms[uinfo->data[i]]);
break;
case QUNIFORM_VIEWPORT_X_SCALE:
- cl_u32(&vc4->uniforms, fui(vc4->framebuffer.width *
- 16.0f / 2.0f));
+ cl_f(&vc4->uniforms,
+ vc4->framebuffer.width * 16.0f / 2.0f);
break;
case QUNIFORM_VIEWPORT_Y_SCALE:
- cl_u32(&vc4->uniforms, fui(vc4->framebuffer.height *
- -16.0f / 2.0f));
+ cl_f(&vc4->uniforms,
+ vc4->framebuffer.height * -16.0f / 2.0f);
break;
case QUNIFORM_VIEWPORT_Z_OFFSET:
- cl_u32(&vc4->uniforms, fui(vc4->viewport.translate[2]));
+ cl_f(&vc4->uniforms, vc4->viewport.translate[2]);
break;
case QUNIFORM_VIEWPORT_Z_SCALE:
- cl_u32(&vc4->uniforms, fui(vc4->viewport.scale[2]));
+ cl_f(&vc4->uniforms, vc4->viewport.scale[2]);
break;
case QUNIFORM_TEXTURE_CONFIG_P0: