[Piglit] [PATCH] arb_blend_func_extended: add three api tests

Brian Paul brianp at vmware.com
Wed Nov 23 08:54:48 PST 2011


On 11/21/2011 10:15 AM, Dave Airlie wrote:
> On Sun, Nov 20, 2011 at 7:00 PM, Dave Airlie<airlied at gmail.com>  wrote:
>> From: Dave Airlie<airlied at redhat.com>
>>
>> The first two are heavily reused version of the gl-3.0 API tests from Ian, just
>> adapted to test the two APIs for GL_ARB_blend_func_extended,
>>
>> the third is a simple test that glBlendFunc can accept the new tokens, and
>> the changed behaviour of the GL_SRC_ALPHA_SATURATE token.
>
> I tested these against fglrx this morning, and it fails miserably, but
> I verified against the spec and pushed them.
>
> If anyone runs them again nvidia I'd appreciate the results, then we
> can add them to all.tests.


arb_blend_func_extended-getfragdataindex and 
arb_blend_func_extended-blend-api pass on NV but 
arb_blend_func_extended-bindfragdataindexed-invalid-parameters fails:

Trying location = -1...
Trying location = GL_MAX_DRAW_BUFFERS...
Trying index > 1...
Unexpected GL error: GL_NO_ERROR 0x0
Expected GL error: GL_INVALID_VALUE 0x501
PIGLIT: {'result': 'fail' }

I'm using:
OpenGL renderer string: GeForce GTX 570/PCI/SSE2
OpenGL version string: 4.1.0 NVIDIA 280.13
OpenGL shading language version string: 4.10 NVIDIA via Cg compiler

-Brian


More information about the Piglit mailing list