From: Peter Clifton <pcjc2@cam.ac.uk>
To: "intel-gfx@lists.freedesktop.org" <intel-gfx@lists.freedesktop.org>
Subject: Operation ordering?
Date: Tue, 02 Nov 2010 21:31:50 +0000 [thread overview]
Message-ID: <1288733510.7934.4.camel@pcjc2lap> (raw)
I'm unfamiliar with how this works, so please bear with me. I'm
attempting to track down an intermittent rendering bug in my application
which appears to be related to stencil information not being correct at
the time primitives are rendered.
The rendering builds up by rendering into the stencil buffer, changing
the stencil tests and doing more rendering on top.
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.
Is it possible that the rendering commands and the state-change are
getting their orders muddled up, or that the rendering before the state
change (affecting the stencil) hasn't hit the stencil buffer before
further rendering then uses the (not yet up to date) stencil buffer?
Some kind of stall missing / cache coherency problem?
Anyway.. you guys know more how this works than I do, so any pointers
would be greatly appreciated. I'll let you know if I narrow it down any
further.
--
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)
next reply other threads:[~2010-11-02 21:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-02 21:31 Peter Clifton [this message]
2010-11-03 1:36 ` Operation ordering? Peter Clifton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1288733510.7934.4.camel@pcjc2lap \
--to=pcjc2@cam.ac.uk \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox