Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/nir/
Dnir_lower_locals_to_regs.c150 unsigned inner_array_size = 1; in get_deref_reg_src() local
157 inner_array_size; in get_deref_reg_src()
172 nir_imul(b, index, nir_imm_int(b, inner_array_size))); in get_deref_reg_src()
175 inner_array_size *= glsl_get_length(nir_deref_instr_parent(d)->type); in get_deref_reg_src()
/external/mesa3d/src/compiler/glsl/
Dlink_uniforms.cpp833 unsigned inner_array_size = MAX2(1, uniform->array_elements); in set_opaque_indices() local
850 index = inner_array_size + uniform->opaque[shader_type].index; in set_opaque_indices()
869 next_index += inner_array_size * this->record_array_count; in set_opaque_indices()
873 index = uniform->opaque[shader_type].index + inner_array_size; in set_opaque_indices()