For power-of-two sizes, h0 == mt->height0 since it's already a multiple
of two. However, for NPOT, they're different; h1 should be computed
based on the original size.
Fixes piglit test "cubemap npot" and oglconform_31 test "textureNPOT".
NOTE: This is a candidate for stable release branches.
S
validate_program relies on validate_shader_program to fill in errMsg;
empirically, there exist cases where that doesn't happen.
While tracking those down may be worthwhile, initializing the string so
we don't try to ralloc_strdup random garbage also seems wise.
Fixes issues caught by valgrind whi
Pushed.
On 07/29/2011 06:58 PM, Chad Versace wrote:
> Fix implicit type conversion errors
>
> Fixes Piglit tests:
> spec/glsl-1.20/compiler/built-in-functions/outerProduct-bvec*.vert
>
> spec/glsl-1.20/compiler/structure-and-array-operations/array-ctor-implicit-conversion-bool-float.v