Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c162 if (src->Register.Indirect && src->Indirect.ArrayID) in scan_src_operand()
163 input = info->input_array_first[src->Indirect.ArrayID]; in scan_src_operand()
227 if (src->Register.Indirect && src->Indirect.ArrayID) in scan_src_operand()
228 input = info->output_array_first[src->Indirect.ArrayID]; in scan_src_operand()
440 if (src0->Register.Indirect && src0->Indirect.ArrayID) in scan_instruction()
441 input = info->input_array_first[src0->Indirect.ArrayID]; in scan_instruction()
612 unsigned array_id = fulldecl->Array.ArrayID; in scan_declaration()
974 decl->Array.ArrayID > 0 && decl->Array.ArrayID <= max_array_id) { in tgsi_scan_arrays()
975 struct tgsi_array_info *array = &arrays[decl->Array.ArrayID - 1]; in tgsi_scan_arrays()
992 if (dst->Indirect.ArrayID > 0 && in tgsi_scan_arrays()
[all …]
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.h69 unsigned ArrayID : 10; /* UINT */ member
94 unsigned ArrayID : 10; /* UINT */ member
1050 dst.ArrayID = array_id; in ureg_dst_array_register()
1082 dst.ArrayID = src.ArrayID; in ureg_dst()
1113 src.ArrayID = array_id; in ureg_src_array_register()
1148 src.ArrayID = dst.ArrayID; in ureg_src()
1174 dst.ArrayID = 0; in ureg_dst_undef()
1203 src.ArrayID = 0; in ureg_src_undef()
Dtgsi_build.c367 a.ArrayID = 0; in tgsi_default_declaration_array()
381 da.ArrayID = arrayid; in tgsi_build_declaration_array()
539 full_decl->Array.ArrayID, in tgsi_build_full_declaration()
902 ind_register.ArrayID = 0; in tgsi_default_ind_register()
925 ind_register.ArrayID = arrayid; in tgsi_build_ind_register()
1175 reg->Indirect.ArrayID, in tgsi_build_full_instruction()
1208 reg->DimIndirect.ArrayID, in tgsi_build_full_instruction()
1250 reg->Indirect.ArrayID, in tgsi_build_full_instruction()
1283 reg->DimIndirect.ArrayID, in tgsi_build_full_instruction()
Dtgsi_ureg.c695 dst.ArrayID = ureg->nr_array_temps; in ureg_DECL_array_temporary()
1145 out[n].ind.ArrayID = 0; in ureg_emit_src()
1147 out[n].ind.ArrayID = src.ArrayID; in ureg_emit_src()
1165 out[n].ind.ArrayID = 0; in ureg_emit_src()
1167 out[n].ind.ArrayID = src.ArrayID; in ureg_emit_src()
1209 out[n].ind.ArrayID = 0; in ureg_emit_dst()
1211 out[n].ind.ArrayID = dst.ArrayID; in ureg_emit_dst()
1229 out[n].ind.ArrayID = 0; in ureg_emit_dst()
1231 out[n].ind.ArrayID = dst.ArrayID; in ureg_emit_dst()
1548 out[3].array.ArrayID = array_id; in emit_decl_semantic()
[all …]
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
1079 dst.ArrayID = src.ArrayID; in ureg_dst()
1108 src.ArrayID = 0; in ureg_src_register()
1136 src.ArrayID = dst.ArrayID; in ureg_src()
1156 dst.ArrayID = 0; in ureg_dst_undef()
1184 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.c276 dst.ArrayID = 0; in ureg_dst_register()
591 dst.ArrayID = ureg->nr_array_temps; in ureg_DECL_array_temporary()
878 out[n].ind.ArrayID = src.ArrayID; in ureg_emit_src()
894 out[n].ind.ArrayID = src.ArrayID; in ureg_emit_src()
936 out[n].ind.ArrayID = dst.ArrayID; in ureg_emit_dst()
1265 out[2].array.ArrayID = arrayid; in emit_decl_temps()
1401 out[3].array.ArrayID = array_id; in emit_decl_atomic_2d()
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/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h255 unsigned ArrayID : 10; member
776 unsigned ArrayID : 10; /* UINT */ member
/external/virglrenderer/src/gallium/include/pipe/
Dp_shader_tokens.h240 unsigned ArrayID : 10; member
754 unsigned ArrayID : 10; /* UINT */ member
/external/virglrenderer/src/
Dvrend_shader.c967 (ctx->inputs[j].array_id == decl->Array.ArrayID))) in iter_declaration()
988 ctx->inputs[i].array_id = decl->Declaration.Array ? decl->Array.ArrayID : 0; in iter_declaration()
1238 (ctx->outputs[j].array_id == decl->Array.ArrayID))) in iter_declaration()
1255 ctx->outputs[i].array_id = decl->Declaration.Array ? decl->Array.ArrayID : 0; in iter_declaration()
1478 decl->Array.ArrayID)) in iter_declaration()
7205 (ctx->inputs[j].array_id == decl->Array.ArrayID))) in iter_vs_declaration()
7217 ctx->inputs[i].array_id = decl->Declaration.Array ? decl->Array.ArrayID : 0; in iter_vs_declaration()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c229 decl->Array.ArrayID)); in ttn_emit_declaration()
304 (decl->Array.ArrayID != 0)); in ttn_emit_declaration()
/external/mesa3d/docs/gallium/
Dtgsi.rst3049 Declarations can optional have an ArrayID attribute which can be referred by
3050 indirect addressing operands. An ArrayID of zero is reserved and treated as
3051 if no ArrayID is specified.
3054 an ArrayID only the registers in this declaration are guaranteed to be
3059 If no ArrayID is specified with an indirect addressing operand the whole
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_tgsi.cpp103 return fsr->Indirect.ArrayID; in getArrayId()
175 return fdr->Indirect.ArrayID; in getArrayId()
1276 const int arrayId = decl->Array.ArrayID; in scanDeclaration()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp5910 dst.ArrayID = array_id; in dst_register()
6045 src.ArrayID = src_reg->array_id; in translate_src()
6671 t->inputs[slot + j].ArrayID = 0; in st_translate_program()
6726 t->outputs[slot + j].ArrayID = 0; in st_translate_program()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c1155 if (d->Array.ArrayID) { in tgsi_declaration()
1183 ctx->shader->atomics[i].array_id = d->Array.ArrayID; in tgsi_declaration()
1931 unsigned first = ctx->info.input_array_first[src->Indirect.ArrayID]; in fetch_gs_input()
2091 if (reg.Indirect.ArrayID) in r600_get_byte_address()
2092 first = array_first[reg.Indirect.ArrayID]; in r600_get_byte_address()
8633 if (src->Indirect.ArrayID == ctx->shader->atomics[i].array_id) in find_hw_atomic_counter()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c4591 const unsigned arrayID = MIN2(decl->Array.ArrayID, MAX_TEMP_ARRAYS); in emit_vgpu10_declaration()