summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-04-13 17:27:02 +0200
committerMarek Olšák <[email protected]>2016-04-13 17:31:03 +0200
commitdd0a296895e9cf20399d038e9232d3d3b3fcc355 (patch)
tree3d51ab9bc21c948ffd978ab467220293d797eeb1 /src/gallium/drivers/radeon
parent9e9a2bb44aa7b317919793f2320bd995ff373bbb (diff)
gallium/radeon: move a comment to the correct place
trivial
Diffstat (limited to 'src/gallium/drivers/radeon')
-rw-r--r--src/gallium/drivers/radeon/r600_viewport.c6
1 files 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)