intel/compiler: Don't repeat dispatch max fixing condition
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 3 May 2019 21:28:51 +0000 (14:28 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 14 May 2019 20:16:27 +0000 (13:16 -0700)
commit3d84fd29e8b1dcd3501c19c67d2f2213ea9275cf
treec77321ca8d7c8bc2596cf17a794b61c434d3c537
parentf0d52cf2b0ae1db156e4f1e34982c2a388fcfe58
intel/compiler: Don't repeat dispatch max fixing condition

Having a single flag will keep both places in sync if the condition
gets more complicated.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/compiler/brw_fs.cpp