aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_vec4_visitor.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2017-06-14 16:20:41 -0700
committerMatt Turner <[email protected]>2018-02-28 11:15:47 -0800
commit89fe5190a256ee0939061c4c264e9156256d16e8 (patch)
tree01a231a3cd2109f134c285a6caa715eec95a6e2a /src/intel/compiler/brw_vec4_visitor.cpp
parent2134ea380033d5d1f3c5760b8bdb1da7aadd9842 (diff)
intel/compiler: Lower flrp32 on Gen11+
The LRP instruction is no more. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_vec4_visitor.cpp')
-rw-r--r--src/intel/compiler/brw_vec4_visitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_vec4_visitor.cpp b/src/intel/compiler/brw_vec4_visitor.cpp
index 53f6a5ed546..e683a8c51db 100644
--- a/src/intel/compiler/brw_vec4_visitor.cpp
+++ b/src/intel/compiler/brw_vec4_visitor.cpp
@@ -735,7 +735,7 @@ vec4_instruction *
vec4_visitor::emit_lrp(const dst_reg &dst,
const src_reg &x, const src_reg &y, const src_reg &a)
{
- if (devinfo->gen >= 6) {
+ if (devinfo->gen >= 6 && devinfo->gen <= 10) {
/* Note that the instruction's argument order is reversed from GLSL
* and the IR.
*/