commit | ba63db1f2ecf78ab894fe411b4f27d8523cf952d | [log] [tgz] |
---|---|---|
author | Iago Toral Quiroga <itoral@igalia.com> | Mon Oct 03 13:26:54 2016 +0200 |
committer | Iago Toral Quiroga <itoral@igalia.com> | Thu Oct 27 10:59:31 2016 +0200 |
tree | d00af93100647a95eea19985903f22d91b07ecb0 | |
parent | 5a4ce9f9a79934e4cfc2034c7d181a671e2563bf [diff] |
i965/vec4: use byte_offset() instead of offset() In a later patch we want to change the semantics of offset() to be in terms of SIMD width and scalar channels so it is consistent with the definition of the same helper in the scalar backend. However, some uses of offset() in the vec4 backend do not operate naturally in terms of these semantics. In these cases it is more natural to use the byte_offset() helper instead. Reviewed-by: Francisco Jerez <currojerez@riseup.net>