commit | 8b6b95f31785014ccfdeb19de9bd093245176348 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Dec 07 09:41:25 2017 +0000 |
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | Tue Dec 19 15:20:09 2017 +0200 |
tree | 2049fd7d64a33aaf413ca5bb27956794004734cb | |
parent | fda6c109954db928c249befefa4734f430dc948f [diff] |
lib/draw: Use more typical form for computing swizzle addresses Actually use the XOR operation rather than open coding it with three bitwise operators (including XOR itself). Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>