[Piglit] [PATCH v2] gs: Test that input arrays can be accessed dynamically.

Chad Versace chad.versace at linux.intel.com
Tue Sep 10 17:56:19 PDT 2013

On 09/10/2013 04:59 PM, Paul Berry wrote:
> Most geometry shaders access their input arrays using a constant index
> (or an index that is constant after loop unrolling).  This test checks
> that we get the right results if we access a geometry shader input
> array using a non-constant index.
> v2: Use a slightly more complex calculation that allows each vertex to
> have a different value of "index" (suggested by Chad Versace
> <chad.versace at linux.intel.com>).
> ---
>   .../geometry/dynamic_input_array_index.shader_test | 71 ++++++++++++++++++++++
>   1 file changed, 71 insertions(+)
>   create mode 100644 tests/spec/glsl-1.50/execution/geometry/dynamic_input_array_index.shader_test

Thanks for the willingness to be more thorough.
Reviewed-by: Chad Versace <chad.versace at linux.intel.com>

More information about the Piglit mailing list