[Piglit] [PATCH] piglit: Add tests to validate switch statements in OpenGL 3.0.

Dan McCabe zen3d.linux at gmail.com
Thu Aug 25 08:21:10 PDT 2011


On 08/25/2011 07:56 AM, Ian Romanick wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 08/21/2011 06:27 PM, Dan McCabe wrote:
>> Two sets of tests are included in this change set.
>>
>> The first set of 26 tests validates compiler support. Included are tests
>> that test both positvely and negatively that the compiler processed valid
>> switch statements and detected syntax errors.
>>
>> The second set of 3 tests validates that the execution the the generated
>> code is correct. This set generate four quadrants of color. In the test of
>> the switch statement alone, these quadrants are red, green, blue and white.
>> The second and third tests validate interactions between loops and switch
>> statement, nesting one inside the other. The loops compute "random" colors
>> at each pixel where white was drawn in the first test.
>
> I just pushed the compiler tests with the changes that I wanted.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk5WYrAACgkQX1gOwKyEAw8csgCcDHIkhiYl8e2TdQs/QIIC4bSb
> O6wAn1cyPojxyjZW3jgaBUlgxqqxHJgX
> =Ob4u
> -----END PGP SIGNATURE-----

Thanks.


More information about the Piglit mailing list