[Piglit] [Mesa-dev] [PATCH] arb_occlusion_query2: expect an error when target mismatch in glBeginQuery()
mark.a.janes at intel.com
Wed Feb 18 14:15:55 PST 2015
I track piglit regressions for the mesa team at Intel. It would really
help me if you put a note in your commit message when a new test is
known to fail on any platform.
Eduardo Lima Mitev <elima at igalia.com> writes:
> As a heads-up, with this patch piglit fails the test for current Mesa.
> But I'm about to send another series of patches for dEQP tests which
> include a fix in Mesa for this issue.
> The piglit test in question is:
> bin/arb_occlusion_query2-api -auto -fbo
> On 02/10/2015 08:48 AM, Eduardo Lima Mitev wrote:
>> From the OpenGL ES 3.0.0 spec, section "2.13. ASYNCHRONOUS QUERIES",
>> page 82:
>> "BeginQuery generates an INVALID_OPERATION error if any of the
>> following conditions hold: [...]; id is the name of an existing
>> query object whose type does not match target; [...]
>> OpenGL 3.3 spec has similar wording at section "2.14. ASYNCHRONOUS
>> QUERIES", page 94.
>> Hence, trying to call BeginQuery on a query object which has already
>> been bound to a different target should return GL_INVALID_OPERATION.
>> tests/spec/arb_occlusion_query2/api.c | 49
>> 1 file changed, 49 insertions(+)
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
More information about the Piglit