Reviewed-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
On 10/21/2016 08:30 AM, Ilia Mirkin wrote:
nvdisasm does not print a .S even though the bit is set. Signed-off-by: Ilia Mirkin <imir...@alum.mit.edu> --- src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp index cc5d1f4..f6fce44 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp @@ -2970,6 +2970,7 @@ FlatteningPass::visit(BasicBlock *bb) insn = insn->prev; if (insn && !insn->getPredicate() && !insn->asFlow() && + insn->op != OP_DISCARD && insn->op != OP_TEXBAR &&
We should *really* improve the situation here, because the check is going to be insane...
!isTextureOp(insn->op) && // probably just nve4 !isSurfaceOp(insn->op) && // not confirmed
-- -Samuel _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev