summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-09-16 15:58:32 -0700
committerEric Anholt <[email protected]>2014-09-17 14:21:24 -0700
commit5e90ed79f670cc1c5c12c8b733d4591af0acb5ab (patch)
tree125bb68594ede6c772cb47a9c3d87f8af2f08414 /src/gallium/drivers/vc4/vc4_qir.h
parentb0256fb75f40a4e428366fcc69ebee47970fd01d (diff)
vc4: Add support for reordering the uniform stream after optimization.
This allows for introducing dead code eliminating of uniforms, copy propagation of uniforms, and instruction rescheduling between instructions that both read uniforms.
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 f3dad5ed67c..2ab30496aad 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -253,6 +253,7 @@ struct qinst *qir_inst4(enum qop op, struct qreg dst,
struct qreg c,
struct qreg d);
void qir_remove_instruction(struct qinst *qinst);
+void qir_reorder_uniforms(struct vc4_compile *c);
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);