Re: [Mesa-dev] [PATCH] meta: allow nested meta operations

2010-12-09 Thread Xiang, Haihao
On Thu, 2010-12-09 at 23:27 +0800, Brian Paul wrote: > On 12/08/2010 10:01 PM, Xiang, Haihao wrote: > > _mesa_meta_CopyPixels results in nested meta operations on Sandybridge. > > Previoulsy the second meta operation overrides all states saved by the > > first meta function. > > Looks good, but I

Re: [Mesa-dev] [PATCH] meta: allow nested meta operations

2010-12-09 Thread Brian Paul
On 12/08/2010 10:01 PM, Xiang, Haihao wrote: _mesa_meta_CopyPixels results in nested meta operations on Sandybridge. Previoulsy the second meta operation overrides all states saved by the first meta function. Looks good, but I think we could get away with MAX_META_OPS_DEPTH=2. I don't see any

[Mesa-dev] [PATCH] meta: allow nested meta operations

2010-12-08 Thread Xiang, Haihao
_mesa_meta_CopyPixels results in nested meta operations on Sandybridge. Previoulsy the second meta operation overrides all states saved by the first meta function. --- src/mesa/drivers/common/meta.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/mesa/dri