Bug 12132 - occlusion query should return the number of samples passed depth test
Summary: occlusion query should return the number of samples passed depth test
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Zou Nan hai
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-24 00:45 UTC by Shuang He
Modified: 2007-09-26 02:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
test case (2.09 KB, text/x-csrc)
2007-08-24 00:54 UTC, Shuang He
Details

Description Shuang He 2007-08-24 00:45:38 UTC
on G965 and GM965
occlusion query doesn't return the correct number of smaples that passed depth test
it works for non-dri mode.
Comment 1 Shuang He 2007-08-24 00:54:01 UTC
Created attachment 11251 [details]
test case

this is a simple test case
you can also found this issue by:
./glean -r result -t occluQry
Comment 2 Zou Nan hai 2007-09-24 19:08:59 UTC
I can not reproduce on my GM965 machine with the attached program
Comment 3 Shuang He 2007-09-24 21:39:02 UTC
on my G965 machine, I got results like following:
number of samples passed depth test = 134758680
should be 900

but in non-DRI mode, it gets:
number of samples passed depth test = 900
should be 900

Comment 4 Shuang He 2007-09-25 00:36:36 UTC
seems commit(be3099f26547f48066bbdd7a36578b54da9170b4) brings in this issue
Comment 5 Zou Nan hai 2007-09-25 19:07:40 UTC
fixed in mesa commit 395b3bf6f95b35a84a74d4baf7e04bc67cf3771c
Comment 6 Shuang He 2007-09-26 02:14:00 UTC
verified on both 32bit and 64bit


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.