mesa/src
Ian Romanick af4f8d426a i965/vec4: Fix null destination register in 3-source instructions
A recent commit (see below) triggered some cases where conditional
modifier propagation and dead code elimination would cause a MAD
instruction like the following to be generated:

    mad.l.f0  null, ...

Matt pointed out that fs_visitor::fixup_3src_null_dest() fixes cases
like this in the scalar backend.  This commit basically ports that code
to the vec4 backend.

NOTE: I have sent a couple tests to the piglit list that reproduce this
bug *without* the commit mentioned below.  This commit fixes those
tests.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Tested-by: Tapani Pälli <tapani.palli@intel.com>
Cc: mesa-stable@lists.freedesktop.org
Fixes: ee63933a7 ("nir: Distribute binary operations with constants into bcsel")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105704
(cherry picked from commit 91225cb33f)
2018-04-12 21:49:28 +02:00
..
amd radv: mark all tess output for an indirect access. 2018-03-20 16:57:26 +00:00
broadcom autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
compiler glsl: Fix memory leak with known glsl_type instances 2018-03-20 16:57:25 +00:00
egl meson: Fix GL and EGL pkg-config files with glvnd 2018-03-20 16:57:24 +00:00
gallium radeon/vce: move feedback command inside of destroy function 2018-04-12 21:49:28 +02:00
gbm meson: Don't confuse the install and search paths for dri drivers 2018-02-05 19:06:02 +00:00
getopt
glx loader_dri3/glx/egl: Reinstate the loader_dri3_vtable get_dri_screen callback 2018-02-28 20:15:04 +00:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl
intel i965/vec4: Fix null destination register in 3-source instructions 2018-04-12 21:49:28 +02:00
loader loader_dri3/glx/egl: Reinstate the loader_dri3_vtable get_dri_screen callback 2018-02-28 20:15:04 +00:00
mapi mesa: add glsl version query (v4) 2018-03-20 16:57:26 +00:00
mesa mesa: add glsl version query (v4) 2018-03-20 16:57:26 +00:00
util meson/configure: detect endian.h instead of trying to guess when it's available 2018-04-12 21:49:28 +02:00
vulkan android: vulkan/util: add dependency on libnativewindow for O and later 2018-03-20 16:57:24 +00:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
meson.build meson: fix building without GL 2018-03-20 16:57:24 +00:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00