aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-09-15 12:19:28 -0700
committerEric Anholt <[email protected]>2014-09-15 13:12:27 -0700
commit2147dd96813d1faee5c55e84b332355ad05f070a (patch)
tree6d81af7f4403dfc23e352c7de621b33dd6a80713 /src/gallium/drivers/vc4/vc4_qir.h
parentf78ee1b280c82d525370cc378467276584acf0c8 (diff)
vc4: Fix memory leaks of struct qinst.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index 05a3249d39b..fbf56f02a3a 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -245,6 +245,7 @@ struct qinst *qir_inst4(enum qop op, struct qreg dst,
struct qreg b,
struct qreg c,
struct qreg d);
+void qir_remove_instruction(struct qinst *qinst);
void qir_emit(struct vc4_compile *c, struct qinst *inst);
struct qreg qir_get_temp(struct vc4_compile *c);
int qir_get_op_nsrc(enum qop qop);