Re: [Mesa-dev] begin/end and dlists cleanup

2013-01-18 Thread Ian Romanick
On 01/18/2013 02:30 PM, Eric Anholt wrote: I've been irritated by the ASSERT_OUTSIDE_BEGIN_END macro for years -- we have dispatch tables, and we can use those to micro-optimize most Mesa entrypoints. It turns out we can cut 175 lines of code from doing so, and I suspect we had many more places t

[Mesa-dev] begin/end and dlists cleanup

2013-01-18 Thread Eric Anholt
I've been irritated by the ASSERT_OUTSIDE_BEGIN_END macro for years -- we have dispatch tables, and we can use those to micro-optimize most Mesa entrypoints. It turns out we can cut 175 lines of code from doing so, and I suspect we had many more places that needed ASSERT_OUTSIDE_BEGIN_END which nob