Mesa (master): i965: aa_line_distance_mode should be before the padding.

Rafael Antognolli rantogno at kemper.freedesktop.org
Fri Jun 16 22:01:39 UTC 2017


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

Author: Rafael Antognolli <rafael.antognolli at intel.com>
Date:   Tue Jun  6 09:23:27 2017 -0700

i965: aa_line_distance_mode should be before the padding.

It seems that it was never set correctly.

Signed-off-by: Rafael Antognolli <rafael.antognolli at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

---

 src/mesa/drivers/dri/i965/brw_structs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/drivers/dri/i965/brw_structs.h b/src/mesa/drivers/dri/i965/brw_structs.h
index 35db2f566c..73641da74a 100644
--- a/src/mesa/drivers/dri/i965/brw_structs.h
+++ b/src/mesa/drivers/dri/i965/brw_structs.h
@@ -321,8 +321,8 @@ struct brw_sf_unit_state
       unsigned use_point_size_state:1;
       unsigned subpixel_precision:1;
       unsigned sprite_point:1;
-      unsigned pad0:10;
       unsigned aa_line_distance_mode:1;
+      unsigned pad0:10;
       unsigned trifan_pv:2;
       unsigned linestrip_pv:2;
       unsigned tristrip_pv:2;




More information about the mesa-commit mailing list