Bug 24610

Summary: tri-query segfaults
Product: Mesa Reporter: Justin Noah <justinnoah>
Component: Drivers/DRI/R600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: critical    
Priority: medium    
Version: git   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Stops the crash in tri-query. I don't know if it helps with anything else though.

Description Justin Noah 2009-10-18 22:04:42 UTC
Created attachment 30547 [details] [review]
Stops the crash in tri-query. I don't know if it helps with anything else though.

When running tri-query from progs/trivial a segfault occurs when
glGenQueriesARB(1, &OccQuery); (tri-query.c:49) is called.
Comment 1 Alex Deucher 2009-10-20 15:15:41 UTC
The r600 driver doesn't support OQ, so the app shouldn't be using it without checking first.
Comment 2 Brian Paul 2009-10-20 15:21:42 UTC
I'll add a GL_ARB_occlusion_query check to the program.

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.