[Piglit] [PATCH] util/gl: Add functions piglit_test_{min, max}_int64 (v2)

Eric Anholt eric at anholt.net
Thu Nov 29 14:07:25 PST 2012


Chad Versace <chad.versace at linux.intel.com> writes:

> The new functions test the min/max value of a token with glGetInteger64v.
>
> v2: Use PRId64 for printing GLint64, for Anholt.
>
> CC: Eric Anholt <eric at anholt.net>
> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
> ---
>
> As a follow-on patch, I should probably change the width of the columns to
> accomodate GLint64.

I think 50 columns was to fit the longer GL enum names, and then 16 more
columns brings us to 66, so another 16 would mean wrapping on default
terminal sizes.  I think just having weird column layouts if you've got
more than 8 digits is fine.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20121129/d4bc143d/attachment.pgp>


More information about the Piglit mailing list