Re: [Mesa-dev] [PATCH v4 2/4] r600 shader: Add extra function to evaluate array index

2018-07-17 Thread Gert Wollny
Am Montag, den 16.07.2018, 15:10 -0400 schrieb Ilia Mirkin: > > From: Gert Wollny [...] > > > > The added function evaluates the array index according to the > > function > > > > idx = floor(ai + 0.5); > > [...] > > Why not use RNDNE? Then you don't have to add the 0.5... When I starten f

Re: [Mesa-dev] [PATCH v4 2/4] r600 shader: Add extra function to evaluate array index

2018-07-16 Thread Ilia Mirkin
On Mon, Jul 16, 2018 at 4:26 AM, Gert Wollny wrote: > From: Gert Wollny > > The added function evaluates the array index according to the function > > idx = floor(ai + 0.5); > > Signed-off-by: Gert Wollny > --- > src/gallium/drivers/r600/r600_shader.c | 34 > +++

[Mesa-dev] [PATCH v4 2/4] r600 shader: Add extra function to evaluate array index

2018-07-16 Thread Gert Wollny
From: Gert Wollny The added function evaluates the array index according to the function idx = floor(ai + 0.5); Signed-off-by: Gert Wollny --- src/gallium/drivers/r600/r600_shader.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/src/gallium/drivers