[Piglit] [PATCH] arb_uniform_buffer_object: Add new tests for GL_MAX_UNIFORM_BLOCK_SIZE.

Eric Anholt eric at anholt.net
Wed Dec 19 11:29:36 PST 2012


Ian Romanick <idr at freedesktop.org> writes:

> On 12/18/2012 10:50 AM, Eric Anholt wrote:
>> +
>> +	switch (target) {
>> +	case GL_VERTEX_SHADER:
>> +		asprintf(&vs_source, vs_ubo_template, vec4s);
>> +		asprintf(&fs_source, fs_template);
>
> Is asprintf universally available?  I thought we ran into some trouble 
> with that before...  Maybe Vinson will know...

Yeah, I got them to just add the open-coded version of it instead of
rewriting test code.

> piglit_link_simple_program?  Or is that not used because of the link 
> checks below?

Exactly.
-------------- 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/20121219/c2e69f67/attachment.pgp>


More information about the Piglit mailing list