[Piglit] [PATCH] ARB_explicit_uniform_location: test inactive uniform interaction
Petri Latvala
petri.latvala at intel.com
Mon Mar 24 04:35:30 PDT 2014
On 03/24/2014 12:52 PM, Tapani Pälli wrote:
> Test has a shader with only one uniform which is not used. Test checks
> that uniform gets its defined explicit location and that there are no
> errors generated when glUniform is called to update its value.
>
> Test test does not pass with GTX 660 running the Nvidia proprietary
> driver for Linux version 319.32 because the uniform does not get the
> location.
>
To my reading of the spec, glGetUniformLocation can return -1 for the
inactive explicit-located uniform. And even if it's inactive, no _other_
uniform can get that location.
--
Petri Latvala
More information about the Piglit
mailing list