mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
nir: Remove function overload in control flow test
Fixes make check. Signed-off-by: Aaron Watry <awatry@gmail.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
This commit is contained in:
parent
7b8db37abb
commit
70d8dbc9a1
1 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue