[Piglit] [PATCH] Test that loop unrolling properly infers loop bounds.
Kenneth Graunke
kenneth at whitecape.org
Mon Jan 7 18:46:13 PST 2013
On 01/07/2013 06:22 PM, Paul Berry wrote:
> This patch introduces new vs and fs tests to provoke a bug in Mesa
> which caused loop bounds to be inferred incorrectly when the loop
> condition was expressed in an unusual way (e.g. "4 > i" instead of "i
> < 4").
> ---
> .../execution/fs-loop-bounds-unrolled.shader_test | 40 +++++++++++++++++++++
> .../execution/vs-loop-bounds-unrolled.shader_test | 41 ++++++++++++++++++++++
> 2 files changed, 81 insertions(+)
> create mode 100644 tests/spec/glsl-1.10/execution/fs-loop-bounds-unrolled.shader_test
> create mode 100644 tests/spec/glsl-1.10/execution/vs-loop-bounds-unrolled.shader_test
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
More information about the Piglit
mailing list