Lines Matching refs:vp
59 struct pipe_viewport_state vp;
61 vp.scale[0] = half_width;
62 vp.scale[1] = half_height;
63 vp.scale[2] = half_depth;
64 vp.scale[3] = 1.0f;
66 vp.translate[0] = half_width + x;
67 vp.translate[1] = half_height + y;
68 vp.translate[2] = half_depth + z;
69 vp.translate[3] = 0.0f;
71 ctx->set_viewport_state( ctx, &vp );