diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp index ae739ee..3a4806d 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp @@ -247,6 +247,8 @@ LoadPropagation::visit(BasicBlock *bb) if (!ld || ld->fixed || (ld->op != OP_LOAD && ld->op != OP_MOV)) continue; + if (ld->src(0).isIndirect(0)) + continue; if (!targ->insnCanLoad(i, s, ld)) continue;