From: Marek Olšák Date: Thu, 18 Oct 2018 22:01:00 +0000 (-0400) Subject: radeonsi: fix a typo in a comment in emit_guardband X-Git-Tag: android-x86-8.1-r1~443 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=69a87b5d4709fd12f7f2449bc7294dd54a570edc;p=android-x86%2Fexternal-mesa.git radeonsi: fix a typo in a comment in emit_guardband --- diff --git a/src/gallium/drivers/radeonsi/si_state_viewport.c b/src/gallium/drivers/radeonsi/si_state_viewport.c index 808eb366bde..76c56447eb0 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);