/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_const_arrays_to_uniforms.c | 55 set_const_initialiser(nir_deref_instr **p, nir_constant *top_level_init, in set_const_initialiser() 60 nir_constant *ret = top_level_init; in set_const_initialiser() 97 static nir_constant * 100 nir_constant *ret = rzalloc(mem_ctx, nir_constant); in rebuild_const_array_initialiser() 104 ret->elements = ralloc_array(mem_ctx, nir_constant *, ret->num_elements); in rebuild_const_array_initialiser() 107 ret->elements[i] = rzalloc(mem_ctx, nir_constant); in rebuild_const_array_initialiser() 115 ret->elements = ralloc_array(mem_ctx, nir_constant *, ret->num_elements); in rebuild_const_array_initialiser() 169 nir_constant *const_init = rebuild_const_array_initialiser(var->type, uni); in lower_const_array_to_uniform()
|
D | nir_clone.c | 133 nir_constant * 134 nir_constant_clone(const nir_constant *c, nir_variable *nvar) in nir_constant_clone() 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()
|
D | nir_lower_variable_initializers.c | 28 build_constant_load(nir_builder *b, nir_deref_instr *deref, nir_constant *c) in build_constant_load()
|
D | nir_opt_constant_folding.c | 129 nir_constant *c = var->constant_initializer; in const_value_for_deref()
|
D | nir_serialize.c | 177 write_constant(write_ctx *ctx, const nir_constant *c) in write_constant() 185 static nir_constant * 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()
|
D | nir.h | 354 typedef struct nir_constant { struct 370 struct nir_constant **elements; argument 371 } nir_constant; typedef 745 nir_constant *constant_initializer; 4333 nir_constant *nir_constant_clone(const nir_constant *c, nir_variable *var);
|
D | nir_print.c | 409 print_constant(nir_constant *c, const struct glsl_type *type, print_state *state) in print_constant()
|
D | nir_validate.c | 1471 validate_constant(nir_constant *c, const struct glsl_type *type, in validate_constant()
|
D | nir_lower_io.c | 2540 const nir_constant *c, const struct glsl_type *type) in write_constant()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | gl_nir_link_uniform_initializers.c | 114 const nir_constant *val, in copy_constant_to_storage() 190 const nir_constant *val) in set_uniform_initializer()
|
D | glsl_to_nir.cpp | 108 nir_constant *constant_copy(ir_constant *ir, void *mem_ctx); 316 nir_constant * 322 nir_constant *ret = rzalloc(mem_ctx, nir_constant); in constant_copy() 368 ret->elements = ralloc_array(mem_ctx, nir_constant *, cols); in constant_copy() 371 nir_constant *col_const = rzalloc(mem_ctx, nir_constant); in constant_copy() 444 ret->elements = ralloc_array(mem_ctx, nir_constant *, in constant_copy()
|
/third_party/mesa3d/src/compiler/spirv/ |
D | vtn_private.h | 620 nir_constant *constant; 761 vtn_const_ssa_value(struct vtn_builder *b, nir_constant *constant,
|
D | spirv_to_nir.c | 229 vtn_const_ssa_value(struct vtn_builder *b, nir_constant *constant, in vtn_const_ssa_value() 1870 static nir_constant * 1873 nir_constant *c = rzalloc(b, nir_constant); in vtn_null_constant() 1905 c->elements = ralloc_array(b, nir_constant *, c->num_elements); in vtn_null_constant() 1914 c->elements = ralloc_array(b, nir_constant *, c->num_elements); in vtn_null_constant() 1965 val->constant = rzalloc(b, nir_constant); in vtn_handle_constant() 2024 nir_constant **elems = ralloc_array(b, nir_constant *, elem_count); in vtn_handle_constant() 2124 struct nir_constant **c; in vtn_handle_constant()
|
D | vtn_opencl.c | 747 nir_constant *c = deref->var->constant_initializer; in vtn_add_printf_string()
|
/third_party/mesa3d/src/microsoft/clc/ |
D | clc_compiler.c | 506 copy_const_initializer(const nir_constant *constant, const struct glsl_type *type, in copy_const_initializer()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | nir_to_dxil.c | 1090 const struct nir_constant *c, in var_fill_const_array_with_vector_or_scalar() 1126 var_fill_const_array(struct ntd_context *ctx, const struct nir_constant *c, in var_fill_const_array()
|