[Piglit] [PATCH 10/13] glsl: Allow limit checking on negative constants

Eric Anholt eric at anholt.net
Mon Aug 26 14:49:44 PDT 2013

Ian Romanick <idr at freedesktop.org> writes:

> From: Ian Romanick <ian.d.romanick at intel.com>
> GLSL ES 3.00 adds gl_MinProgramTexelOffset with a negative value.
> This constant must be -8 or less.  For now, assume that all negative
> constants want a <= comparison.  The alternative is to compare the
> name for 'gl_Min' instead of 'gl_Max'.

I'd be more comfortable with the string_match() for gl_Min, and it looks
like it would be trivial.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20130826/f6af12d8/attachment.pgp>

More information about the Piglit mailing list