[Piglit] [PATCH] arb_texture_multisample: add new fetch-texel test

Ilia Mirkin imirkin at alum.mit.edu
Tue Jul 8 16:20:41 PDT 2014


On Tue, Jul 8, 2014 at 6:46 PM, Brian Paul <brianp at vmware.com> wrote:
> On 07/08/2014 04:36 PM, Ilia Mirkin wrote:
>>
>> On Tue, Jul 8, 2014 at 6:32 PM, Brian Paul <brianp at vmware.com> wrote:
>>>
>>> A simple test to check that using fetchTexel() to get individual
>>> samples from a MSAA texture really works.
>>
>>
>> How is this different than texelFetch (in
>> tests/texturing/shaders/texelFetch.c) with sampler2DMS?
>
>
> I wanted something smaller and simpler for debugging.  Also, those tests
> aren't working with nvidia's driver (see the arb_explicit_attrib_location
> thread) so I can't use that driver to compare with.

Works with nouveau ;) And yeah, as you pointed out in that message,
flipping things to #version 150 seems to do the trick for nvidia.

I'll leave it to someone else to decide whether it makes sense to
duplicate the test coverage. I didn't think texelFetch was all that
complicated, but I guess this is simpler.

>
>
>
>> Also, assuming it is different, probably should do
>> s/fetchTexel/texelFetch/ everywhere...
>
>
> Will do.  Thanks.
>
> -Brian
>
>


More information about the Piglit mailing list