From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Clifton Subject: Re: Operation ordering? Date: Wed, 03 Nov 2010 01:36:59 +0000 Message-ID: <1288748219.9040.2.camel@pcjc2lap> References: <1288733510.7934.4.camel@pcjc2lap> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from ppsw-51.csi.cam.ac.uk (ppsw-51.csi.cam.ac.uk [131.111.8.151]) by gabe.freedesktop.org (Postfix) with ESMTP id 9AA5F9E75C for ; Tue, 2 Nov 2010 18:37:01 -0700 (PDT) Received: from cpc1-cmbg11-0-0-cust238.5-4.cable.virginmedia.com ([86.22.72.239]:43507 helo=[192.168.1.4]) by ppsw-51.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.158]:465) with esmtpsa (LOGIN:pcjc2) (SSLv3:DHE-RSA-CAMELLIA256-SHA:256) id 1PDSHc-0007G4-XV (Exim 4.72) for intel-gfx@lists.freedesktop.org (return-path ); Wed, 03 Nov 2010 01:37:00 +0000 In-Reply-To: <1288733510.7934.4.camel@pcjc2lap> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: "intel-gfx@lists.freedesktop.org" List-Id: intel-gfx@lists.freedesktop.org On Tue, 2010-11-02 at 21:31 +0000, Peter Clifton wrote: > Running with debug options set to always flush after each primitive > fixes the issue, as does a judicial insertion of glFlush into my > rendering code after changing the stencil test state, but before drawing > more geometry. Please ignore this.. turns out it was a crazy state problem in my code. DrawArrays with the wrong VBO still bound, and it walked off the end upsetting something in the driver / kernel / GPU and curtailing / corrupting further rendering. Doh! -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)