Mesa (master): i965: Make gen7_pi field of brw_instruction use unsigned instead of GLuint

Kristian Høgsberg krh at kemper.freedesktop.org
Tue Jun 10 04:17:37 UTC 2014


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

Author: Kristian Høgsberg <krh at bitplanet.net>
Date:   Sun Jun  1 13:49:36 2014 -0700

i965: Make gen7_pi field of brw_instruction use unsigned instead of GLuint

Nothing else uses GL-types here.

Signed-off-by: Kristian Høgsberg <krh at bitplanet.net>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>

---

 src/mesa/drivers/dri/i965/brw_structs.h |   24 ++++++++++++------------
 1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_structs.h b/src/mesa/drivers/dri/i965/brw_structs.h
index 9dbc797..803dc6e 100644
--- a/src/mesa/drivers/dri/i965/brw_structs.h
+++ b/src/mesa/drivers/dri/i965/brw_structs.h
@@ -1385,18 +1385,18 @@ struct brw_instruction
        * section 4.1.1.1.
        */
       struct {
-         GLuint msg_data:8;
-         GLuint pad1:3;
-         GLuint slot_group:1;
-         GLuint msg_type:2;
-         GLuint interpolation_mode:1;
-         GLuint pad2:1;
-         GLuint simd_mode:1;
-         GLuint pad3:1;
-         GLuint response_length:5;
-         GLuint msg_length:4;
-         GLuint pad4:2;
-         GLuint end_of_thread:1;
+         unsigned msg_data:8;
+         unsigned pad1:3;
+         unsigned slot_group:1;
+         unsigned msg_type:2;
+         unsigned interpolation_mode:1;
+         unsigned pad2:1;
+         unsigned simd_mode:1;
+         unsigned pad3:1;
+         unsigned response_length:5;
+         unsigned msg_length:4;
+         unsigned pad4:2;
+         unsigned end_of_thread:1;
       } gen7_pi;
       /** @} */
 




More information about the mesa-commit mailing list