Bug 10984

Summary: wrong error state returned by Occlusion query APIs
Product: Mesa Reporter: Wei Wang <wei.z.wang>
Component: Drivers/X11Assignee: mesa-dev
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: low CC: haihao.xiang, nanhai.zou, nian.wu
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: a case will be better

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.