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
<[email protected]>).
---
.../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 <[email protected]>
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit