projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1ceda5
)
Revert "i965/fs: Correctly set up gl_FragCoord.w on Sandybridge."
author
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 1 Mar 2011 09:07:19 +0000
(
01:07
-0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Tue, 1 Mar 2011 09:09:15 +0000
(
01:09
-0800)
This reverts commit
4a3b28113c3d23ba21bb8b8f5ebab7c567083a6d
, as it
caused a regression on Ironlake (bug #34646).
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 9bdcda780ef101e5e997f0464454bc4e4caa3302..ce7959b19de0d4b5eb9770f3c167a74ea7f0a9eb 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/
src/mesa/drivers/dri/i965/brw_fs.cpp
@@
-495,7
+495,7
@@
fs_visitor::emit_fragcoord_interpolation(ir_variable *ir)
wpos.reg_offset++;
/* gl_FragCoord.w: Already set up in emit_interpolation */
- emit(fs_inst(BRW_OPCODE_MOV, wpos, this->
pixel
_w));
+ emit(fs_inst(BRW_OPCODE_MOV, wpos, this->
wpos
_w));
return reg;
}