diff options
author | Paul Berry <[email protected]> | 2011-09-23 21:35:18 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-28 11:38:04 -0700 |
commit | cc3a699e32bed62c38b3b2de280973f067962504 (patch) | |
tree | 3123a6d721e720ec16ff6f2ccffa9db90f00a808 /src | |
parent | e7da40afe84349a640fe15e3af408a0dfe880e85 (diff) |
i965 new VS: Fix src_reg(uint32_t) constructor.
This constructor was storing its argument in the wrong field of the
"imm" enum, resulting in it being converted to a float when it should
have remained an unsigned integer. This was preventing clipping from
working properly on pre-GEN6.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index b6864c326e9..5f4426880f4 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.h +++ b/src/mesa/drivers/dri/i965/brw_vec4.h @@ -148,7 +148,7 @@ public: this->file = IMM; this->type = BRW_REGISTER_TYPE_UD; - this->imm.f = u; + this->imm.u = u; } src_reg(int32_t i) |