Re: [Mesa3d-dev] Mesa (mesa_7_6_branch): i965: do a flush in clear, fix openarena render issue,

2009-09-18 Thread Zou, Nanhai
-Original Message- From: Dave Airlie [mailto:airl...@linux.ie] Sent: 2009年9月18日 9:31 To: Zou, Nanhai Cc: Brian Paul; mesa3d-dev Subject: Re: [Mesa3d-dev] Mesa (mesa_7_6_branch): i965: do a flush in clear, fix openarena render issue, In general, adding flush() calls is not the correct way

Re: [Mesa3d-dev] Mesa (mesa_7_6_branch): i965: do a flush in clear, fix openarena render issue,

2009-09-18 Thread Dave Airlie
Is this still being tracked down? we should probably revert the hack if nobody is actually going to look for the proper fix. I have replaced the intelFlush to a intel_batchbuffer_flush, then benchmark it with ut2004 demo. Found almost no regression. Its not about a regresssion there

Re: [Mesa3d-dev] Mesa (mesa_7_6_branch): i965: do a flush in clear, fix openarena render issue,

2009-09-18 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dave Airlie wrote: Is this still being tracked down? we should probably revert the hack if nobody is actually going to look for the proper fix. I have replaced the intelFlush to a intel_batchbuffer_flush, then benchmark it with ut2004 demo.

Re: [Mesa3d-dev] Mesa (mesa_7_6_branch): i965: do a flush in clear, fix openarena render issue,

2009-09-17 Thread Dave Airlie
In general, adding flush() calls is not the correct way to fix bugs (and can impact performance). This flush is probably hiding the true cause of the bug. Unfortunately, I don't know what that would be. I don't know exactly the reason. It seems that some rendering is delayed to the next

Re: [Mesa3d-dev] Mesa (mesa_7_6_branch): i965: do a flush in clear, fix openarena render issue,

2009-09-16 Thread Brian Paul
Nan hai Zou wrote: Module: Mesa Branch: mesa_7_6_branch Commit: 76e836a41ad47237f80195c5dacb8bc57a7f2b69 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=76e836a41ad47237f80195c5dacb8bc57a7f2b69 Author: Zou Nan hai nanhai@intel.com Date: Wed Sep 16 13:25:46 2009 +0800

Re: [Mesa3d-dev] Mesa (mesa_7_6_branch): i965: do a flush in clear, fix openarena render issue,

2009-09-16 Thread Zou, Nanhai
-Original Message- From: Brian Paul [mailto:bri...@vmware.com] Sent: 2009年9月16日 22:34 To: Zou, Nanhai Cc: mesa3d-dev Subject: Re: Mesa (mesa_7_6_branch): i965: do a flush in clear, fix openarena render issue, Nan hai Zou wrote: Module: Mesa Branch: mesa_7_6_branch Commit: