Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_tgsi_private.cpp65 int component, unsigned array_id) in st_src_reg() argument
67 assert(file != PROGRAM_ARRAY || array_id != 0); in st_src_reg()
79 this->array_id = array_id; in st_src_reg()
97 this->array_id = 0; in st_src_reg()
115 this->array_id = 0; in st_src_reg()
132 this->array_id = 0; in reset()
159 this->array_id = reg.array_id; in operator =()
176 this->array_id = reg.array_id; in st_src_reg()
198 lhs.array_id != rhs.array_id || in operator ==()
236 os << "(" << reg.array_id << ")"; in operator <<()
[all …]
Dst_glsl_to_tgsi_array_merge.cpp342 target_id = range.is_mapped() ? range.final_target()->array_id(): 0; in init_from()
465 ARRAY_MERGE_DUMP("try merge " << i << " id:" << ranges[i].array_id() in run()
466 << " and " << j << " id: "<< ranges[j].array_id() in run()
571 remapping[ranges[i-1].array_id()].init_from(ranges[i-1]); in get_array_remapping()
626 if (src.file == PROGRAM_ARRAY && src.array_id > 0) { in remap_arrays()
627 array_remapping& m = map[src.array_id]; in remap_arrays()
629 src.array_id = m.target_array_id(); in remap_arrays()
636 if (src.file == PROGRAM_ARRAY && src.array_id > 0) { in remap_arrays()
637 array_remapping& m = map[src.array_id]; in remap_arrays()
639 src.array_id = m.target_array_id(); in remap_arrays()
[all …]
Dst_glsl_to_tgsi_private.h45 int component = 0, unsigned array_id = 0);
75 unsigned array_id:10; variable
112 unsigned array_id:10; variable
Dst_glsl_to_tgsi.cpp120 unsigned array_id = 0) in variable_storage() argument
121 : file(file), index(index), component(0), var(var), array_id(array_id) in variable_storage()
123 assert(file != PROGRAM_ARRAY || array_id != 0); in variable_storage()
135 unsigned array_id; member in variable_storage
158 unsigned array_id; /* TGSI ArrayID; 1-based: 0 means not an array */ member
169 find_inout_array(struct inout_decl *decls, unsigned count, unsigned array_id) in find_inout_array() argument
171 assert(array_id != 0); in find_inout_array()
176 if (array_id == decl->array_id) { in find_inout_array()
185 find_array_type(struct inout_decl *decls, unsigned count, unsigned array_id) in find_array_type() argument
187 if (!array_id) in find_array_type()
[all …]
Dst_glsl_to_tgsi_array_merge.h59 int array_id() const {return id;} in array_id() function
Dst_glsl_to_tgsi_temprename.cpp1056 assert(src.array_id <= narrays); in record_read()
1057 array_acc[src.array_id - 1].record_access(line, scope, readmask); in record_read()
1073 assert(dst.array_id <= narrays); in record_write()
1079 array_acc[dst.array_id - 1].record_access(line, scope, in record_write()
/third_party/mesa3d/src/mesa/state_tracker/tests/
Dtest_glsl_to_tgsi_array_merge.cpp48 EXPECT_EQ(a1.array_id(), 1); in TEST_F()
60 EXPECT_EQ(a2.array_id(), 2); in TEST_F()
80 EXPECT_EQ(a1.array_id(), 1); in TEST_F()
92 EXPECT_EQ(a2.array_id(), 2); in TEST_F()
113 EXPECT_EQ(a1.array_id(), 1); in TEST_F()
126 EXPECT_EQ(a2.array_id(), 2); in TEST_F()
144 EXPECT_EQ(a1.array_id(), 1); in TEST_F()
157 EXPECT_EQ(a2.array_id(), 2); in TEST_F()
176 EXPECT_EQ(a1.array_id(), 1); in TEST_F()
189 EXPECT_EQ(a2.array_id(), 2); in TEST_F()
[all …]
Dst_tests_common.cpp162 if (s.array_id > max_array_id) in read_reg()
163 max_array_id = s.array_id; in read_reg()
245 retval.array_id = 1; in create_src_register()
267 int array_id = std::get<0>(r); in create_array_src_register() local
272 if (array_id > 0) { in create_array_src_register()
275 retval.array_id = array_id; in create_array_src_register()
276 if (max_array_id < array_id) in create_array_src_register()
277 max_array_id = array_id; in create_array_src_register()
289 int array_id = std::get<0>(r); in create_array_dst_register() local
294 if (array_id > 0) { in create_array_dst_register()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_ureg.c103 unsigned array_id; member
125 unsigned array_id; member
144 unsigned array_id; member
293 unsigned array_id, in ureg_DECL_fs_input_centroid_layout() argument
306 if (ureg->input[i].array_id == array_id) { in ureg_DECL_fs_input_centroid_layout()
322 ureg->input[i].array_id = array_id; in ureg_DECL_fs_input_centroid_layout()
332 array_id); in ureg_DECL_fs_input_centroid_layout()
341 unsigned array_id, in ureg_DECL_fs_input_centroid() argument
347 ureg->nr_input_regs, TGSI_WRITEMASK_XYZW, array_id, array_size); in ureg_DECL_fs_input_centroid()
369 unsigned array_id, in ureg_DECL_input_layout() argument
[all …]
Dtgsi_ureg.h182 unsigned array_id,
191 unsigned array_id,
217 unsigned array_id,
224 unsigned array_id,
239 unsigned array_id,
248 unsigned array_id,
260 unsigned array_id,
313 unsigned array_id);
1015 unsigned array_id) in ureg_dst_array_register() argument
1033 dst.ArrayID = array_id; in ureg_dst_array_register()
[all …]
Dtgsi_scan.c612 unsigned array_id = fulldecl->Array.ArrayID; in scan_declaration() local
616 assert(array_id < ARRAY_SIZE(info->input_array_first)); in scan_declaration()
617 info->input_array_first[array_id] = fulldecl->Range.First; in scan_declaration()
618 info->input_array_last[array_id] = fulldecl->Range.Last; in scan_declaration()
621 assert(array_id < ARRAY_SIZE(info->output_array_first)); in scan_declaration()
622 info->output_array_first[array_id] = fulldecl->Range.First; in scan_declaration()
623 info->output_array_last[array_id] = fulldecl->Range.Last; in scan_declaration()
626 info->array_max[file] = MAX2(info->array_max[file], array_id); in scan_declaration()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.h64 unsigned array_id; member
Dr600_dump.c90 PRINT_UINT_ARRAY_ELM(atomics, array_id); in print_shader_info()
Dr600_shader.c1188 ctx->shader->atomics[i].array_id = d->Array.ArrayID; in tgsi_declaration()
8647 if (src->Indirect.ArrayID == ctx->shader->atomics[i].array_id) in find_hw_atomic_counter()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_liverange.h232 int array_id() const {return id;} in array_id() function
/third_party/spirv-tools/source/val/
Dvalidate_decorations.cpp71 uint32_t GetArrayStride(uint32_t array_id, ValidationState_t& vstate) { in GetArrayStride() argument
72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride()
827 uint32_t array_id,
883 uint32_t array_id, in ComputeMemberConstraintsForArray() argument
887 auto elem_type_id = vstate.FindDef(array_id)->words()[2]; in ComputeMemberConstraintsForArray()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_decorations.cpp71 uint32_t GetArrayStride(uint32_t array_id, ValidationState_t& vstate) { in GetArrayStride() argument
72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride()
843 uint32_t array_id,
899 uint32_t array_id, in ComputeMemberConstraintsForArray() argument
903 auto elem_type_id = vstate.FindDef(array_id)->words()[2]; in ComputeMemberConstraintsForArray()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_decorations.cpp71 uint32_t GetArrayStride(uint32_t array_id, ValidationState_t& vstate) { in GetArrayStride() argument
72 for (auto& decoration : vstate.id_decorations(array_id)) { in GetArrayStride()
843 uint32_t array_id,
899 uint32_t array_id, in ComputeMemberConstraintsForArray() argument
903 auto elem_type_id = vstate.FindDef(array_id)->words()[2]; in ComputeMemberConstraintsForArray()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c232 unsigned array_id = 0; in ntt_output_decl() local
244 array_id, in ntt_output_decl()
360 unsigned array_id = 0; in ntt_setup_inputs() local
362 array_id = ++num_input_arrays; in ntt_setup_inputs()
373 array_id, array_len); in ntt_setup_inputs()
1688 uint32_t array_id = 0; in ntt_emit_load_input() local
1697 array_id, in ntt_emit_load_input()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_msl.cpp1294 for (uint32_t array_id : buffer_arrays) in emit_entry_point_declarations() local
1296 const auto &var = get<SPIRVariable>(array_id); in emit_entry_point_declarations()
1299 string name = to_name(array_id); in emit_entry_point_declarations()
1300 …get_argument_address_space(var), " ", type_to_glsl(buffer_type), "* ", to_restrict(array_id), name, in emit_entry_point_declarations()
/third_party/mesa3d/docs/relnotes/
D21.0.0.rst1210 - gallium/ntt: Drop comment about needing array_id for svga tess.