On Mon, Sep 30, 2013 at 9:47 AM, Tom Stellard <[email protected]> wrote:
> From: Tom Stellard <[email protected]>
>
> ---
>  tests/cl/program/program-tester.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/cl/program/program-tester.c 
> b/tests/cl/program/program-tester.c
> index ea16c81..557dc4b 100644
> --- a/tests/cl/program/program-tester.c
> +++ b/tests/cl/program/program-tester.c
> @@ -1731,7 +1731,7 @@ test_kernel(const struct piglit_cl_program_test_config* 
> config,
>                 case TEST_ARG_VALUE:
>                         arg_set = piglit_cl_set_kernel_arg(kernel,
>                                                            test_arg.index,
> -                                                          
> test_arg.size_in_mem,
> +                                                          
> test_arg.vec_elements * piglit_cl_type_get_size(test_arg.cl_type),

This looks right to me.

--Aaron

>                                                            test_arg.value);
>                         break;
>                 case TEST_ARG_BUFFER: {
> --
> 1.7.11.4
>
> _______________________________________________
> Piglit mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/piglit
_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to