~mmach/netext73/mesa-haswell

« back to all changes in this revision

Viewing changes to src/compiler/nir/nir_instr_set.c

  • Committer: mmach
  • Date: 2022-09-22 20:02:48 UTC
  • Revision ID: netbit73@gmail.com-20220922200248-7y4wybmdgipuwdiw
2022-09-22 21:17:09

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
   case nir_deref_type_array:
169
169
   case nir_deref_type_ptr_as_array:
170
170
      hash = hash_src(hash, &instr->arr.index);
 
171
      hash = HASH(hash, instr->arr.in_bounds);
171
172
      break;
172
173
 
173
174
   case nir_deref_type_cast:
623
624
      case nir_deref_type_ptr_as_array:
624
625
         if (!nir_srcs_equal(deref1->arr.index, deref2->arr.index))
625
626
            return false;
 
627
         if (deref1->arr.in_bounds != deref2->arr.in_bounds)
 
628
            return false;
626
629
         break;
627
630
 
628
631
      case nir_deref_type_cast: