gallium: remove unused pipe_viewport_state::translate[3] and scale[3]

Almost all drivers ignore them.
This commit is contained in:
Marek Olšák
2014-11-10 00:37:03 +01:00
parent ff8042270f
commit 2efabd9f5a
34 changed files with 5 additions and 65 deletions

View File

@@ -776,11 +776,9 @@ draw_textured_quad(struct gl_context *ctx, GLint x, GLint y, GLfloat z,
vp.scale[0] = 0.5f * w;
vp.scale[1] = -0.5f * h;
vp.scale[2] = 0.5f;
vp.scale[3] = 1.0f;
vp.translate[0] = 0.5f * w;
vp.translate[1] = 0.5f * h;
vp.translate[2] = 0.5f;
vp.translate[3] = 0.0f;
cso_set_viewport(cso, &vp);
}