| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/ |
| H A D | builtin_functions.h | 60 udiv64(void *mem_ctx, builtin_available_predicate avail); 63 idiv64(void *mem_ctx, builtin_available_predicate avail); 66 umod64(void *mem_ctx, builtin_available_predicate avail); 69 imod64(void *mem_ctx, builtin_available_predicate avail); 72 umul64(void *mem_ctx, builtin_available_predicate avail); 75 sign64(void *mem_ctx, builtin_available_predicate avail); 78 udivmod64(void *mem_ctx, builtin_available_predicate avail);
|
| H A D | ir_clone.cpp | 31 ir_rvalue::clone(void *mem_ctx, struct hash_table *) const argument 34 return error_value(mem_ctx); 41 ir_variable::clone(void *mem_ctx, struct hash_table *ht) const argument 43 ir_variable *var = new(mem_ctx) ir_variable(this->type, this->name, 63 var->constant_value = this->constant_value->clone(mem_ctx, ht); 67 this->constant_initializer->clone(mem_ctx, ht); 78 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const argument 80 return new(mem_ctx) ir_swizzle(this->val->clone(mem_ctx, ht), this->mask); 84 ir_return::clone(void *mem_ctx, struc argument 95 clone(void * mem_ctx,struct hash_table * ht) const argument 106 clone(void * mem_ctx,struct hash_table * ht) const argument 112 clone(void * mem_ctx,struct hash_table * ht) const argument 120 clone(void * mem_ctx,struct hash_table * ht) const argument 136 clone(void * mem_ctx,struct hash_table * ht) const argument 148 clone(void * mem_ctx,struct hash_table * ht) const argument 164 clone(void * mem_ctx,struct hash_table * ht) const argument 178 clone(void * mem_ctx,struct hash_table * ht) const argument 193 clone(void * mem_ctx,struct hash_table * ht) const argument 201 clone(void * mem_ctx,struct hash_table * ht) const argument 211 clone(void * mem_ctx,struct hash_table * ht) const argument 259 clone(void * mem_ctx,struct hash_table * ht) const argument 275 clone(void * mem_ctx,struct hash_table * ht) const argument 300 clone(void * mem_ctx,struct hash_table * ht) const argument 317 clone_prototype(void * mem_ctx,struct hash_table * ht) const argument 339 clone(void * mem_ctx,struct hash_table * ht) const argument 426 clone_ir_list(void * mem_ctx,exec_list * out,const exec_list * in) argument [all...] |
| H A D | lower_discard_flow.cpp | 57 mem_ctx = ralloc_parent(discarded); 72 void *mem_ctx; member in class:__anon2b30c6710110::lower_discard_flow_visitor 91 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded); 96 ir->condition = new(mem_ctx) ir_dereference_variable(discarded); 98 rhs = new(mem_ctx) ir_constant(true); 100 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs); 120 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded); 121 ir_rvalue *rhs = new(mem_ctx) ir_constant(false); 122 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs); 131 ir_rvalue *if_condition = new(mem_ctx) ir_dereference_variabl 143 void *mem_ctx = ir; local in function:lower_discard_flow [all...] |
| H A D | lower_discard.cpp | 151 replace_discard(void *mem_ctx, ir_variable *var, ir_discard *ir) argument 157 condition = new(mem_ctx) ir_constant(true); 160 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(var), 176 void *mem_ctx = ralloc_parent(ir); local in function:lower_discard_visitor::visit_leave 178 ir_variable *temp = new(mem_ctx) ir_variable(glsl_type::bool_type, 182 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(temp), 183 new(mem_ctx) ir_constant(false)); 189 replace_discard(mem_ctx, tem [all...] |
| H A D | lower_shared_reference.cpp | 75 void insert_buffer_access(void *mem_ctx, ir_dereference *deref, 89 ir_call *shared_load(void *mem_ctx, const struct glsl_type *type, 91 ir_call *shared_store(void *mem_ctx, ir_rvalue *deref, ir_rvalue *offset, 138 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anon9d6f96a50110::lower_shared_reference_visitor::handle_rvalue 147 setup_buffer_access(mem_ctx, deref, 155 ir_variable *load_var = new(mem_ctx) ir_variable(type, 160 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, 166 deref = new(mem_ctx) ir_dereference_variable(load_var); 168 emit_access(mem_ctx, false, deref, load_offset, const_offset, row_major, 199 void *mem_ctx local in function:__anon9d6f96a50110::lower_shared_reference_visitor::handle_assignment 242 insert_buffer_access(void * mem_ctx,ir_dereference * deref,const glsl_type * type,ir_rvalue * offset,unsigned mask,int) argument 268 shared_store(void * mem_ctx,ir_rvalue * deref,ir_rvalue * offset,unsigned write_mask) argument 304 shared_load(void * mem_ctx,const struct glsl_type * type,ir_rvalue * offset) argument 366 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anon9d6f96a50110::lower_shared_reference_visitor::lower_shared_atomic_intrinsic [all...] |
| H A D | lower_ubo_reference.cpp | 62 void setup_for_load_or_store(void *mem_ctx, 71 ir_expression *ubo_load(void *mem_ctx, const struct glsl_type *type, 73 ir_call *ssbo_load(void *mem_ctx, const struct glsl_type *type, 79 void write_to_memory(void *mem_ctx, ir_dereference *deref, ir_variable *var, 81 ir_call *ssbo_store(void *mem_ctx, ir_rvalue *deref, ir_rvalue *offset, 92 void insert_buffer_access(void *mem_ctx, ir_dereference *deref, 104 ir_expression *emit_ssbo_get_buffer_size(void *mem_ctx); 130 interface_field_name(void *mem_ctx, char *base_name, ir_rvalue *d, argument 200 name_copy = ralloc_strdup(mem_ctx, base_name); 218 ir_constant *base_size = new(mem_ctx) 254 clamp_to_array_bounds(void * mem_ctx,ir_rvalue * index,const glsl_type * type) argument 274 setup_for_load_or_store(void * mem_ctx,ir_variable * var,ir_rvalue * deref,ir_rvalue ** offset,unsigned * const_offset,bool * row_major,const glsl_type ** matrix_type,enum glsl_interface_packing packing) argument 347 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anonf648b2340110::lower_ubo_reference_visitor::handle_rvalue 396 ubo_load(void * mem_ctx,const glsl_type * type,ir_rvalue * offset) argument 434 ssbo_store(void * mem_ctx,ir_rvalue * deref,ir_rvalue * offset,unsigned write_mask) argument 480 ssbo_load(void * mem_ctx,const struct glsl_type * type,ir_rvalue * offset) argument 522 insert_buffer_access(void * mem_ctx,ir_dereference * deref,const glsl_type * type,ir_rvalue * offset,unsigned mask,int channel) argument 559 write_to_memory(void * mem_ctx,ir_dereference * deref,ir_variable * var,ir_variable * write_var,unsigned write_mask) argument 671 emit_ssbo_get_buffer_size(void * mem_ctx) argument 745 void *mem_ctx = ralloc_parent(*rvalue); local in function:__anonf648b2340110::lower_ubo_reference_visitor::process_ssbo_unsized_array_length 811 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anonf648b2340110::lower_ubo_reference_visitor::check_for_ssbo_store 864 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anonf648b2340110::lower_ubo_reference_visitor::check_for_buffer_array_copy 912 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anonf648b2340110::lower_ubo_reference_visitor::check_for_buffer_struct_copy 984 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anonf648b2340110::lower_ubo_reference_visitor::lower_ssbo_atomic_intrinsic [all...] |
| H A D | lower_buffer_access.h | 45 insert_buffer_access(void *mem_ctx, ir_dereference *deref, 49 void emit_access(void *mem_ctx, bool is_write, ir_dereference *deref, 57 void setup_buffer_access(void *mem_ctx, ir_rvalue *deref,
|
| H A D | link_uniform_block_active_visitor.h | 63 link_uniform_block_active_visitor(void *mem_ctx, struct hash_table *ht, argument 65 : success(true), prog(prog), ht(ht), mem_ctx(mem_ctx) 79 void *mem_ctx; member in class:link_uniform_block_active_visitor
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/ |
| H A D | builtin_functions.h | 52 udiv64(void *mem_ctx, builtin_available_predicate avail); 55 idiv64(void *mem_ctx, builtin_available_predicate avail); 58 umod64(void *mem_ctx, builtin_available_predicate avail); 61 imod64(void *mem_ctx, builtin_available_predicate avail); 64 umul64(void *mem_ctx, builtin_available_predicate avail); 67 sign64(void *mem_ctx, builtin_available_predicate avail); 70 udivmod64(void *mem_ctx, builtin_available_predicate avail);
|
| H A D | lower_discard_flow.cpp | 57 mem_ctx = ralloc_parent(discarded); 72 void *mem_ctx; member in class:__anonf7a5d69e0110::lower_discard_flow_visitor 91 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded); 96 ir->condition = new(mem_ctx) ir_dereference_variable(discarded); 98 rhs = new(mem_ctx) ir_constant(true); 100 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs); 120 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded); 121 ir_rvalue *rhs = new(mem_ctx) ir_constant(false); 122 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs); 131 ir_rvalue *if_condition = new(mem_ctx) ir_dereference_variabl 143 void *mem_ctx = ir; local in function:lower_discard_flow [all...] |
| H A D | ir_clone.cpp | 31 ir_rvalue::clone(void *mem_ctx, struct hash_table *) const argument 34 return error_value(mem_ctx); 41 ir_variable::clone(void *mem_ctx, struct hash_table *ht) const argument 43 ir_variable *var = new(mem_ctx) ir_variable(this->type, this->name, 63 var->constant_value = this->constant_value->clone(mem_ctx, ht); 67 this->constant_initializer->clone(mem_ctx, ht); 78 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const argument 80 return new(mem_ctx) ir_swizzle(this->val->clone(mem_ctx, ht), this->mask); 84 ir_return::clone(void *mem_ctx, struc argument 95 clone(void * mem_ctx,struct hash_table * ht) const argument 106 clone(void * mem_ctx,struct hash_table * ht) const argument 114 clone(void * mem_ctx,struct hash_table * ht) const argument 130 clone(void * mem_ctx,struct hash_table * ht) const argument 142 clone(void * mem_ctx,struct hash_table * ht) const argument 158 clone(void * mem_ctx,struct hash_table * ht) const argument 172 clone(void * mem_ctx,struct hash_table * ht) const argument 187 clone(void * mem_ctx,struct hash_table * ht) const argument 195 clone(void * mem_ctx,struct hash_table * ht) const argument 205 clone(void * mem_ctx,struct hash_table * ht) const argument 253 clone(void * mem_ctx,struct hash_table * ht) const argument 269 clone(void * mem_ctx,struct hash_table * ht) const argument 294 clone(void * mem_ctx,struct hash_table * ht) const argument 311 clone_prototype(void * mem_ctx,struct hash_table * ht) const argument 333 clone(void * mem_ctx,struct hash_table * ht) const argument 420 clone_ir_list(void * mem_ctx,exec_list * out,const exec_list * in) argument [all...] |
| H A D | lower_discard.cpp | 151 replace_discard(void *mem_ctx, ir_variable *var, ir_discard *ir) argument 157 condition = new(mem_ctx) ir_constant(true); 160 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(var), 176 void *mem_ctx = ralloc_parent(ir); local in function:lower_discard_visitor::visit_leave 178 ir_variable *temp = new(mem_ctx) ir_variable(glsl_type::bool_type, 182 new(mem_ctx) ir_assignment(new(mem_ctx) ir_dereference_variable(temp), 183 new(mem_ctx) ir_constant(false)); 189 replace_discard(mem_ctx, tem [all...] |
| H A D | lower_texture_projection.cpp | 62 void *mem_ctx = ralloc_parent(ir); local in function:lower_texture_projection_visitor::visit_leave 64 ir_variable *var = new(mem_ctx) ir_variable(ir->projector->type, 67 ir_dereference *deref = new(mem_ctx) ir_dereference_variable(var); 68 ir_expression *expr = new(mem_ctx) ir_expression(ir_unop_rcp, 72 ir_assignment *assign = new(mem_ctx) ir_assignment(deref, expr); 75 deref = new(mem_ctx) ir_dereference_variable(var); 76 ir->coordinate = new(mem_ctx) ir_expression(ir_binop_mul, 82 deref = new(mem_ctx) ir_dereference_variable(var); 83 ir->shadow_comparator = new(mem_ctx) ir_expression(ir_binop_mul,
|
| H A D | lower_shared_reference.cpp | 73 void insert_buffer_access(void *mem_ctx, ir_dereference *deref, 87 ir_call *shared_load(void *mem_ctx, const struct glsl_type *type, 89 ir_call *shared_store(void *mem_ctx, ir_rvalue *deref, ir_rvalue *offset, 136 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anonc11af5520110::lower_shared_reference_visitor::handle_rvalue 145 setup_buffer_access(mem_ctx, deref, 153 ir_variable *load_var = new(mem_ctx) ir_variable(type, 158 ir_variable *load_offset = new(mem_ctx) ir_variable(glsl_type::uint_type, 164 deref = new(mem_ctx) ir_dereference_variable(load_var); 166 emit_access(mem_ctx, false, deref, load_offset, const_offset, row_major, 197 void *mem_ctx local in function:__anonc11af5520110::lower_shared_reference_visitor::handle_assignment 240 insert_buffer_access(void * mem_ctx,ir_dereference * deref,const glsl_type * type,ir_rvalue * offset,unsigned mask,int) argument 266 shared_store(void * mem_ctx,ir_rvalue * deref,ir_rvalue * offset,unsigned write_mask) argument 302 shared_load(void * mem_ctx,const struct glsl_type * type,ir_rvalue * offset) argument 364 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anonc11af5520110::lower_shared_reference_visitor::lower_shared_atomic_intrinsic [all...] |
| H A D | lower_ubo_reference.cpp | 60 void setup_for_load_or_store(void *mem_ctx, 69 ir_expression *ubo_load(void *mem_ctx, const struct glsl_type *type, 71 ir_call *ssbo_load(void *mem_ctx, const struct glsl_type *type, 77 void write_to_memory(void *mem_ctx, ir_dereference *deref, ir_variable *var, 79 ir_call *ssbo_store(void *mem_ctx, ir_rvalue *deref, ir_rvalue *offset, 90 void insert_buffer_access(void *mem_ctx, ir_dereference *deref, 102 ir_expression *emit_ssbo_get_buffer_size(void *mem_ctx); 128 interface_field_name(void *mem_ctx, char *base_name, ir_rvalue *d, argument 198 name_copy = ralloc_strdup(mem_ctx, base_name); 216 ir_constant *base_size = new(mem_ctx) 252 clamp_to_array_bounds(void * mem_ctx,ir_rvalue * index,const glsl_type * type) argument 272 setup_for_load_or_store(void * mem_ctx,ir_variable * var,ir_rvalue * deref,ir_rvalue ** offset,unsigned * const_offset,bool * row_major,const glsl_type ** matrix_type,enum glsl_interface_packing packing) argument 345 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anon515fc8010110::lower_ubo_reference_visitor::handle_rvalue 394 ubo_load(void * mem_ctx,const glsl_type * type,ir_rvalue * offset) argument 432 ssbo_store(void * mem_ctx,ir_rvalue * deref,ir_rvalue * offset,unsigned write_mask) argument 478 ssbo_load(void * mem_ctx,const struct glsl_type * type,ir_rvalue * offset) argument 520 insert_buffer_access(void * mem_ctx,ir_dereference * deref,const glsl_type * type,ir_rvalue * offset,unsigned mask,int channel) argument 557 write_to_memory(void * mem_ctx,ir_dereference * deref,ir_variable * var,ir_variable * write_var,unsigned write_mask) argument 669 emit_ssbo_get_buffer_size(void * mem_ctx) argument 743 void *mem_ctx = ralloc_parent(*rvalue); local in function:__anon515fc8010110::lower_ubo_reference_visitor::process_ssbo_unsized_array_length 809 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anon515fc8010110::lower_ubo_reference_visitor::check_for_ssbo_store 862 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anon515fc8010110::lower_ubo_reference_visitor::check_for_buffer_array_copy 910 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anon515fc8010110::lower_ubo_reference_visitor::check_for_buffer_struct_copy 982 void *mem_ctx = ralloc_parent(shader->ir); local in function:__anon515fc8010110::lower_ubo_reference_visitor::lower_ssbo_atomic_intrinsic [all...] |
| H A D | lower_buffer_access.h | 45 insert_buffer_access(void *mem_ctx, ir_dereference *deref, 49 void emit_access(void *mem_ctx, bool is_write, ir_dereference *deref, 57 void setup_buffer_access(void *mem_ctx, ir_rvalue *deref,
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/tests/ |
| H A D | set_uniform_initializer_tests.cpp | 33 set_uniform_initializer(void *mem_ctx, gl_shader_program *prog, 65 void *mem_ctx; member in class:set_uniform_initializer 73 this->mem_ctx = ralloc_context(NULL); 86 ralloc_free(this->mem_ctx); 87 this->mem_ctx = NULL; 164 non_array_test(void *mem_ctx, struct gl_shader_program *prog, argument 176 generate_data(mem_ctx, base_type, columns, rows, val); 178 linker::set_uniform_initializer(mem_ctx, prog, name, type, val, 0xF00F); 186 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 1); 191 non_array_test(mem_ctx, pro 310 array_test(void * mem_ctx,struct gl_shader_program * prog,unsigned actual_index,const char * name,enum glsl_base_type base_type,unsigned columns,unsigned rows,unsigned array_size,unsigned excess_data_size) argument [all...] |
| H A D | uniform_initializer_utils.h | 37 generate_data(void *mem_ctx, enum glsl_base_type base_type, 42 generate_array_data(void *mem_ctx, enum glsl_base_type base_type,
|
| H A D | varyings_test.cpp | 39 populate_consumer_input_sets(void *mem_ctx, exec_list *ir, 45 get_matching_input(void *mem_ctx, 59 return ralloc_asprintf(mem_ctx, 65 void *mem_ctx; member in class:link_varyings 79 this->mem_ctx = ralloc_context(NULL); 106 ralloc_free(this->mem_ctx); 107 this->mem_ctx = NULL; 120 new(mem_ctx) ir_variable(glsl_type::vec(4), 127 linker::populate_consumer_input_sets(mem_ctx, 145 new(mem_ctx) ir_variabl [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/tests/ |
| H A D | set_uniform_initializer_tests.cpp | 33 set_uniform_initializer(void *mem_ctx, gl_shader_program *prog, 65 void *mem_ctx; member in class:set_uniform_initializer 71 this->mem_ctx = ralloc_context(NULL); 84 ralloc_free(this->mem_ctx); 85 this->mem_ctx = NULL; 157 non_array_test(void *mem_ctx, struct gl_shader_program *prog, argument 169 generate_data(mem_ctx, base_type, columns, rows, val); 171 linker::set_uniform_initializer(mem_ctx, prog, name, type, val, 0xF00F); 179 non_array_test(mem_ctx, prog, actual_index, name, GLSL_TYPE_INT, 1, 1); 184 non_array_test(mem_ctx, pro 303 array_test(void * mem_ctx,struct gl_shader_program * prog,unsigned actual_index,const char * name,enum glsl_base_type base_type,unsigned columns,unsigned rows,unsigned array_size,unsigned excess_data_size) argument [all...] |
| H A D | uniform_initializer_utils.h | 37 generate_data(void *mem_ctx, enum glsl_base_type base_type, 42 generate_array_data(void *mem_ctx, enum glsl_base_type base_type,
|
| H A D | varyings_test.cpp | 39 populate_consumer_input_sets(void *mem_ctx, exec_list *ir, 45 get_matching_input(void *mem_ctx, 61 return ralloc_asprintf(mem_ctx, 67 void *mem_ctx; member in class:link_varyings 93 this->mem_ctx = ralloc_context(NULL); 108 ralloc_free(this->mem_ctx); 109 this->mem_ctx = NULL; 120 new(mem_ctx) ir_variable(glsl_type::vec(4), 127 linker::populate_consumer_input_sets(mem_ctx, 145 new(mem_ctx) ir_variabl [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_glsl_to_tgsi_temprename.h | 44 * @param[in] mem_ctx a memory context that can be used with the ralloc_* 63 get_temp_registers_required_live_ranges(void *mem_ctx, exec_list *instructions, 68 * @param[in] mem_ctx a memory context that can be used with the ralloc_* 77 void get_temp_registers_remapping(void *mem_ctx, int ntemps,
|
| /xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/ |
| H A D | st_glsl_to_tgsi_temprename.h | 44 * @param[in] mem_ctx a memory context that can be used with the ralloc_* 63 get_temp_registers_required_live_ranges(void *mem_ctx, exec_list *instructions, 68 * @param[in] mem_ctx a memory context that can be used with the ralloc_* 77 void get_temp_registers_remapping(void *mem_ctx, int ntemps,
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_serialize.h | 35 nir_shader *nir_deserialize(void *mem_ctx,
|