[Mesa-dev] [PATCH] nir: Remove function overload in control flow test

Jason Ekstrand jason at jlekstrand.net
Tue Dec 29 09:43:53 PST 2015


On Tue, Dec 29, 2015 at 8:51 AM, Aaron Watry <awatry at gmail.com> wrote:

> Fixes make check.
>

Thanks!

Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>

I went ahead and pushed it.


>
> CC: Jason Ekstrand <jason.ekstrand at intel.com>
> Signed-off-by: Aaron Watry <awatry at gmail.com>
> ---
>  src/glsl/nir/tests/control_flow_tests.cpp | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/src/glsl/nir/tests/control_flow_tests.cpp
> b/src/glsl/nir/tests/control_flow_tests.cpp
> index b9f90e6..f142e44 100644
> --- a/src/glsl/nir/tests/control_flow_tests.cpp
> +++ b/src/glsl/nir/tests/control_flow_tests.cpp
> @@ -39,8 +39,7 @@ nir_cf_test::nir_cf_test()
>     static const nir_shader_compiler_options options = { };
>     shader = nir_shader_create(NULL, MESA_SHADER_VERTEX, &options);
>     nir_function *func = nir_function_create(shader, "main");
> -   nir_function_overload *overload = nir_function_overload_create(func);
> -   impl = nir_function_impl_create(overload);
> +   impl = nir_function_impl_create(func);
>
>     nir_builder_init(&b, impl);
>  }
> --
> 2.5.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151229/2fc8d9df/attachment.html>


More information about the mesa-dev mailing list