aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers')
-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 dd955197bca..a19ea664e3f 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: