[Piglit] [PATCH] Add a test that reproduces a problem in GLideN64.
Eduardo Lima Mitev
elima at igalia.com
Fri Apr 29 11:27:13 UTC 2016
Confirmed it crashes without your 2-patch series in Mesa, and passes
with it. Test looks good.
Reviewed-by: Eduardo Lima Mitev <elima at igalia.com>
On 04/29/2016 09:23 AM, Kenneth Graunke wrote:
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95164
> ---
> .../compiler/vector-dereference-in-dereference.frag | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
> create mode 100644 tests/spec/glsl-1.10/compiler/vector-dereference-in-dereference.frag
>
> diff --git a/tests/spec/glsl-1.10/compiler/vector-dereference-in-dereference.frag b/tests/spec/glsl-1.10/compiler/vector-dereference-in-dereference.frag
> new file mode 100644
> index 0000000..6c03136
> --- /dev/null
> +++ b/tests/spec/glsl-1.10/compiler/vector-dereference-in-dereference.frag
> @@ -0,0 +1,12 @@
> +/* [config]
> + * expect_result: pass
> + * glsl_version: 1.10
> + * [end config]
> + */
> +uniform ivec4 v;
> +uniform mat4 m;
> +
> +void main()
> +{
> + gl_FragColor = m[v[0]];
> +}
>
More information about the Piglit
mailing list