mesa/src
Jason Ekstrand a2123968fa intel/fs: Handle flag read/write aliasing in needs_src_copy
In order to implement the ballot intrinsic, we do a MOV from flag
register to some GRF.  If that GRF is used in a SEL, cmod propagation
helpfully changes it into a MOV from the flag register with a cmod.
This is perfectly valid but when lower_simd_width comes along, it simply
splits into two instructions which both have conditional modifiers.
This is a problem since we're reading the flag register.  This commit
makes us check whether or not flags_written() overlaps with the flag
values that we are reading via the instruction source and, if we have
any interference, will force us to emit a copy of the source.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit fa6e74e33e)
2017-10-27 18:50:27 +01:00
..
amd ac/nir: generate correct instruction for atomic min/max on unsigned images 2017-10-27 18:50:19 +01:00
broadcom meson: Fix vc5 deps on the XML-generated headers. 2017-10-20 17:16:00 -07:00
compiler nir/intrinsics: Set the correct num_indices for load_output 2017-10-27 18:50:21 +01:00
egl meson: Add support for EGL glvnd 2017-10-20 16:46:48 -07:00
gallium clover: Fix compilation after clang r315871 2017-10-27 18:50:24 +01:00
gbm meson: build libEGL 2017-10-20 16:46:48 -07:00
getopt
glx meson: build libEGL 2017-10-20 16:46:48 -07:00
gtest meson: convert gtest to an internal dependency 2017-10-03 10:02:08 -07:00
hgl
intel intel/fs: Handle flag read/write aliasing in needs_src_copy 2017-10-27 18:50:27 +01:00
loader meson: split and simplify dependencies 2017-10-16 16:32:43 -07:00
mapi mapi/shared-glapi/test: rework glapitable.h handling 2017-10-13 11:12:08 -07:00
mesa i965: Revert absolute mode for constant buffer pointers. 2017-10-27 18:50:07 +01:00
util drirc: Group a few games in the glthread whitelist together. 2017-10-19 03:28:34 +02:00
vulkan meson: move wayland_drm_protocol generation to wayland-drm 2017-10-20 16:46:48 -07:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am configure: Add the new "vc5" driver to the list, requiring a simulator. 2017-10-10 11:42:04 -07:00
meson.build meson: build libEGL 2017-10-20 16:46:48 -07:00
SConscript scons: use python3-compatible print() 2017-09-25 11:57:12 +01:00