v3dv: remove bogus viewport code
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 5 Jun 2023 08:52:57 +0000 (10:52 +0200)
committerMarge Bot <emma+marge@anholt.net>
Wed, 7 Jun 2023 18:40:55 +0000 (18:40 +0000)
This is incorrectly undoing the code right above it.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23489>

src/broadcom/vulkan/v3dv_cmd_buffer.c

index edaad8f..ee19717 100644 (file)
@@ -2297,11 +2297,6 @@ emit_scissor(struct v3dv_cmd_buffer *cmd_buffer)
    maxy = MIN2(vp_maxy, cmd_buffer->state.render_area.offset.y +
                         cmd_buffer->state.render_area.extent.height);
 
-   minx = vp_minx;
-   miny = vp_miny;
-   maxx = vp_maxx;
-   maxy = vp_maxy;
-
    /* Clip against user provided scissor if needed.
     *
     * FIXME: right now we only allow one scissor. Below would need to be