On Mon, Oct 3, 2016 at 12:20 PM, Brian Paul <[email protected]> wrote: > On 10/03/2016 12:12 PM, Anuj Phogat wrote: >> >> On Thu, Sep 29, 2016 at 8:51 AM, Brian Paul <[email protected]> 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. > I couldn't find any issue with the test case but I did quick hacks to see if the same test works fine for both integer and both float attachments. Test failed in both cases due to color probe in COLOR_ATTACHMENT_1. Here are my quick hacks: 1. both int attachments: http://sprunge.us/dVDj 2. both float attachments: http://sprunge.us/gYYS
> -Brian > > > _______________________________________________ Piglit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/piglit
