mesa/src
Caio Marcelo de Oliveira Filho 8364ec3fce nir: Skip common instructions when comparing deref paths
Deref paths may share the same deref instructions in their chains,
e.g.

    ssa_100 = deref_var A
    ssa_101 = deref_struct "array_field" of ssa_100
    ssa_102 = deref_array "[1]" of ssa_101
    ssa_103 = deref_struct "field_a" of ssa_102
    ssa_104 = deref_struct "field_a" of ssa_103

when comparing the two last deref instructions, their paths will share
a common sequence ssa_100, ssa_101, ssa_102.  This patch skips to next
iteration if the deref instructions are the same.  Path[0] (the var)
is still handled specially, so in the case above, only ssa_101 and
ssa_102 will be skipped.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2018-08-22 14:41:26 -07:00
..
amd amd/addrlib: Fix include path for c99_compat.h 2018-08-22 14:39:02 -07:00
broadcom meson: Build with Python 3 2018-08-10 15:15:09 -07:00
compiler nir: Skip common instructions when comparing deref paths 2018-08-22 14:41:26 -07:00
egl egl/android: Implement EGL_KHR_mutable_render_buffer 2018-08-21 09:56:20 -07:00
gallium llvmpipe: add cc clobber to inline asm 2018-08-23 00:34:32 +03:00
gbm gbm: Add support for 10bpp BGR formats 2018-08-01 12:55:37 +01:00
getopt
glx glx: GLX_MESA_multithread_makecurrent is direct-only 2018-08-09 12:33:14 -04:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel intel/isl: Avoid tiling some 16K-wide render targets 2018-08-22 13:53:19 -07:00
loader loader: add dri_driver option to override dri driver to load 2018-08-17 17:16:32 +01:00
mapi meson: Build with Python 3 2018-08-10 15:15:09 -07:00
mesa i965/miptree: Fix can_blit_slice() 2018-08-22 13:53:02 -07:00
util util/dynarray: add a clone function 2018-08-22 14:41:26 -07:00
vulkan vulkan/wsi: fix pointer-integer conversion warnings 2018-08-23 00:34:32 +03:00
Makefile.am autotools: don't ship the git_sha1.h generated in git in the tarballs 2018-08-21 15:30:56 +01:00
meson.build meson: Build with Python 3 2018-08-10 15:15:09 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00