HomeSort by: relevance | last modified time | path
    Searched refs:array_index (Results 1 - 25 of 93) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
lower_vector_derefs.cpp 80 deref->array_index->constant_expression_value(mem_ctx);
101 factory.make_temp(deref->array_index->type, "index_tmp");
102 factory.emit(assign(arr_index, deref->array_index));
106 ir_constant::zero(factory.mem_ctx, deref->array_index->type);
135 deref->array_index);
193 deref->array_index);
lower_buffer_access.cpp 352 ir_rvalue *array_index = deref_array->array_index; local
353 if (array_index->type->base_type == GLSL_TYPE_INT)
354 array_index = i2u(array_index);
357 array_index->constant_expression_value(mem_ctx, NULL);
362 mul(array_index,
lower_distance.cpp 220 * \param array_index Selects one of the vec4's in gl_ClipDistanceMESA
222 * array_index.
226 ir_rvalue *&array_index,
247 array_index = new(ctx) ir_constant(const_val / 4);
262 array_index = new(ctx) ir_expression(
358 ir_dereference_array(*new_var, array_ref->array_index);
381 ir_rvalue *array_index; local
383 this->create_indices(array_deref->array_index, array_index, swizzle_index);
387 new(mem_ctx) ir_dereference_array(lowered_vec8, array_index);
    [all...]
gl_nir_link_uniform_blocks.c 465 unsigned array_index,
478 block->Binding = var->data.binding + array_index;
508 block->linearized_array_index = array_index;
574 for (unsigned array_index = 0; array_index < buffer_count; array_index++) {
576 array_index, prog, shader->Stage);
ir_equals.cpp 98 if (!array_index->equals(other->array_index, ignore))
ir_set_program_inouts.cpp 354 if (try_mark_partial_variable(deref_var->var, ir->array_index))
360 inner_array->array_index->accept(this);
377 ir->array_index->accept(this);
383 if (try_mark_partial_variable(deref_var->var, ir->array_index))
opt_array_splitting.cpp 239 if (!ir->array_index->as_constant()) {
253 if (ir->array_index->as_dereference_array())
254 visit_enter(ir->array_index->as_dereference_array());
360 ir_constant *constant = deref_array->array_index->as_constant();
opt_function_inlining.cpp 115 if (deref->array_index->ir_type != ir_type_constant) {
120 index = new(ctx) ir_variable(deref->array_index->type, "saved_idx", ir_var_temporary);
124 deref->array_index);
127 deref->array_index = new(ctx) ir_dereference_variable(index);
lower_variable_index_to_cond_assign.cpp 163 ir->array_index->as_constant() == NULL) {
422 if (deref == NULL || deref->array_index->as_constant() ||
460 ir_variable *index = body.make_temp(orig_deref->array_index->type,
463 body.emit(assign(index, orig_deref->array_index));
465 orig_deref->array_index = deref(index).val;
  /xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
lower_vector_derefs.cpp 80 deref->array_index->constant_expression_value(mem_ctx);
101 factory.make_temp(deref->array_index->type, "index_tmp");
102 factory.emit(assign(arr_index, deref->array_index));
106 ir_constant::zero(factory.mem_ctx, deref->array_index->type);
135 deref->array_index);
177 deref->array_index);
lower_buffer_access.cpp 352 ir_rvalue *array_index = deref_array->array_index; local
353 if (array_index->type->base_type == GLSL_TYPE_INT)
354 array_index = i2u(array_index);
357 array_index->constant_expression_value(mem_ctx, NULL);
362 mul(array_index,
lower_distance.cpp 220 * \param array_index Selects one of the vec4's in gl_ClipDistanceMESA
222 * array_index.
226 ir_rvalue *&array_index,
247 array_index = new(ctx) ir_constant(const_val / 4);
262 array_index = new(ctx) ir_expression(
358 ir_dereference_array(*new_var, array_ref->array_index);
381 ir_rvalue *array_index; local
383 this->create_indices(array_deref->array_index, array_index, swizzle_index);
387 new(mem_ctx) ir_dereference_array(lowered_vec8, array_index);
    [all...]
ir_equals.cpp 98 if (!array_index->equals(other->array_index, ignore))
ir_set_program_inouts.cpp 354 if (try_mark_partial_variable(deref_var->var, ir->array_index))
360 inner_array->array_index->accept(this);
377 ir->array_index->accept(this);
383 if (try_mark_partial_variable(deref_var->var, ir->array_index))
opt_array_splitting.cpp 239 if (!ir->array_index->as_constant()) {
253 if (ir->array_index->as_dereference_array())
254 visit_enter(ir->array_index->as_dereference_array());
360 ir_constant *constant = deref_array->array_index->as_constant();
opt_function_inlining.cpp 115 if (deref->array_index->ir_type != ir_type_constant) {
120 index = new(ctx) ir_variable(deref->array_index->type, "saved_idx", ir_var_temporary);
124 deref->array_index);
127 deref->array_index = new(ctx) ir_dereference_variable(index);
  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
shader_query.cpp 44 unsigned array_index);
236 unsigned array_index = 0; local
239 &array_index);
244 return program_resource_location(res, array_index);
446 unsigned array_index = 0; local
449 &array_index);
454 return program_resource_location(res, array_index);
535 * Checks if array subscript is valid and if so sets array_index.
538 valid_array_index(const GLchar *name, unsigned *array_index)
547 if (array_index)
1118 unsigned array_index = 0; local
    [all...]
program_resource.c 156 unsigned array_index = 0; local
200 &array_index);
201 if (!res || array_index > 0)
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
shader_query.cpp 44 unsigned array_index);
201 unsigned array_index = 0; local
204 &array_index);
209 return program_resource_location(res, array_index);
414 unsigned array_index = 0; local
417 &array_index);
422 return program_resource_location(res, array_index);
503 * Checks if array subscript is valid and if so sets array_index.
506 valid_array_index(const GLchar *name, unsigned *array_index)
515 if (array_index)
908 unsigned array_index = 0; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
radv_nir_lower_ycbcr_textures.c 250 unsigned array_index = 0; local
255 array_index = nir_src_as_uint(deref->arr.index);
256 array_index = MIN2(array_index, binding->array_size - 1);
258 const struct radv_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index;
263 bool unnormalized_coordinates = immutable_samplers[4 * array_index + 0] & S_008F30_FORCE_UNNORMALIZED(1);
  /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/
