Re: [Mesa-dev] [PATCH 2/3] i965/vec4: use byte_offset() instead of offset()

2016-10-26 Thread Iago Toral
On Wed, 2016-10-26 at 13:13 -0700, Francisco Jerez wrote: > Iago Toral Quiroga writes: > > > > > 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

Re: [Mesa-dev] [PATCH 2/3] i965/vec4: use byte_offset() instead of offset()

2016-10-26 Thread Francisco Jerez
Iago Toral Quiroga writes: > 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 natu

[Mesa-dev] [PATCH 2/3] i965/vec4: use byte_offset() instead of offset()

2016-10-04 Thread Iago Toral Quiroga
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