summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-07-04 11:51:31 -0700
committerEric Anholt <[email protected]>2014-08-08 18:59:46 -0700
commiteea1d36915cb97ee1a6eb6aeaf15dd5689f03148 (patch)
tree8772bf5d41cbc05b72d5b2c0d62a59c4b3b4748a /src/gallium/drivers/vc4/vc4_qir.h
parentc29392751180e21a2857cade8d0b4902cbe9d001 (diff)
vc4: Make scheduling of NOPs a separate step from QIR -> QPU translation.
This should also be used as a way to pair QIR instructions into QPU instructions later.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index 75b1933e6a6..cd7133cdc88 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -126,8 +126,10 @@ struct qcompile {
struct simple_node instructions;
uint32_t immediates[1024];
+ struct simple_node qpu_inst_list;
uint64_t *qpu_insts;
- uint32_t num_qpu_insts;
+ uint32_t qpu_inst_count;
+ uint32_t qpu_inst_size;
};
struct qcompile *qir_compile_init(void);