Re: [Mesa-dev] [PATCH v2 0/6] Various fixes to integer GetUniform*()

2017-05-31 Thread Matt Turner
On Mon, May 22, 2017 at 2:40 AM, Iago Toral wrote: > On Sat, 2017-05-20 at 14:09 -0700, Matt Turner wrote: >> On Thu, May 18, 2017 at 2:43 AM, Iago Toral Quiroga > m> wrote: >> > The main change is that we now use round*() instead of IROUND*() >> > which only >> > worked for signed integer cases.

Re: [Mesa-dev] [PATCH v2 0/6] Various fixes to integer GetUniform*()

2017-05-22 Thread Iago Toral
On Sat, 2017-05-20 at 14:09 -0700, Matt Turner wrote: > On Thu, May 18, 2017 at 2:43 AM, Iago Toral Quiroga m> wrote: > > The main change is that we now use round*() instead of IROUND*() > > which only > > worked for signed integer cases. I have also made it so we write > > converted unsigned valu

Re: [Mesa-dev] [PATCH v2 0/6] Various fixes to integer GetUniform*()

2017-05-20 Thread Matt Turner
On Thu, May 18, 2017 at 2:43 AM, Iago Toral Quiroga wrote: > The main change is that we now use round*() instead of IROUND*() which only > worked for signed integer cases. I have also made it so we write > converted unsigned values the unsigned field in the destination union and to > cast the resu

[Mesa-dev] [PATCH v2 0/6] Various fixes to integer GetUniform*()

2017-05-18 Thread Iago Toral Quiroga
The main change is that we now use round*() instead of IROUND*() which only worked for signed integer cases. I have also made it so we write converted unsigned values the unsigned field in the destination union and to cast the result from round*() to the target integer type explicitly (this is redu