intel/compiler/test: Set devinfo->gen = 7

We emit an FBL instruction which only exists since Gen7. This prevents
the test from segfaulting when run with TEST_DEBUG=1.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Matt Turner 2019-02-11 12:23:16 -08:00 committed by Ian Romanick
parent 9364d66cb7
commit e50db60d16

View file

@ -65,7 +65,7 @@ void cmod_propagation_test::SetUp()
v = new cmod_propagation_fs_visitor(compiler, prog_data, shader);
devinfo->gen = 4;
devinfo->gen = 7;
}
static fs_inst *