projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2dff35
)
fix for prev commit
author
Zou Nan hai
<nanhai.zou@intel.com>
Tue, 9 Oct 2007 06:35:28 +0000
(14:35 +0800)
committer
Zou Nan hai
<nanhai.zou@intel.com>
Tue, 9 Oct 2007 06:35:28 +0000
(14:35 +0800)
src/mesa/drivers/dri/i965/brw_wm_glsl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm_glsl.c
b/src/mesa/drivers/dri/i965/brw_wm_glsl.c
index 8ed928409678650be9c1ebd8da1c7492e45bf300..4b273fefe92e37e6920fcd261de79b625a6e9e29 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_glsl.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_glsl.c
@@
-182,8
+182,8
@@
static void emit_int( struct brw_wm_compile *c,
for (i = 0; i < 4; i++) {
if (mask & (1<<i)) {
struct brw_reg src, dst;
- dst =
retype(get_dst_reg(c, inst, i, 1), BRW_REGISTER_TYPE_D)
;
- src =
retype(get_src_reg(c, &inst->SrcReg[0], i, 1), BRW_REGISTER_TYPE_D
);
+ dst =
get_dst_reg(c, inst, i, 1)
;
+ src =
get_src_reg(c, &inst->SrcReg[0], i, 1
);
brw_RNDD(p, dst, src);
}
}