Lines Matching defs:file
48 is_memory_file(unsigned file)
50 return file == TGSI_FILE_SAMPLER ||
51 file == TGSI_FILE_SAMPLER_VIEW ||
52 file == TGSI_FILE_IMAGE ||
53 file == TGSI_FILE_BUFFER ||
54 file == TGSI_FILE_HW_ATOMIC;
607 const uint file = fulldecl->Declaration.File;
614 switch (file) {
624 info->array_max[file] = MAX2(info->array_max[file], array_id);
638 info->file_mask[file] |= (1u << (reg & 31));
639 info->file_count[file]++;
640 info->file_max[file] = MAX2(info->file_max[file], (int)reg);
642 switch (file) {
823 uint file = TGSI_FILE_IMMEDIATE;
825 info->file_mask[file] |= (1 << reg);
826 info->file_count[file]++;
827 info->file_max[file] = MAX2(info->file_max[file], (int)reg);
943 * Collect information about the arrays of a given register file.
946 * @param file the register file to scan through
948 * highest array id, i.e. tgsi_shader_info::array_max[file].
953 unsigned file,
974 if (decl->Declaration.Array && decl->Declaration.File == file &&
989 if (dst->Register.File != file)