Bug 10984 - wrong error state returned by Occlusion query APIs
Summary: wrong error state returned by Occlusion query APIs
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/X11 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: low normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-17 15:36 UTC by Wei Wang
Modified: 2009-08-24 12:26 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
a case will be better (1.49 KB, text/plain)
2007-05-17 15:38 UTC, Wei Wang
Details

Description Wei Wang 2007-05-17 15:36:59 UTC
Mesa: master 8a7f474c691dc077c081b59e30937e526400860f

From OGL spec: The INVALID_VALUE is generated if GenQueriesARB/DeleteQueriesARB is called where the number of query object is negative. However, under indirect context, glGetError() return 0 (which means no error happens) instead of INVALID_VALUE.

With DRI context enabled on INTEL i965 driver, this bug doesn't happen.
Comment 1 Wei Wang 2007-05-17 15:38:37 UTC
Created attachment 10006 [details]
a case will be better
Comment 2 Brian Paul 2008-02-19 07:28:39 UTC
Fixed in git in the generator script for indirect.c
I'm leaving this out of the 7.0.x branch because it's a low-impact bug and there's a non-zero risk to the fix.
Comment 3 Shuang He 2008-02-19 18:37:14 UTC
verified, thanks
Comment 4 Adam Jackson 2009-08-24 12:26:51 UTC
Mass version move, cvs -> git


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.