Re: [Mesa-dev] [PATCH 11/20] i965/fs: Make count_to_loop_end() use basic blocks.

2014-09-08 Thread Matt Turner
On Tue, Sep 2, 2014 at 9:34 PM, Matt Turner wrote: > When the instructions aren't in a flat list, this wouldn't have worked. > Also, this should be faster. > --- > src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 28 > +++ > 1 file changed, 13 insertions(+), 15 deletions(-

Re: [Mesa-dev] [PATCH 11/20] i965/fs: Make count_to_loop_end() use basic blocks.

2014-09-08 Thread Pohjolainen, Topi
On Tue, Sep 02, 2014 at 09:34:22PM -0700, Matt Turner wrote: > When the instructions aren't in a flat list, this wouldn't have worked. > Also, this should be faster. > --- > src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 28 > +++ > 1 file changed, 13 insertions(+), 15 de

[Mesa-dev] [PATCH 11/20] i965/fs: Make count_to_loop_end() use basic blocks.

2014-09-02 Thread Matt Turner
When the instructions aren't in a flat list, this wouldn't have worked. Also, this should be faster. --- src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp | 28 +++ 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_reg_allocate.cpp