summaryrefslogtreecommitdiffstats
path: root/src/gallium/tests/graw/graw_util.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-11-10 00:37:03 +0100
committerMarek Olšák <[email protected]>2014-11-16 01:28:28 +0100
commit2efabd9f5a711a7f6cd1846630244b7814bf25b3 (patch)
tree3907aca0e57da6f2d391ef13db4471a67f17701c /src/gallium/tests/graw/graw_util.h
parentff8042270f857e85abe2968bcab1cd742cabb496 (diff)
gallium: remove unused pipe_viewport_state::translate[3] and scale[3]
Almost all drivers ignore them.
Diffstat (limited to 'src/gallium/tests/graw/graw_util.h')
-rw-r--r--src/gallium/tests/graw/graw_util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/tests/graw/graw_util.h b/src/gallium/tests/graw/graw_util.h
index 1856f0d7df4..72b6bc68c46 100644
--- a/src/gallium/tests/graw/graw_util.h
+++ b/src/gallium/tests/graw/graw_util.h
@@ -196,12 +196,10 @@ graw_util_viewport(struct graw_info *info,
vp.scale[0] = half_width;
vp.scale[1] = half_height;
vp.scale[2] = half_depth;
- vp.scale[3] = 1.0f;
vp.translate[0] = half_width + x;
vp.translate[1] = half_height + y;
vp.translate[2] = half_depth + z;
- vp.translate[3] = 0.0f;
info->ctx->set_viewport_states(info->ctx, 0, 1, &vp);
}