[Piglit] [Mesa-dev] [PATCH 0/2] arb_occlusion_query2: expect an error when target mismatch in glBeginQuery()

Eduardo Lima Mitev elima at igalia.com
Mon Feb 16 03:19:35 PST 2015


Hi Ian, sorry for the delay.

I splitted the patch in two as you suggested, and also replaced all spaces for tabs in both patches.
My emacs was not highlighting tabs so I didn't realize; and since it uses spaces by default, it messed it up.

I tried the regressed piglit test 'bin/arb_occlusion_query2-api -auto -fbo' in both AMD and NVidia propietary drivers, against piglit master as of today:

AMD:
(OpenGL renderer string: AMD Radeon HD 7400M Series
 OpenGL core profile version string: 4.3.12798 Core Profile Context 13.35.1005)

It fails without my patches and passes when applied. This means that the AMD driver is behaving fine with regards to the spec.

NVidia:
(OpenGL renderer string: NVS 4200M/PCIe/SSE2
 OpenGL core profile version string: 4.4.0 NVIDIA 340.65)

In NVidia the test passes without my patches and fails with the patches applied. Specifically, it fails the check introduced in patch 02; so NVidia driver is not doing what the specs says.
I will report the issue directly to the NVidia Linux driver team.

Thanks a lot for the feedback!
Eduardo

Eduardo Lima Mitev (2):
  arb_occlusion_query2: expect an error when target mismatch in
    glBeginQuery()
  arb_occlusion_query2: Checks that query obj passed to glBeginQuery
    matches target

 tests/spec/arb_occlusion_query2/api.c | 44 +++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

-- 
2.1.3



More information about the Piglit mailing list