Home
last modified time | relevance | path

Searched refs:ArrayID (Results 1 – 23 of 23) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c161 if (src->Register.Indirect && src->Indirect.ArrayID) in scan_src_operand()
162 input = info->input_array_first[src->Indirect.ArrayID]; in scan_src_operand()
226 if (src->Register.Indirect && src->Indirect.ArrayID) in scan_src_operand()
227 input = info->output_array_first[src->Indirect.ArrayID]; in scan_src_operand()
406 if (src0->Register.Indirect && src0->Indirect.ArrayID) in scan_instruction()
407 input = info->input_array_first[src0->Indirect.ArrayID]; in scan_instruction()
570 unsigned array_id = fulldecl->Array.ArrayID; in scan_declaration()
925 decl->Array.ArrayID > 0 && decl->Array.ArrayID <= max_array_id) { in tgsi_scan_arrays()
926 struct tgsi_array_info *array = &arrays[decl->Array.ArrayID - 1]; in tgsi_scan_arrays()
943 if (dst->Indirect.ArrayID > 0 && in tgsi_scan_arrays()
[all …]
Dtgsi_ureg.h66 unsigned ArrayID : 10; /* UINT */ member
90 unsigned ArrayID : 10; /* UINT */ member
1016 dst.ArrayID = array_id; in ureg_dst_array_register()
1047 dst.ArrayID = src.ArrayID; in ureg_dst()
1077 src.ArrayID = array_id; in ureg_src_array_register()
1112 src.ArrayID = dst.ArrayID; in ureg_src()
1138 dst.ArrayID = 0; in ureg_dst_undef()
1166 src.ArrayID = 0; in ureg_src_undef()
Dtgsi_dump.c130 if (src->DimIndirect.ArrayID) { in _dump_register_src()
132 SID( src->DimIndirect.ArrayID ); in _dump_register_src()
154 if (src->Indirect.ArrayID) { in _dump_register_src()
156 SID( src->Indirect.ArrayID ); in _dump_register_src()
187 if (dst->DimIndirect.ArrayID) { in _dump_register_dst()
189 SID( dst->DimIndirect.ArrayID ); in _dump_register_dst()
211 if (dst->Indirect.ArrayID) { in _dump_register_dst()
213 SID( dst->Indirect.ArrayID ); in _dump_register_dst()
350 SID(decl->Array.ArrayID); in iter_declaration()
Dtgsi_ureg.c684 dst.ArrayID = ureg->nr_array_temps; in ureg_DECL_array_temporary()
1135 out[n].ind.ArrayID = 0; in ureg_emit_src()
1137 out[n].ind.ArrayID = src.ArrayID; in ureg_emit_src()
1155 out[n].ind.ArrayID = 0; in ureg_emit_src()
1157 out[n].ind.ArrayID = src.ArrayID; in ureg_emit_src()
1199 out[n].ind.ArrayID = 0; in ureg_emit_dst()
1201 out[n].ind.ArrayID = dst.ArrayID; in ureg_emit_dst()
1219 out[n].ind.ArrayID = 0; in ureg_emit_dst()
1221 out[n].ind.ArrayID = dst.ArrayID; in ureg_emit_dst()
1536 out[3].array.ArrayID = array_id; in emit_decl_semantic()
[all …]
Dtgsi_build.c366 a.ArrayID = 0; in tgsi_default_declaration_array()
380 da.ArrayID = arrayid; in tgsi_build_declaration_array()
538 full_decl->Array.ArrayID, in tgsi_build_full_declaration()
904 ind_register.ArrayID = 0; in tgsi_default_ind_register()
927 ind_register.ArrayID = arrayid; in tgsi_build_ind_register()
1187 reg->Indirect.ArrayID, in tgsi_build_full_instruction()
1220 reg->DimIndirect.ArrayID, in tgsi_build_full_instruction()
1262 reg->Indirect.ArrayID, in tgsi_build_full_instruction()
1295 reg->DimIndirect.ArrayID, in tgsi_build_full_instruction()
Dtgsi_text.c840 dst->DimIndirect.ArrayID = bracket[0].ind_array; in parse_dst_operand()
851 dst->Indirect.ArrayID = bracket[0].ind_array; in parse_dst_operand()
933 src->DimIndirect.ArrayID = bracket[0].ind_array; in parse_src_operand()
943 src->Indirect.ArrayID = bracket[0].ind_array; in parse_src_operand()
1346 decl.Array.ArrayID = arrayid; in parse_declaration()
/external/virglrenderer/src/gallium/auxiliary/tgsi/
Dtgsi_dump.c126 if (src->DimIndirect.ArrayID) { in _dump_register_src()
128 SID( src->DimIndirect.ArrayID ); in _dump_register_src()
150 if (src->Indirect.ArrayID) { in _dump_register_src()
152 SID( src->Indirect.ArrayID ); in _dump_register_src()
183 if (dst->DimIndirect.ArrayID) { in _dump_register_dst()
185 SID( dst->DimIndirect.ArrayID ); in _dump_register_dst()
207 if (dst->Indirect.ArrayID) { in _dump_register_dst()
209 SID( dst->Indirect.ArrayID ); in _dump_register_dst()
332 SID(decl->Array.ArrayID); in iter_declaration()
Dtgsi_ureg.h65 unsigned ArrayID : 10; /* UINT */ member
89 unsigned ArrayID : 10; /* UINT */ member
1072 dst.ArrayID = src.ArrayID; in ureg_dst()
1101 src.ArrayID = 0; in ureg_src_register()
1129 src.ArrayID = dst.ArrayID; in ureg_src()
1149 dst.ArrayID = 0; in ureg_dst_undef()
1177 src.ArrayID = 0; in ureg_src_undef()
Dtgsi_build.c356 a.ArrayID = 0; in tgsi_default_declaration_array()
370 da.ArrayID = arrayid; in tgsi_build_declaration_array()
527 full_decl->Array.ArrayID, in tgsi_build_full_declaration()
886 ind_register.ArrayID = 0; in tgsi_default_ind_register()
909 ind_register.ArrayID = arrayid; in tgsi_build_ind_register()
1158 reg->Indirect.ArrayID, in tgsi_build_full_instruction()
1191 reg->DimIndirect.ArrayID, in tgsi_build_full_instruction()
1233 reg->Indirect.ArrayID, in tgsi_build_full_instruction()
1266 reg->DimIndirect.ArrayID, in tgsi_build_full_instruction()
Dtgsi_ureg.c264 dst.ArrayID = 0; in ureg_dst_register()
555 dst.ArrayID = ureg->nr_array_temps; in ureg_DECL_array_temporary()
842 out[n].ind.ArrayID = src.ArrayID; in ureg_emit_src()
858 out[n].ind.ArrayID = src.ArrayID; in ureg_emit_src()
900 out[n].ind.ArrayID = dst.ArrayID; in ureg_emit_dst()
1229 out[2].array.ArrayID = arrayid; in emit_decl_temps()
Dtgsi_scan.c125 if (src0->Register.Indirect && src0->Indirect.ArrayID) in tgsi_scan_shader()
126 input = info->input_array_first[src0->Indirect.ArrayID]; in tgsi_scan_shader()
245 unsigned array_id = fulldecl->Array.ArrayID; in tgsi_scan_shader()
Dtgsi_text.c827 dst->DimIndirect.ArrayID = bracket[0].ind_array; in parse_dst_operand()
838 dst->Indirect.ArrayID = bracket[0].ind_array; in parse_dst_operand()
920 src->DimIndirect.ArrayID = bracket[0].ind_array; in parse_src_operand()
930 src->Indirect.ArrayID = bracket[0].ind_array; in parse_src_operand()
1321 decl.Array.ArrayID = arrayid; in parse_declaration()
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h239 unsigned ArrayID : 10; member
720 unsigned ArrayID : 10; /* UINT */ member
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h251 unsigned ArrayID : 10; member
761 unsigned ArrayID : 10; /* UINT */ member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c253 if (reg && reg->ArrayID > 0 && reg->ArrayID <= num_arrays) in get_temp_array_id()
254 return reg->ArrayID; in get_temp_array_id()
668 unsigned id = decl->Array.ArrayID - 1; in emit_declaration()
Dsi_shader.c922 if (reg.Indirect.ArrayID) in get_dw_address()
923 input_index = array_first[reg.Indirect.ArrayID]; in get_dw_address()
1067 if (reg.Indirect.ArrayID) in get_tcs_tes_buffer_address_from_reg()
1068 param_base = array_first[reg.Indirect.ArrayID]; in get_tcs_tes_buffer_address_from_reg()
4097 unsigned array_id = input->Indirect.ArrayID; in build_interp_intrinsic()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c255 var->name = ralloc_asprintf(var, "arr_%d", decl->Array.ArrayID); in ttn_emit_declaration()
326 (decl->Array.ArrayID != 0)); in ttn_emit_declaration()
/external/mesa3d/src/gallium/docs/source/
Dtgsi.rst2948 Declarations can optional have an ArrayID attribute which can be referred by
2949 indirect addressing operands. An ArrayID of zero is reserved and treated as
2950 if no ArrayID is specified.
2953 an ArrayID only the registers in this declaration are guaranteed to be
2958 If no ArrayID is specified with an indirect addressing operand the whole
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp104 return fsr->Indirect.ArrayID; in getArrayId()
176 return fdr->Indirect.ArrayID; in getArrayId()
1324 const int arrayId = decl->Array.ArrayID; in scanDeclaration()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp5579 dst.ArrayID = array_id; in dst_register()
5711 src.ArrayID = src_reg->array_id; in translate_src()
6326 t->inputs[slot + j].ArrayID = 0; in st_translate_program()
6380 t->outputs[slot + j].ArrayID = 0; in st_translate_program()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c974 if (d->Array.ArrayID) { in tgsi_declaration()
997 ctx->shader->atomics[i].array_id = d->Array.ArrayID; in tgsi_declaration()
1613 unsigned first = ctx->info.input_array_first[src->Indirect.ArrayID]; in fetch_gs_input()
1773 if (reg.Indirect.ArrayID) in r600_get_byte_address()
1774 first = array_first[reg.Indirect.ArrayID]; in r600_get_byte_address()
7895 if (src->Indirect.ArrayID == ctx->shader->atomics[i].array_id) in find_hw_atomic_counter()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c2241 const unsigned arrayID = MIN2(decl->Array.ArrayID, MAX_TEMP_ARRAYS); in emit_vgpu10_declaration()
/external/virglrenderer/src/
Dvrend_shader.c1151 decl->Array.ArrayID)) in iter_declaration()