diff options
author | Ilia Mirkin <[email protected]> | 2016-10-19 23:59:15 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-10-22 12:02:35 -0400 |
commit | 7b7eb7170d16ddb0963900ccf59b39956219373c (patch) | |
tree | 030b8574fc7dc1a1af89ff2852ef094f5ad6711b /src | |
parent | adad576bfc606694323fcbda3113ea339a3e935d (diff) |
nv50/ir: it appears that OP_DISCARD can't take a join modifier
nvdisasm does not print a .S even though the bit is set.
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp index 0fb1a7803bd..8494c885f9e 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp @@ -2968,6 +2968,7 @@ FlatteningPass::visit(BasicBlock *bb) insn = insn->prev; if (insn && !insn->getPredicate() && !insn->asFlow() && + insn->op != OP_DISCARD && insn->op != OP_TEXBAR && !isTextureOp(insn->op) && // probably just nve4 !isSurfaceOp(insn->op) && // not confirmed |