diff options
author | Jason Ekstrand <[email protected]> | 2015-06-30 17:47:53 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-06-30 17:47:56 -0700 |
commit | ebe3043eeacb073c7dbb6162d8f0aee3bc66eeb1 (patch) | |
tree | bc8095f0a9fcfac06646ed698cbfe097e1c31874 /src/mesa/drivers | |
parent | 830f67046ace3c0b95a7f093fe373eeb417a1aad (diff) |
i965/fs: Fix PIXEL_X/Y in regs_read()
PIXEL_X/Y takes a vec2 in the first argument
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | 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 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: |