summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2013-01-24 21:48:40 -0800
committerChad Versace <chad.versace@linux.intel.com>2013-01-24 21:50:07 -0800
commit12829eec1f0c27d94520ce2ebdea6bdc12b8a596 (patch)
tree339d5597db1a31974fc2a5d96c78a9a9cf0d40a9
parent8f1773a62a4d09a2208c838dde785ca9392c44b9 (diff)
i965/fs/gen7: Fix fatal typo in unpackHalf2x16gles3
s/src/src_w/ That little typo, which sneaked into v4 of the previous patch, generates incorrect fs code. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs_emit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp
index 27c5302b9f5..d9ed27cf0ab 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp
@@ -1006,7 +1006,7 @@ fs_generator::generate_unpack_half_2x16_split(fs_inst *inst,
assert(inst->opcode == FS_OPCODE_UNPACK_HALF_2x16_SPLIT_X ||
inst->opcode == FS_OPCODE_UNPACK_HALF_2x16_SPLIT_Y);
if (inst->opcode == FS_OPCODE_UNPACK_HALF_2x16_SPLIT_Y)
- src.subnr += 2;
+ src_w.subnr += 2;
brw_F16TO32(p, dst, src_w);
}