summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp
index 2cca44921a5..85e08579714 100644
--- a/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp
+++ b/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp
@@ -62,7 +62,8 @@ Instruction::isNop() const
bool Instruction::isDead() const
{
if (op == OP_STORE ||
- op == OP_EXPORT)
+ op == OP_EXPORT ||
+ op == OP_WRSV)
return false;
for (int d = 0; defExists(d); ++d)