[Piglit] [PATCH] glsl-1.20: Test that constants don't show up as uniforms

Kenneth Graunke kenneth at whitecape.org
Wed Oct 29 16:51:00 PDT 2014


On Wednesday, October 29, 2014 04:40:05 PM Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
> 
> Ken is writing an optimization that converts constant arrays into
> uniforms.  This pass had a problem that the converted constants would
> magically show up from glGetActiveUniform.  This test demonstrates that
> bug.
> 
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Cc: Kenneth Graunke <kenneth at whitecape.org>

Thanks a ton for doing this!

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20141029/e127a24b/attachment.sig>


More information about the Piglit mailing list