Re: [Mesa-dev] [PATCH v2 05/52] intel/fs: Don't stomp f0.1 in SIMD16 ballot

2017-10-17 Thread Matt Turner
On 10/12, Jason Ekstrand wrote: In fragment shaders f0.1 is used for discards so doing ballot after a discard can potentially cause the discard to not happen. Since - SIMD32 currently only used in compute shaders - discard only available in fragment shaders this will fix disca

[Mesa-dev] [PATCH v2 05/52] intel/fs: Don't stomp f0.1 in SIMD16 ballot

2017-10-12 Thread Jason Ekstrand
In fragment shaders f0.1 is used for discards so doing ballot after a discard can potentially cause the discard to not happen. Cc: mesa-sta...@lists.freedesktop.org --- src/intel/compiler/brw_fs_nir.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/intel/compiler/br