broadcom/vc5: Drop duplicated setup of clip_window_height_in_pixels.
authorEric Anholt <eric@anholt.net>
Thu, 26 Oct 2017 23:03:59 +0000 (16:03 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 30 Oct 2017 20:31:28 +0000 (13:31 -0700)
src/gallium/drivers/vc5/vc5_emit.c

index 158a2367aa0b30b50be8a308ddc1f1910bb1d63a..9b5d293079c608f61791c41b61de044537d5ea3b 100644 (file)
@@ -215,7 +215,6 @@ vc5_emit_state(struct pipe_context *pctx)
                 cl_emit(&job->bcl, CLIP_WINDOW, clip) {
                         clip.clip_window_left_pixel_coordinate = minx;
                         clip.clip_window_bottom_pixel_coordinate = miny;
-                        clip.clip_window_height_in_pixels = maxy - miny;
                         clip.clip_window_width_in_pixels = maxx - minx;
                         clip.clip_window_height_in_pixels = maxy - miny;
                 }