summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
diff options
context:
space:
mode:
authorKarol Herbst <kherbst@redhat.com>2018-07-01 09:44:48 +0200
committerIlia Mirkin <imirkin@alum.mit.edu>2019-02-06 19:35:57 -0500
commitcce495572136a606dd2a35e79f45080c3796e2cc (patch)
treeb0018f52df80358991ec9eac469efc2d1e4b84b5 /src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
parent815a8e59c6d462a7008653ea9e3010d40b6ba589 (diff)
gm107/ir: add fp64 rsq
Acked-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: 19.0 <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
index 5d69ce2ab7c..aca3b0afb1e 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp
@@ -129,7 +129,7 @@ NVC0LegalizeSSA::handleRCPRSQ(Instruction *i)
bld.mkSplit(src, 4, i->getSrc(0));
int chip = prog->getTarget()->getChipset();
- if (chip >= NVISA_GK104_CHIPSET && (i->op == OP_RCP || chip < NVISA_GM107_CHIPSET)) {
+ if (chip >= NVISA_GK104_CHIPSET) {
handleRCPRSQLib(i, src);
return;
}