projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7da40a
)
i965 new VS: Fix src_reg(uint32_t) constructor.
author
Paul Berry
<stereotype441@gmail.com>
Sat, 24 Sep 2011 04:35:18 +0000
(21:35 -0700)
committer
Paul Berry
<stereotype441@gmail.com>
Wed, 28 Sep 2011 18:38:04 +0000
(11:38 -0700)
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 <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4.h
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vec4.h
b/src/mesa/drivers/dri/i965/brw_vec4.h
index b6864c326e97283ef05f64268663300d89fc6d45..5f4426880f4fa97ec88b496868de62d7f45ce0a3 100644
(file)
--- 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)