commit | e95a4ed2967346e6ff7efb9897d8c430fcaa90f7 | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Mon Feb 10 15:37:09 2014 -0800 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Tue Feb 11 02:21:35 2014 -0800 |
tree | 9d87ef9c5bda99bdb294e9edb71b2260d5b0620b | |
parent | f948ad2a070a3b1cd69e7feca6eb3d5764438d9e [diff] |
i965/fs: Simplify FS_OPCODE_SET_OMASK stride mashing a bit. In the first case, we can simply call stride(mask, 16, 8, 2) rather than creating a new register with a different stride, then immediately changing it a second time. In the second case, the stride was already what we wanted, so we can just use mask without any changes at all. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>