Re: [Mesa-dev] [PATCH 3/3] i965/vec4: make offset() work in terms of a simd width and scalar components

2016-10-26 Thread Francisco Jerez
Iago Toral Quiroga writes: > So that it has the same semantics as the scalar backend implementation. The > helper will now take a simd width (which is always 8 in vec4 mode) and step > as many scalar components as specified by that width, respecting the size of > the scalar

[Mesa-dev] [PATCH 3/3] i965/vec4: make offset() work in terms of a simd width and scalar components

2016-10-04 Thread Iago Toral Quiroga
So that it has the same semantics as the scalar backend implementation. The helper will now take a simd width (which is always 8 in vec4 mode) and step as many scalar components as specified by that width, respecting the size of the scalar channels. --- src/mesa/drivers/dri/i965/brw_ir_vec4.h