[Piglit] [PATCH] Add test to verify the accuracy of scaled blitting with GL_LINEAR filter

Paul Berry stereotype441 at gmail.com
Tue Aug 6 14:13:08 PDT 2013


On 6 August 2013 14:08, Paul Berry <stereotype441 at gmail.com> wrote:

> On 5 August 2013 15:32, Anuj Phogat <anuj.phogat at gmail.com> wrote:
>
>> This test verifies the accuracy of scaled blitting from a single sample
>> buffer with GL_LINEAR filtering. It compares the output from following
>> rendering scenarios:
>> 1. Scaled blit using a single sample framebuffer with texture /
>>    renderbuffer attachment.
>> 2. Scaled blit using a glsl shader program.
>> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
>> ---
>>  tests/all.tests                                    |   1 +
>>  .../ext_framebuffer_multisample/CMakeLists.gl.txt  |   1 +
>>  .../blit-scaled-linear.cpp                         | 297
>> +++++++++++++++++++++
>>  3 files changed, 299 insertions(+)
>>  create mode 100644
>> tests/spec/ext_framebuffer_multisample/blit-scaled-linear.cpp
>>
>
> I see that you've placed this test in ext_framebuffer_multisample because
> it re-uses the test pattern defined in
> ext_framebuffer_multisample/common.cpp.  I'm not comfortable with that--if
> we start mixing and matching our directory organization like this, it's
> going to start getting hard to find the files we're looking for.  How about
> if we do a pre-patch that moves the test pattern to a global location (i.e.
> somewhere in tests/util)?  Then this test can go in
> arb_framebuffer_multisample where it belongs.
>

Sorry, I meant to say "Then this test can go in arb_framebuffer_object
where it belongs".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130806/eea10f4e/attachment.html>


More information about the Piglit mailing list