mesa/src
Jason Ekstrand 8a468d186e i965/fs: Take Dispatch/Vector mask into account in FIND_LIVE_CHANNEL
On at least Sky Lake, ce0 does not contain the full story as far as enabled
channels goes.  It is possible to have completely disabled channels where
the corresponding bits in ce0 are 1.  In order to get the correct execution
mask, you have to mask off those channels which were disabled from the
beginning by taking the AND of ce0 with either sr0.2 or sr0.3 depending on
the shader stage.  Failure to do so can result in FIND_LIVE_CHANNEL
returning a completely dead channel.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Cc: Francisco Jerez <currojerez@riseup.net>
[ Francisco Jerez: Fix a couple of typos, add mask register type
  assertion, clarify reason why ce0 can have bits set for disabled
  channels, clarify that this may only be a problem when thread
  dispatch doesn't pack channels tightly in the SIMD thread.  Apply
  same treatment to Align16 path. ]
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
2016-09-21 13:45:45 +03:00
..
amd radeonsi/compute: Use the HSA abi for non-TGSI compute shaders v3 2016-09-16 23:07:10 +00:00
compiler mesa: Implement ARB_shader_viewport_layer_array for i965 2016-09-20 16:23:04 -07:00
egl egl: Add storage for EGL_KHR_debug's state to EGL objects 2016-09-14 11:45:58 -04:00
gallium gallivm: support negation on 64-bit integers 2016-09-21 10:24:50 +02:00
gbm gbm: remove left-over array 2016-09-14 14:37:34 +01:00
getopt Introduce .editorconfig 2016-08-31 17:06:54 -07:00
glx direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
gtest Introduce .editorconfig 2016-08-31 17:06:54 -07:00
hgl Introduce .editorconfig 2016-08-31 17:06:54 -07:00
intel anv: pipeline: use correct number of thread for compute 2016-09-21 12:01:06 +03:00
loader loader/dri3: Always use at least two back buffers 2016-09-06 13:04:48 +09:00
mapi direct-to-native-GL for GLX clients on Cygwin ("Windows-DRI") 2016-09-15 13:14:43 +01:00
mesa i965/fs: Take Dispatch/Vector mask into account in FIND_LIVE_CHANNEL 2016-09-21 13:45:45 +03:00
util u_endian: add android to glibc clause 2016-09-13 10:04:13 +10:00
Makefile.am mesa: Remove prog_hash_table.c 2016-09-12 10:48:35 +10:00
SConscript scons: put the generated git_sha1.h file in top-level src/ directory 2016-06-17 10:33:00 -06:00