From e50db60d16448477e519616d76a6c8f8778be4b0 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 11 Feb 2019 12:23:16 -0800 Subject: [PATCH] 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 --- src/intel/compiler/test_fs_cmod_propagation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 * -- 2.30.2