[Mesa-dev] [PATCH 1/8] i965: Remove bogus flag_reg_nr field from bits3.

Eric Anholt eric at anholt.net
Fri Dec 7 14:08:04 PST 2012


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.
---
 src/mesa/drivers/dri/i965/brw_structs.h |    6 ++----
 1 file 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;
 
 
-- 
1.7.10.4



More information about the mesa-dev mailing list