[Piglit] [PATCH] add textureSamples tests

Ilia Mirkin imirkin at alum.mit.edu
Tue Sep 8 18:44:25 PDT 2015


On Wed, Aug 12, 2015 at 1:10 AM, Dylan Baker <baker.dylan.c at gmail.com> wrote:
>
> On Aug 11, 2015 18:49, "Ilia Mirkin" <imirkin at alum.mit.edu> wrote:
>>
>> ---
>>  tests/all.py                              |  10 +
>>  tests/texturing/shaders/CMakeLists.gl.txt |   1 +
>>  tests/texturing/shaders/textureSamples.c  | 358
>> ++++++++++++++++++++++++++++++
>>  3 files changed, 369 insertions(+)
>>  create mode 100644 tests/texturing/shaders/textureSamples.c
>>
>> diff --git a/tests/all.py b/tests/all.py
>> index 07cf557..d0e78e6 100644
>> --- a/tests/all.py
>> +++ b/tests/all.py
>> @@ -1425,6 +1425,16 @@ for stage in ['vs', 'gs', 'fs']:
>>              PiglitGLTest(['texelFetch', stage,
>> '{}sampler2DArray'.format(type),
>>                            'b0r1'])
>>
>> +    for type in ('i', 'u', ''):
>> +        for sampler in ('sampler2DMS', 'sampler2DMSArray'):
>> +            for samples in map(str, (2, 4, 8)):
>
> Or maybe just ('2', '4', '8') ?

Sure, whatever.

Any takers on reviewing the actual test? The mesa functionality is
ready, I will push this at the same time as the main functionality
unless I hear otherwise.

  -ilia


More information about the Piglit mailing list