projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3db52b6
)
i965: keep SecHalf flag after register coalescing
author
Chia-I Wu
<olv@lunarg.com>
Fri, 27 Sep 2013 04:31:32 +0000
(12:31 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Wed, 9 Oct 2013 06:49:11 +0000
(14:49 +0800)
Copy sechalf to the new register, otherwise we would read wrong HW registers.
Signed-off-by: Chia-I Wu <olv@lunarg.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_fs.cpp
b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 48ee1499d7d7fb08d8405a7234b03ff3326b19c5..02383363d43cda5820de95b0ca7844bec999664b 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-2233,6
+2233,7
@@
fs_visitor::register_coalesce()
new_src.abs = 1;
}
new_src.negate ^= scan_inst->src[i].negate;
+ new_src.sechalf = scan_inst->src[i].sechalf;
scan_inst->src[i] = new_src;
}
}