i965/fs: Fix PIXEL_X/Y in regs_read()
PIXEL_X/Y takes a vec2 in the first argument
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user