v3dv_descriptor_set.c 31 * binding layout, and array_index, it returns the map region assigned to it
38 uint32_t array_index)
43 array_index * v3dv_X(device, descriptor_bo_size)(binding_layout->type);
85 uint32_t array_index = map->array_index[index]; local
86 assert(array_index < binding_layout->array_size);
91 binding_layout->dynamic_offset_index + array_index;
96 return &set->descriptors[binding_layout->descriptor_index + array_index];
131 uint32_t array_index = map->array_index[index] local
170 uint32_t array_index = map->array_index[index]; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/intel/vulkan/
anv_nir_lower_ycbcr_textures.c 235 unsigned array_index = 0; local
240 array_index = nir_src_as_uint(deref->arr.index);
241 array_index = MIN2(array_index, binding->array_size - 1);
243 const struct anv_sampler *sampler = binding->immutable_samplers[array_index];
  /xsrc/external/mit/MesaLib/dist/src/compiler/nir/
nir_lower_io_arrays_to_elements.c 38 nir_ssa_def **array_index)
50 *array_index = nir_ssa_for_src(b, (*p)->arr.index, 1);
133 nir_ssa_def *array_index = NULL; local
138 &array_index);
168 assert(array_index);
169 element_deref = nir_build_deref_array(b, element_deref, array_index);
  /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
anv_nir_apply_pipeline_layout.c 223 nir_ssa_def *array_index = nir_ssa_for_src(b, intrin->src[0], 1); local
225 array_index = nir_umin(b, array_index, nir_imm_int(b, array_size - 1));
227 return nir_iadd_imm(b, array_index, surface_index);
369 nir_ssa_def *array_index = nir_ssa_for_src(b, intrin->src[0], 1); local
371 array_index = nir_umin(b, array_index, nir_imm_int(b, array_size - 1));
427 index = nir_vec2(b, nir_iadd_imm(b, array_index, surface_index),
500 nir_ssa_def *desc_offset, *array_index; local
505 array_index = nir_umin(b, nir_channel(b, index, 1)
570 nir_ssa_def *desc_offset, *array_index; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
radv_nir_lower_ycbcr_textures.c 376 unsigned array_index = 0; local
381 array_index = nir_src_as_uint(deref->arr.index);
382 array_index = MIN2(array_index, binding->array_size - 1);
384 const struct radv_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index;

Completed in 27 milliseconds

1 2 3 4