Mesa (master): radeonsi: fix a typo in a comment in emit_guardband

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Oct 18 22:01:52 UTC 2018


Module: Mesa
Branch: master
Commit: 69a87b5d4709fd12f7f2449bc7294dd54a570edc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=69a87b5d4709fd12f7f2449bc7294dd54a570edc

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Thu Oct 18 18:01:00 2018 -0400

radeonsi: fix a typo in a comment in emit_guardband

---

 src/gallium/drivers/radeonsi/si_state_viewport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/radeonsi/si_state_viewport.c b/src/gallium/drivers/radeonsi/si_state_viewport.c
index 808eb366bd..76c56447eb 100644
--- a/src/gallium/drivers/radeonsi/si_state_viewport.c
+++ b/src/gallium/drivers/radeonsi/si_state_viewport.c
@@ -187,7 +187,7 @@ static void si_emit_guardband(struct si_context *ctx)
 	hw_screen_offset_x = CLAMP(hw_screen_offset_x, 0, hw_screen_offset_max);
 	hw_screen_offset_y = CLAMP(hw_screen_offset_y, 0, hw_screen_offset_max);
 
-	/* Align the screen offset by dropping the low 4 bits. */
+	/* Align the screen offset by dropping the low bits. */
 	hw_screen_offset_x &= ~(hw_screen_offset_alignment - 1);
 	hw_screen_offset_y &= ~(hw_screen_offset_alignment - 1);
 




More information about the mesa-commit mailing list