aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915/intel_buffers.h
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2016-10-03 13:26:54 +0200
committerIago Toral Quiroga <[email protected]>2016-10-27 10:59:31 +0200
commitba63db1f2ecf78ab894fe411b4f27d8523cf952d (patch)
treed00af93100647a95eea19985903f22d91b07ecb0 /src/mesa/drivers/dri/i915/intel_buffers.h
parent5a4ce9f9a79934e4cfc2034c7d181a671e2563bf (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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_buffers.h')
0 files changed, 0 insertions, 0 deletions