[Mesa-dev] [PATCH 1/3] gallium/radeon: fix a comment

Nicolai Hähnle nhaehnle at gmail.com
Tue Sep 26 14:39:33 UTC 2017


From: Nicolai Hähnle <nicolai.haehnle at amd.com>

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

diff --git a/src/gallium/drivers/radeon/cayman_msaa.c b/src/gallium/drivers/radeon/cayman_msaa.c
index 33f1040185a..ec6c49bafa0 100644
--- a/src/gallium/drivers/radeon/cayman_msaa.c
+++ b/src/gallium/drivers/radeon/cayman_msaa.c
@@ -29,21 +29,21 @@
 /* 2xMSAA
  * There are two locations (4, 4), (-4, -4). */
 const uint32_t eg_sample_locs_2x[4] = {
 	FILL_SREG(4, 4, -4, -4, 4, 4, -4, -4),
 	FILL_SREG(4, 4, -4, -4, 4, 4, -4, -4),
 	FILL_SREG(4, 4, -4, -4, 4, 4, -4, -4),
 	FILL_SREG(4, 4, -4, -4, 4, 4, -4, -4),
 };
 const unsigned eg_max_dist_2x = 4;
 /* 4xMSAA
- * There are 4 locations: (-2, 6), (6, -2), (-6, 2), (2, 6). */
+ * There are 4 locations: (-2, -6), (6, -2), (-6, 2), (2, 6). */
 const uint32_t eg_sample_locs_4x[4] = {
 	FILL_SREG(-2, -6, 6, -2, -6, 2, 2, 6),
 	FILL_SREG(-2, -6, 6, -2, -6, 2, 2, 6),
 	FILL_SREG(-2, -6, 6, -2, -6, 2, 2, 6),
 	FILL_SREG(-2, -6, 6, -2, -6, 2, 2, 6),
 };
 const unsigned eg_max_dist_4x = 6;
 
 /* Cayman 8xMSAA */
 static const uint32_t cm_sample_locs_8x[] = {
-- 
2.11.0



More information about the mesa-dev mailing list