[Piglit] [PATCH] glsl-1.20: Add a bunch of outerProduct execution tests for constant data

Kenneth Graunke kenneth at whitecape.org
Sat May 7 23:12:04 PDT 2011


On 05/01/2011 04:58 PM, Ian Romanick wrote:
> From: Ian Romanick<ian.d.romanick at intel.com>
>
> The previous batch tested non-constant parameters to outerProduct.
> All of those shaders should execute the outerProduct code on the GPU.
> This batch adds the same set of tests but using constant parameters to
> outerProduct.  These are likely executed in the compiler on the CPU
> during a constant folding pass.
>
> Testing all of the possible paths seems to make sense.

Do we want to remove glsl-const-builtin-outerProduct.shader_test?  I 
haven't looked at your tests but I presume they make my one meager test 
redundant.

--Kenneth


More information about the Piglit mailing list