From dd0a296895e9cf20399d038e9232d3d3b3fcc355 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 13 Apr 2016 17:27:02 +0200 Subject: [PATCH] gallium/radeon: move a comment to the correct place trivial --- src/gallium/drivers/radeon/r600_viewport.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeon/r600_viewport.c b/src/gallium/drivers/radeon/r600_viewport.c index 4901ba07977..ea558cd22de 100644 --- a/src/gallium/drivers/radeon/r600_viewport.c +++ b/src/gallium/drivers/radeon/r600_viewport.c @@ -44,6 +44,9 @@ static void r600_set_scissor_states(struct pipe_context *ctx, rctx->set_atom_dirty(rctx, &rctx->scissors.atom, true); } +/* Since the guard band disables clipping, we have to clip per-pixel + * using a scissor. + */ static void r600_get_scissor_from_viewport(struct r600_common_context *rctx, const struct pipe_viewport_state *vp, struct r600_signed_scissor *scissor) @@ -127,9 +130,6 @@ static void r600_emit_one_scissor(struct r600_common_context *rctx, { struct pipe_scissor_state final; - /* Since the guard band disables clipping, we have to clip per-pixel - * using a scissor. - */ r600_clamp_scissor(rctx, &final, vp_scissor); if (scissor) -- 2.30.2