summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2019-02-11 12:23:16 -0800
committerIan Romanick <[email protected]>2019-02-15 11:11:02 -0800
commite50db60d16448477e519616d76a6c8f8778be4b0 (patch)
treefbeebff14a980167187c0e0c0e7ec43eb363c4c3 /src/intel/compiler
parent9364d66cb7f7deb83876a44bb4e29e8105141c16 (diff)
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 <[email protected]>
Diffstat (limited to 'src/intel/compiler')
-rw-r--r--src/intel/compiler/test_fs_cmod_propagation.cpp2
1 files changed, 1 insertions, 1 deletions
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 *