projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a26b1c
)
radeonsi: fix a typo in a comment in emit_guardband
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 18 Oct 2018 22:01:00 +0000
(18:01 -0400)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 18 Oct 2018 22:01:22 +0000
(18:01 -0400)
src/gallium/drivers/radeonsi/si_state_viewport.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_viewport.c
b/src/gallium/drivers/radeonsi/si_state_viewport.c
index 808eb366bdeef07dd08f897d1365a5a8cdc3b562..76c56447eb03b8a0147ec6cc88935f76e08fd52f 100644
(file)
--- 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);