1. 11 Jun, 2019 7 commits
  2. 09 Jun, 2019 7 commits
  3. 06 Jun, 2019 6 commits
  4. 05 Jun, 2019 4 commits
  5. 04 Jun, 2019 8 commits
  6. 03 Jun, 2019 2 commits
  7. 31 May, 2019 4 commits
  8. 30 May, 2019 2 commits
    • Jason Ekstrand's avatar
      iris: Don't assume UBO indices are constant · a1927000
      Jason Ekstrand authored
      It will be true for the constant/system value buffer because they use a
      constant zero but it's not true in general.  If we ever got here when
      the source wasn't constant, nir_src_as_uint would assert.
      Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      Cc: mesa-stable@lists.freedesktop.org
      (cherry picked from commit 9dc57eeb)
      a1927000
    • Lionel Landwerlin's avatar
      nir/lower_non_uniform: safely iterate over blocks · 4c7dfaba
      Lionel Landwerlin authored
      This fixes a problem where the same instruction gets replaced twice.
      This was happening when the replaced instruction would be at the end
      of a block.
      
      Replacement of :
      
         if ssa_8 {
                      ....
            intrinsic bindless_image_store (ssa_44, ssa_16, ssa_0, ssa_15) (5, 0, 34836, 32) /* image_dim=Buf */ /* image_array=false */ /* format=34836 */ /* access=32 */
         }
      
      Would be :
      
         if ssa_8 {
            loop {
               vec1 32 ssa_47 = intrinsic read_first_invocation (ssa_44) ()
               vec1 1 ssa_48 = ieq ssa_47, ssa_44
               if ssa_48 {
                  loop {
                     vec1 32 ssa_49 = intrinsic read_first_invocation (ssa_44) ()
                     vec1 1 ssa_50 = ieq ssa_49, ssa_44
                     if ssa_50 {
                        intrinsic bindless_image_store (ssa_44, ssa_16, ssa_0, ssa_15) (5, 0, 34836, 32) /* image_dim=Buf */ /* image_array=false */ /* format=34836 */ /* access=32 */
                        break
                     } else {
              ....
         }
      Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
      Fixes: 3bd54576 ("nir: Add a lowering pass for non-uniform resource access")
      Reviewed-by: Jason Ekstrand's avatarJason Ekstrand <jason@jlekstrand.net>
      (cherry picked from commit 366811be)
      4c7dfaba