summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_ir_vec4.h5
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_ir_vec4.h b/src/mesa/drivers/dri/i965/brw_ir_vec4.h
index 8b26e487b72..2ac189b1043 100644
--- a/src/mesa/drivers/dri/i965/brw_ir_vec4.h
+++ b/src/mesa/drivers/dri/i965/brw_ir_vec4.h
@@ -111,7 +111,8 @@ public:
dst_reg();
dst_reg(register_file file, int reg);
- dst_reg(register_file file, int reg, const glsl_type *type, int writemask);
+ dst_reg(register_file file, int reg, const glsl_type *type,
+ unsigned writemask);
dst_reg(struct brw_reg reg);
dst_reg(class vec4_visitor *v, const struct glsl_type *type);
@@ -119,7 +120,7 @@ public:
bool equals(const dst_reg &r) const;
- int writemask; /**< Bitfield of WRITEMASK_[XYZW] */
+ unsigned writemask; /**< Bitfield of WRITEMASK_[XYZW] */
src_reg *reladdr;
};
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index b13dd58771b..ee3ac1578b3 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -195,7 +195,7 @@ dst_reg::dst_reg(register_file file, int reg)
}
dst_reg::dst_reg(register_file file, int reg, const glsl_type *type,
- int writemask)
+ unsigned writemask)
{
init();