Home
last modified time | relevance | path

Searched refs:nfxn (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_clone.c714 nir_function *nfxn = nir_function_create(ns, fxn->name); in clone_function() local
717 add_remap(state, nfxn, fxn); in clone_function()
719 nfxn->num_params = fxn->num_params; in clone_function()
720 nfxn->params = ralloc_array(state->ns, nir_parameter, fxn->num_params); in clone_function()
721 memcpy(nfxn->params, fxn->params, sizeof(nir_parameter) * fxn->num_params); in clone_function()
723 nfxn->return_type = fxn->return_type; in clone_function()
731 return nfxn; in clone_function()
760 nir_function *nfxn = remap_global(&state, fxn); in nir_shader_clone() local
761 nfxn->impl = clone_function_impl(&state, fxn->impl); in nir_shader_clone()
762 nfxn->impl->function = nfxn; in nir_shader_clone()