Re: [Mesa-dev] [PATCH v2 28/52] st/nine: Match REP implementation to LOOP

2015-01-11 Thread Axel Davy
On 10/01/2015 19:33, Ilia Mirkin wrote : Is there a "continue" in d3d9? I couldn't find one, but if there is, then this change won't work. no, but you can break early. That's why the counter decrease is put at the end of the loop, since it allows better performance if the loop is stopped early.

Re: [Mesa-dev] [PATCH v2 28/52] st/nine: Match REP implementation to LOOP

2015-01-10 Thread Ilia Mirkin
Is there a "continue" in d3d9? I couldn't find one, but if there is, then this change won't work. On Sat, Jan 10, 2015 at 5:42 AM, Axel Davy wrote: > Previous implementation was fine, > just instead of having increasing counter, > have a decreasing counter. Didn't you have some other reason to d

[Mesa-dev] [PATCH v2 28/52] st/nine: Match REP implementation to LOOP

2015-01-10 Thread Axel Davy
Previous implementation was fine, just instead of having increasing counter, have a decreasing counter. Signed-off-by: Axel Davy --- src/gallium/state_trackers/nine/nine_shader.c | 49 --- 1 file changed, 30 insertions(+), 19 deletions(-) diff --git a/src/gallium/state_t