summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qpu.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-12-02 16:23:40 -0800
committerEric Anholt <eric@anholt.net>2014-12-05 10:43:14 -0800
commitbd4057a5d74fd12222801c55ee98346af9c1095d (patch)
treeae385eb79977ee52da125022b1fe5656efdca32a /src/gallium/drivers/vc4/vc4_qpu.h
parentdadc32ac8072cf78b405d1b54414e1f020b0de41 (diff)
downloadexternal_mesa3d-bd4057a5d74fd12222801c55ee98346af9c1095d.zip
external_mesa3d-bd4057a5d74fd12222801c55ee98346af9c1095d.tar.gz
external_mesa3d-bd4057a5d74fd12222801c55ee98346af9c1095d.tar.bz2
vc4: Refuse to merge two ops that both access shared functions.
Avoids assertion failures in vc4_qpu_validate.c if we happen to find the right set of operations available.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qpu.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qpu.h b/src/gallium/drivers/vc4/vc4_qpu.h
index eb06d1a..e1307eb 100644
--- a/src/gallium/drivers/vc4/vc4_qpu.h
+++ b/src/gallium/drivers/vc4/vc4_qpu.h
@@ -137,6 +137,7 @@ uint64_t qpu_set_cond_mul(uint64_t inst, uint32_t cond);
bool qpu_waddr_is_tlb(uint32_t waddr);
bool qpu_inst_is_tlb(uint64_t inst);
+int qpu_num_sf_accesses(uint64_t inst);
void qpu_serialize_one_inst(struct vc4_compile *c, uint64_t inst);
static inline uint64_t