Module: Mesa Branch: master Commit: ebe3043eeacb073c7dbb6162d8f0aee3bc66eeb1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebe3043eeacb073c7dbb6162d8f0aee3bc66eeb1
Author: Jason Ekstrand <jason.ekstr...@intel.com> Date: Tue Jun 30 17:47:53 2015 -0700 i965/fs: Fix PIXEL_X/Y in regs_read() PIXEL_X/Y takes a vec2 in the first argument --- src/mesa/drivers/dri/i965/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index dd95519..a19ea66 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -681,7 +681,7 @@ fs_inst::regs_read(int arg) const case FS_OPCODE_PIXEL_X: case FS_OPCODE_PIXEL_Y: if (arg == 0) - components = 1; + components = 2; break; case SHADER_OPCODE_LOAD_PAYLOAD: _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit