intel/compiler: Set bits according to source file
authorSagar Ghuge <sagar.ghuge@intel.com>
Fri, 19 Apr 2019 20:37:17 +0000 (13:37 -0700)
committerSagar Ghuge <sagar.ghuge@intel.com>
Tue, 22 Oct 2019 03:32:43 +0000 (20:32 -0700)
commitbf943bdf24be0e663aa866e26f06f9fddcbef155
treece073a77663b2a762d702ee66bc1240e2ca558c8
parentc018c5a33920c765c33c66ed3e3d12ba38065e63
intel/compiler: Set bits according to source file

On Gen >= 12, if src0 or src2 holds immediate value, we need set
src[0/2]_is_imm bits instead of register file.

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_eu_emit.c