diff options
author | Ian Romanick <[email protected]> | 2015-02-27 14:17:50 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-02-27 18:47:04 -0800 |
commit | b8a1637119249c1d5e76c27d0053360bbb7f4e77 (patch) | |
tree | 2715bba1743a3e87fd91eb8099707148916937de | |
parent | 76cd0f00f44c0935dc7d6a0e14e0515f08a8e1dc (diff) |
i965/fs/nir: Use emit_math for nir_op_fpow
It appears that all the other instructions that need it already use it.
This one just got missed.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Cc: "10.5" <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp index 388e6360161..f15d82f94d1 100644 --- a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp @@ -1090,7 +1090,7 @@ fs_visitor::nir_emit_alu(nir_alu_instr *instr) break; case nir_op_fpow: - inst = emit(SHADER_OPCODE_POW, result, op[0], op[1]); + inst = emit_math(SHADER_OPCODE_POW, result, op[0], op[1]); inst->saturate = instr->dest.saturate; break; |