i965/vec4: Fix signedness of dst_reg::writemask.

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Francisco Jerez
2015-03-18 15:24:06 +02:00
parent 7678fb9c63
commit 7e816c7feb
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -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;
};
+1 -1
View File
@@ -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();