Reviewed-by: Dave Airlie <airl...@redhat.com>

On 17 August 2017 at 12:20, Ilia Mirkin <imir...@alum.mit.edu> wrote:
> Currently mesa produces this:
>
> glsl/ir_constant_expression.cpp:735: virtual ir_constant*
> ir_swizzle::constant_expression_value(void*, hash_table*): Assertion
> `!"Should not get here."' failed.
>
> Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu>
> ---
>  tests/spec/arb_gpu_shader_int64/compiler/const-swizzle.vert | 13 
> +++++++++++++
>  1 file changed, 13 insertions(+)
>  create mode 100644 
> tests/spec/arb_gpu_shader_int64/compiler/const-swizzle.vert
>
> diff --git a/tests/spec/arb_gpu_shader_int64/compiler/const-swizzle.vert 
> b/tests/spec/arb_gpu_shader_int64/compiler/const-swizzle.vert
> new file mode 100644
> index 000000000..46a7ee181
> --- /dev/null
> +++ b/tests/spec/arb_gpu_shader_int64/compiler/const-swizzle.vert
> @@ -0,0 +1,13 @@
> +#version 330
> +#extension GL_ARB_gpu_shader_int64: require
> +
> +/* [config]
> + * expect_result: pass
> + * glsl_version: 3.30
> + * require_extensions: GL_ARB_gpu_shader_int64
> + * [end config]
> +*/
> +
> +uint64_t f() {
> +  return u64vec2(1UL, 2UL).y;
> +}
> --
> 2.13.0
>
> _______________________________________________
> Piglit mailing list
> Piglit@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to