nir: Remove function overload in control flow test
authorAaron Watry <awatry@gmail.com>
Tue, 29 Dec 2015 16:51:54 +0000 (10:51 -0600)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Dec 2015 17:42:14 +0000 (09:42 -0800)
Fixes make check.

Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/glsl/nir/tests/control_flow_tests.cpp

index b9f90e6..f142e44 100644 (file)
@@ -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);
 }