intel/fs: Disable SIMD32 dispatch for fragment shaders with discard.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 6 Jan 2017 01:51:51 +0000 (17:51 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 28 Jun 2018 20:19:38 +0000 (13:19 -0700)
commit1650442026254b76f24582f4a5c567cd5f7d4a3b
tree9a37da94c6063791d00d4d0aa73a5a95368a68cb
parent1811cbdc25371362fcc7ab3dfe49bb020f7cc849
intel/fs: Disable SIMD32 dispatch for fragment shaders with discard.

Current discard handling requires dedicating the second flag register to
discard.  However, control-flow in SIMD32 requires both flag registers
so it's incompatible with the current discard handling.  Just don't
support SIMD32+discard for now.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_fs_nir.cpp