Mesa (master): i965: Remove bogus flag_reg_nr field from bits3.

Eric Anholt anholt at kemper.freedesktop.org
Tue Dec 11 18:13:31 UTC 2012


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

Author: Eric Anholt <eric at anholt.net>
Date:   Thu Dec  6 11:31:31 2012 -0800

i965: Remove bogus flag_reg_nr field from bits3.

There's a flag subreg nr field in bits2 next to src0.vertstride, but
there shouldn't be anything in bits3 next to src1.vertstride.

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>

---

 src/mesa/drivers/dri/i965/brw_structs.h |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_structs.h b/src/mesa/drivers/dri/i965/brw_structs.h
index 26def6e..64bc161 100644
--- a/src/mesa/drivers/dri/i965/brw_structs.h
+++ b/src/mesa/drivers/dri/i965/brw_structs.h
@@ -1184,8 +1184,7 @@ struct brw_instruction
 	 GLuint src1_horiz_stride:2;
 	 GLuint src1_width:3;
 	 GLuint src1_vert_stride:4;
-	 GLuint flag_reg_nr:1;
-	 GLuint pad1:6;	
+	 GLuint pad1:7;
       } ia1;
 
       struct
@@ -1201,8 +1200,7 @@ struct brw_instruction
 	 GLuint src1_swz_w:2;
 	 GLuint pad1:1;
 	 GLuint src1_vert_stride:4;
-	 GLuint flag_reg_nr:1;
-	 GLuint pad2:6;
+	 GLuint pad2:7;
       } ia16;
 
 




More information about the mesa-commit mailing list