Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.c131 if (src->Register.Indirect && src->Indirect.ArrayID) in scan_src_operand()
132 input = info->input_array_first[src->Indirect.ArrayID]; in scan_src_operand()
320 if (src0->Register.Indirect && src0->Indirect.ArrayID) in scan_instruction()
321 input = info->input_array_first[src0->Indirect.ArrayID]; in scan_instruction()
437 unsigned array_id = fulldecl->Array.ArrayID; in scan_declaration()
785 decl->Array.ArrayID > 0 && decl->Array.ArrayID <= max_array_id) { in tgsi_scan_arrays()
786 struct tgsi_array_info *array = &arrays[decl->Array.ArrayID - 1]; in tgsi_scan_arrays()
803 if (dst->Indirect.ArrayID > 0 && in tgsi_scan_arrays()
804 dst->Indirect.ArrayID <= max_array_id) { in tgsi_scan_arrays()
805 arrays[dst->Indirect.ArrayID - 1].writemask |= dst->Register.WriteMask; in tgsi_scan_arrays()
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()
346 SID(decl->Array.ArrayID); in iter_declaration()
Dtgsi_ureg.h66 unsigned ArrayID : 10; /* UINT */ member
96 unsigned ArrayID : 10; /* UINT */ member
1294 dst.ArrayID = array_id; in ureg_dst_array_register()
1335 dst.ArrayID = src.ArrayID; in ureg_dst()
1365 src.ArrayID = array_id; in ureg_src_array_register()
1400 src.ArrayID = dst.ArrayID; in ureg_src()
1432 dst.ArrayID = 0; in ureg_dst_undef()
1460 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()
931 ind_register.ArrayID = 0; in tgsi_default_ind_register()
954 ind_register.ArrayID = arrayid; in tgsi_build_ind_register()
1234 reg->Indirect.ArrayID, in tgsi_build_full_instruction()
1267 reg->DimIndirect.ArrayID, in tgsi_build_full_instruction()
1309 reg->Indirect.ArrayID, in tgsi_build_full_instruction()
1342 reg->DimIndirect.ArrayID, in tgsi_build_full_instruction()
Dtgsi_ureg.c649 dst.ArrayID = ureg->nr_array_temps; in ureg_DECL_array_temporary()
1113 out[n].ind.ArrayID = 0; in ureg_emit_src()
1115 out[n].ind.ArrayID = src.ArrayID; in ureg_emit_src()
1133 out[n].ind.ArrayID = 0; in ureg_emit_src()
1135 out[n].ind.ArrayID = src.ArrayID; in ureg_emit_src()
1179 out[n].ind.ArrayID = 0; in ureg_emit_dst()
1181 out[n].ind.ArrayID = dst.ArrayID; in ureg_emit_dst()
1199 out[n].ind.ArrayID = 0; in ureg_emit_dst()
1201 out[n].ind.ArrayID = dst.ArrayID; in ureg_emit_dst()
1594 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()
1371 decl.Array.ArrayID = arrayid; in parse_declaration()
/external/mesa3d/src/gallium/include/pipe/
Dp_shader_tokens.h242 unsigned ArrayID : 10; member
771 unsigned ArrayID : 10; /* UINT */ member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c399 if (reg && reg->ArrayID > 0 && reg->ArrayID <= num_arrays) in get_temp_array_id()
400 return reg->ArrayID; in get_temp_array_id()
813 unsigned id = decl->Array.ArrayID - 1; in emit_declaration()
Dsi_shader.c664 if (reg.Indirect.ArrayID) in get_dw_address()
665 first = array_first[reg.Indirect.ArrayID]; in get_dw_address()
788 if (reg.Indirect.ArrayID) in get_tcs_tes_buffer_address_from_reg()
789 param_base = array_first[reg.Indirect.ArrayID]; in get_tcs_tes_buffer_address_from_reg()
/external/mesa3d/src/gallium/auxiliary/nir/
Dtgsi_to_nir.c255 var->name = ralloc_asprintf(var, "arr_%d", decl->Array.ArrayID); in ttn_emit_declaration()
325 (decl->Array.ArrayID != 0)); in ttn_emit_declaration()
/external/mesa3d/src/gallium/docs/source/
Dtgsi.rst2922 Declarations can optional have an ArrayID attribute which can be referred by
2923 indirect addressing operands. An ArrayID of zero is reserved and treated as
2924 if no ArrayID is specified.
2927 an ArrayID only the registers in this declaration are guaranteed to be
2932 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()
169 return fdr->Indirect.ArrayID; in getArrayId()
1211 const int arrayId = decl->Array.ArrayID; in scanDeclaration()
/external/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi.cpp5402 dst.ArrayID = array_id; in dst_register()
5477 src.ArrayID = reg->array_id; in src_register()
6094 t->inputs[slot + j].ArrayID = 0; in st_translate_program()
6148 t->outputs[slot + j].ArrayID = 0; in st_translate_program()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c958 if (d->Array.ArrayID) { in tgsi_declaration()
1533 unsigned first = ctx->info.input_array_first[src->Indirect.ArrayID]; in fetch_gs_input()
1693 if (reg.Indirect.ArrayID) in r600_get_byte_address()
1694 first = array_first[reg.Indirect.ArrayID]; in r600_get_byte_address()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c2235 const unsigned arrayID = MIN2(decl->Array.ArrayID, MAX_TEMP_ARRAYS); in emit_vgpu10_declaration()