[Piglit] [PATCH] Add test case clearbuffer mixed format

Brian Paul brian.e.paul at gmail.com
Tue Dec 13 13:10:37 PST 2011


On Tue, Dec 13, 2011 at 12:04 PM, Eric Anholt <eric at anholt.net> wrote:
> On Mon, 12 Dec 2011 11:29:06 -0800, Anuj Phogat <anuj.phogat at gmail.com> wrote:
>> Adding a new testcase to verify clearing mixed format color buffers with
>> glClearBufferfv/glClearBufferiv/glClearBufferuiv
>>
>> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
>
>> +/**
>> + * \file clearbuffer-mixed-format.c
>> + * Verify clearing mixed format color buffers with glClearBufferfv/glClearBufferiv/glClearBufferuiv
>> + *
>> + * This test works by generating several mixed foarmt color framebuffer objects and attempting to
>> + * clear the color buffer of those FBOs by calling glClearBufferfv/glClearBufferiv/glClearBufferuiv.
>
> We generally wrap our code at 80 lines, [...]

Or 80 columns if your editor displays text horizontally. :)

-Brian


More information about the Piglit mailing list