diff options
author | Aaron Watry <[email protected]> | 2015-12-29 10:51:54 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-29 09:42:14 -0800 |
commit | 70d8dbc9a116c32bb15ef333f5b9db4d13201b4b (patch) | |
tree | 836cbb29491ed122229b4899ed83d7dee2bd87f9 | |
parent | 7b8db37abb1b7f08c43f20380a370766ae7923ae (diff) |
nir: Remove function overload in control flow test
Fixes make check.
Signed-off-by: Aaron Watry <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
-rw-r--r-- | src/glsl/nir/tests/control_flow_tests.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/nir/tests/control_flow_tests.cpp b/src/glsl/nir/tests/control_flow_tests.cpp index b9f90e66d1d..f142e443400 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); } |