Module: Mesa Branch: 7.10 Commit: f9f01e40c7ca66b72ad6c8fe98eaedbc03ae59b8 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f9f01e40c7ca66b72ad6c8fe98eaedbc03ae59b8
Author: Kenneth Graunke <kenn...@whitecape.org> Date: Tue Mar 1 01:09:52 2011 -0800 Revert "i965/fs: Correctly set up gl_FragCoord.w on Sandybridge." This reverts commit 2171197559061dc597717bd0f1cf361a11b08f21, as it caused a regression on Ironlake (bug #34646). --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 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 dcbdacf..5c40723 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -493,7 +493,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; } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit