Miklós Máté <mtm...@gmail.com> writes:

> On 21/11/17 21:17, Eric Anholt wrote:
>> Miklós Máté <mtm...@gmail.com> writes:
>>> diff --git a/tests/spec/ati_fragment_shader/render-notexture.c 
>>> b/tests/spec/ati_fragment_shader/render-notexture.c
>>> new file mode 100644
>>> index 000000000..2d9aefe09
>>> --- /dev/null
>>> +++ b/tests/spec/ati_fragment_shader/render-notexture.c
>>> @@ -0,0 +1,71 @@
>>> +/* TODO license header */
>>> +
>>> +/**
>>> + * Tests rendering with GL_ATI_fragment_shader: when no texture is bound
>>> + * - glPassTexCoordATI() should work as normal
>>> + * - glSampleMapATI() should return all zeros (technically this is 
>>> undefined)
>> I don't think that would be undefined -- you'd have the default texture
>> object used, which would sample as zeroes.
>
> Should I test the right hand side to be black then?

I think so.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to