summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2011-03-01 01:07:19 -0800
committerKenneth Graunke <[email protected]>2011-03-01 01:09:15 -0800
commit186d3bc7a3389b78a851e34d8f970c28b8db1608 (patch)
tree78c351038f0165acec8c103aa85ede1bbff853e2 /src
parentb1ceda5cbdfe716824cb1f1689a7fc48611f297f (diff)
Revert "i965/fs: Correctly set up gl_FragCoord.w on Sandybridge."
This reverts commit 4a3b28113c3d23ba21bb8b8f5ebab7c567083a6d, as it caused a regression on Ironlake (bug #34646).
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 9bdcda780ef..ce7959b19de 100644
--- 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;
}