intel/compiler/gen10: Disable push constants.
authorRafael Antognolli <rafael.antognolli@intel.com>
Mon, 18 Dec 2017 23:23:11 +0000 (15:23 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Tue, 19 Dec 2017 20:32:24 +0000 (12:32 -0800)
commit85789831b487c08eb4817fb902efc2e6b614d9ac
treefbfa6d7b8adbf1d9f2485b57687cd18a2f1e1d5f
parent4237c3d64570fb1fd295473f3fa9e45a83946a81
intel/compiler/gen10: Disable push constants.

We still have gpu hangs on Cannonlake when using push constants, so
disable them for now until we have a proper fix for these hangs.

v2: Add warning message when creating context too.

Signed-off-by: Rafael Antognolli <rafael.antognolli@intel.com>
Cc: Ben Widawsky <ben@bwidawsk.net>
Cc: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
src/intel/compiler/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_context.c