diff options
author | Marek Olšák <[email protected]> | 2014-11-10 00:37:03 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-11-16 01:28:28 +0100 |
commit | 2efabd9f5a711a7f6cd1846630244b7814bf25b3 (patch) | |
tree | 3907aca0e57da6f2d391ef13db4471a67f17701c /src/gallium/tests/graw/shader-leak.c | |
parent | ff8042270f857e85abe2968bcab1cd742cabb496 (diff) |
gallium: remove unused pipe_viewport_state::translate[3] and scale[3]
Almost all drivers ignore them.
Diffstat (limited to 'src/gallium/tests/graw/shader-leak.c')
-rw-r--r-- | src/gallium/tests/graw/shader-leak.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/tests/graw/shader-leak.c b/src/gallium/tests/graw/shader-leak.c index fce3683bf3d..90704a37f7d 100644 --- a/src/gallium/tests/graw/shader-leak.c +++ b/src/gallium/tests/graw/shader-leak.c @@ -61,12 +61,10 @@ static void set_viewport( float x, float y, 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; ctx->set_viewport_states( ctx, 0, 1, &vp ); } |