[Piglit] [PATCH] gl-3.1-mixed-int-float-fbo: new mixed integer/float FBO test

Brian Paul brianp at vmware.com
Mon Oct 3 19:20:10 UTC 2016

On 10/03/2016 12:12 PM, Anuj Phogat wrote:
> On Thu, Sep 29, 2016 at 8:51 AM, Brian Paul <brianp at vmware.com> wrote:
>> Create an FBO with two color attachments: one integer, the other
>> unorm/float.  Use a fragment shader to write to both buffers and
>> probe the results.
>> Also, test the value of querying GL_RGBA_INTEGER_MODE_EXT.  It should
>> be true whenever at least one attachment is integer.
>> NOTE: This test fails with both NVIDIA and llvmpipe.  It seems that no
>> matter whether the second attachment is integer or unorm, the rendering
>> doesn't work.  I don't know if this is a driver bug, undefined behavior
>> or if I've got something wrong in my code.  Ideas appreciated.
> This test also fails on Intel.

Thanks for testing.  I'm _pretty_ sure my code is correct but maybe 
someone could double-check my work.  I'd have thought that there's 
probably some app out there that might try to do this, and that it 
should work.


More information about the Piglit mailing list