Re: [Mesa-dev] [PATCH v2 003/103] i965/vec4/nir: allocate two registers for dvec3/dvec4

2016-10-18 Thread Ian Romanick
On 10/11/2016 02:01 AM, Iago Toral Quiroga wrote: > From: Connor Abbott > > v2 (Curro): > - Do not special-case for a bit-size of 64, divide the bit_size by 32 > instead. > - Use DIV_ROUND_UP so we can handle sub-32-bit types. > --- >

[Mesa-dev] [PATCH v2 003/103] i965/vec4/nir: allocate two registers for dvec3/dvec4

2016-10-11 Thread Iago Toral Quiroga
From: Connor Abbott v2 (Curro): - Do not special-case for a bit-size of 64, divide the bit_size by 32 instead. - Use DIV_ROUND_UP so we can handle sub-32-bit types. --- src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 7 --- 1 file changed, 4 insertions(+), 3