Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_clone.c134 nir_constant_clone(const nir_constant *c, nir_variable *nvar) in nir_constant_clone() argument
136 nir_constant *nc = ralloc(nvar, nir_constant); in nir_constant_clone()
140 nc->elements = ralloc_array(nvar, nir_constant *, c->num_elements); in nir_constant_clone()
142 nc->elements[i] = nir_constant_clone(c->elements[i], nvar); in nir_constant_clone()
154 nir_variable *nvar = rzalloc(shader, nir_variable); in nir_variable_clone() local
156 nvar->type = var->type; in nir_variable_clone()
157 nvar->name = ralloc_strdup(nvar, var->name); in nir_variable_clone()
158 nvar->data = var->data; in nir_variable_clone()
159 nvar->num_state_slots = var->num_state_slots; in nir_variable_clone()
161 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots); in nir_variable_clone()
[all …]
Dnir_lower_io_to_temporaries.c292 nir_variable *nvar = ralloc(state->shader, nir_variable); in create_shadow_temp() local
293 memcpy(nvar, var, sizeof *nvar); in create_shadow_temp()
294 nvar->data.cannot_coalesce = true; in create_shadow_temp()
300 ralloc_steal(nvar, nvar->name); in create_shadow_temp()
302 assert(nvar->constant_initializer == NULL && nvar->pointer_initializer == NULL); in create_shadow_temp()
306 temp->name = ralloc_asprintf(var, "%s@%s-temp", mode, nvar->name); in create_shadow_temp()
312 return nvar; in create_shadow_temp()
Dnir_inline_functions.c70 nir_variable *nvar = nir_variable_clone(deref->var, b->shader); in nir_inline_function_impl() local
71 nir_shader_add_variable(b->shader, nvar); in nir_inline_function_impl()
73 deref->var, nvar); in nir_inline_function_impl()
Dnir_serialize.c186 read_constant(read_ctx *ctx, nir_variable *nvar) in read_constant() argument
188 nir_constant *c = ralloc(nvar, nir_constant); in read_constant()
192 c->elements = ralloc_array(nvar, nir_constant *, c->num_elements); in read_constant()
194 c->elements[i] = read_constant(ctx, nvar); in read_constant()
/third_party/typescript/tests/baselines/reference/
DfindAllReferencesUmdModuleAsGlobalConst.baseline.jsonc22 "name": "module THREE\nvar THREE: typeof import(\"/node_modules/@types/three/index\")",
164 "name": "module THREE\nvar THREE: typeof import(\"/node_modules/@types/three/index\")",
302 "name": "module THREE\nvar THREE: typeof import(\"/node_modules/@types/three/index\")",
DreferencesIsAvailableThroughGlobalNoCrash.baseline.jsonc62 …"name": "namespace debug\nvar debug: debug.Debug & {\n debug: debug.Debug;\n default: debug.…