i965/fs: Fix PIXEL_X/Y in regs_read()

PIXEL_X/Y takes a vec2 in the first argument
This commit is contained in:
Jason Ekstrand
2015-06-30 17:47:53 -07:00
parent 830f67046a
commit ebe3043eea
+1 -1
View File
@@ -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: