intel/fs: Don't stomp f0.1 in SIMD16 ballot
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 7 Sep 2017 01:37:34 +0000 (18:37 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Nov 2017 18:37:52 +0000 (10:37 -0800)
commit6c00240bc650805e0b66aa6e17dbe69bbe41e446
tree355d2c2d2344a01ee7c3044e3348b21cda51aee4
parentdef013a863558a1f4735d82ef3dfa0f8261fa743
intel/fs: Don't stomp f0.1 in SIMD16 ballot

In fragment shaders f0.1 is used for discards so doing ballot after a
discard can potentially cause the discard to not happen.  However, we
don't support SIMD32 fragment shaders yet so this isn't a problem.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Cc: mesa-stable@lists.freedesktop.org
src/intel/compiler/brw_fs_nir.cpp