intel/fs,vec4: Use g0 as the header for MFENCE
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 22 May 2019 17:20:01 +0000 (12:20 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 30 May 2019 14:00:26 +0000 (14:00 +0000)
commit859de4a74857d2736f6e2dd9d2fd98b92bbc69d9
tree80d605a611a390797c0492353dbdad05f8f5150b
parent43cc3dc9c0ac482b12cbc3d79489295815695b13
intel/fs,vec4: Use g0 as the header for MFENCE

We set header_present but then pass it some random garbage.  Give it g0
instead.  I'm not actually sure this does anything but g0 is the usual
header data and this is what the windows driver does so it seems like a
good idea.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_eu.h
src/intel/compiler/brw_eu_emit.c
src/intel/compiler/brw_fs_generator.cpp
src/intel/compiler/brw_fs_nir.cpp
src/intel/compiler/brw_vec4_generator.cpp
src/intel/compiler/brw_vec4_nir.cpp