From: Matt Turner Date: Mon, 11 Feb 2019 20:23:16 +0000 (-0800) Subject: intel/compiler/test: Set devinfo->gen = 7 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e50db60d16448477e519616d76a6c8f8778be4b0;p=mesa.git 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 --- diff --git a/src/intel/compiler/test_fs_cmod_propagation.cpp b/src/intel/compiler/test_fs_cmod_propagation.cpp index 659fbb2d1bc..38bd0de8fc9 100644 --- a/src/intel/compiler/test_fs_cmod_propagation.cpp +++ b/src/intel/compiler/test_fs_cmod_propagation.cpp @@ -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 *