From 2efabd9f5a711a7f6cd1846630244b7814bf25b3 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 10 Nov 2014 00:37:03 +0100 Subject: gallium: remove unused pipe_viewport_state::translate[3] and scale[3] Almost all drivers ignore them. --- src/gallium/drivers/ilo/ilo_blitter_rectlist.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/drivers/ilo') diff --git a/src/gallium/drivers/ilo/ilo_blitter_rectlist.c b/src/gallium/drivers/ilo/ilo_blitter_rectlist.c index 0efe82082cf..f232f4202bf 100644 --- a/src/gallium/drivers/ilo/ilo_blitter_rectlist.c +++ b/src/gallium/drivers/ilo/ilo_blitter_rectlist.c @@ -78,7 +78,6 @@ ilo_blitter_set_invariants(struct ilo_blitter *blitter) vp.scale[0] = 1.0f; vp.scale[1] = 1.0f; vp.scale[2] = 1.0f; - vp.scale[3] = 1.0f; ilo_gpe_set_viewport_cso(blitter->ilo->dev, &vp, &blitter->viewport); blitter->initialized = true; -- cgit v1.2.3