Bug 88248 - Calling glClear while there is an occlusion query in progress messes up the results
Summary: Calling glClear while there is an occlusion query in progress messes up the r...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Ian Romanick
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-09 18:05 UTC by Neil Roberts
Modified: 2015-02-16 12:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Roberts 2015-01-09 18:05:00 UTC
If any meta operations are used while an occlusion query is in progress (such as by calling glClear) then the results aren't saved and restored correctly so the final value is wrong. I posted a patch for this a while ago and I'm opening a bug so we don't forget about it.

http://patchwork.freedesktop.org/patch/37605/

There is also a piglit test for it which I pushed to master

http://cgit.freedesktop.org/piglit/commit/?id=3f6ee9d53c89c305d4b41f30c7c0dc
Comment 1 Neil Roberts 2015-02-16 12:21:18 UTC
I've pushed the patch.

http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb77745681e179b53ea64da7bc


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.