diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-03-17 11:37:09 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2015-03-23 01:01:14 -0700 |
commit | 235c728020af352ee0f4b7d598c951f4a4e83232 (patch) | |
tree | 8f4c8567cf9bd393aa2acc668fac25d9ff264d5c /src | |
parent | a3e05898e9915566ca3cfbfe40a0c9ea92b0d0d9 (diff) | |
download | external_mesa3d-235c728020af352ee0f4b7d598c951f4a4e83232.zip external_mesa3d-235c728020af352ee0f4b7d598c951f4a4e83232.tar.gz external_mesa3d-235c728020af352ee0f4b7d598c951f4a4e83232.tar.bz2 |
i965/nir: Use emit_lrp for emitting flrp
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp index 5d88fe7..a059dbb 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp @@ -1243,8 +1243,7 @@ fs_visitor::nir_emit_alu(nir_alu_instr *instr) break; case nir_op_flrp: - /* TODO emulate for gen < 6 */ - inst = emit(LRP(result, op[2], op[1], op[0])); + inst = emit_lrp(result, op[0], op[1], op[2]); inst->saturate = instr->dest.saturate; break; |