vc4: Make a helper for TLB color writes, too.

We've done so for all the other QIR instruction generation in this file.
This commit is contained in:
Eric Anholt
2015-06-23 18:04:00 -07:00
parent af83eb2581
commit 0f69d59b1c
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1515,7 +1515,7 @@ emit_frag_end(struct vc4_compile *c)
qir_TLB_Z_WRITE(c, z);
}
qir_emit(c, qir_inst(QOP_TLB_COLOR_WRITE, c->undef, color, c->undef));
qir_TLB_COLOR_WRITE(c, color);
}
static void
+1
View File
@@ -523,6 +523,7 @@ QIR_ALU0(FRAG_W)
QIR_ALU0(FRAG_REV_FLAG)
QIR_ALU0(TEX_RESULT)
QIR_ALU0(TLB_COLOR_READ)
QIR_NODST_1(TLB_COLOR_WRITE)
QIR_NODST_1(TLB_Z_WRITE)
QIR_NODST_1(TLB_DISCARD_SETUP)
QIR_NODST_1(TLB_STENCIL_SETUP)