[Piglit] [PATCH 2/2] glsl-1.30: Add fragment shader tests for modulus.

Kenneth Graunke kenneth at whitecape.org
Fri Aug 12 18:02:32 PDT 2011


On 08/12/2011 05:10 PM, Paul Berry wrote:
> On 12 August 2011 17:03, Eric Anholt <eric at anholt.net> wrote:
>> On Thu, 11 Aug 2011 17:31:02 -0700, Kenneth Graunke <kenneth at whitecape.org> wrote:
>>> ---
>>>  .../glsl-1.30/execution/fs-modulus-01.shader_test  |   26 ++++++++++++++++++++
>>>  .../glsl-1.30/execution/fs-modulus-02.shader_test  |   25 +++++++++++++++++++
>>
>> Looks like these won't be covered by Paul's operator tests.  I could use
>> the same set for VS, too.
> 
> I'm working on some tests for modulus as well as the other operators
> and built-in functions introduced in GLSL 1.30 (~, <<, >>, &, |, ^,
> sinh, cosh, tanh, arcsinh, arccosh, arctanh, trunc, round, roundEven,
> isnan, and isinf).  let's talk Monday and figure out if the tests I'm
> working on cover what you need.

Even better.  I'm more than happy to use your tests...I just threw
together some basic ones as I was implementing the missing support.


More information about the Piglit mailing list