diff options
author | Eric Anholt <[email protected]> | 2018-01-11 11:53:13 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-01-12 21:57:21 -0800 |
commit | 368bab43fd63ec395a2e178ce067f41bae7a1ea0 (patch) | |
tree | ba0b6713596a4b914052b331e4edaa8abf78d64a /src/broadcom/compiler/vir.c | |
parent | af9753e246c2a4371a289b44064483ece8d1ad5d (diff) |
broadcom/vc5: Add support for loading varyings in V3D 4.1.
The LDVARY signal now writes an arbitrary register, so I took out the
magic src register file and replaced it with an instruction with LDVARY
set so we have somewhere to hang a QFILE_TEMP destination for register
allocation.
Diffstat (limited to 'src/broadcom/compiler/vir.c')
-rw-r--r-- | src/broadcom/compiler/vir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/broadcom/compiler/vir.c b/src/broadcom/compiler/vir.c index 94593e3f6c7..7ea431036ef 100644 --- a/src/broadcom/compiler/vir.c +++ b/src/broadcom/compiler/vir.c @@ -110,6 +110,7 @@ vir_has_side_effects(struct v3d_compile *c, struct qinst *inst) } if (inst->qpu.sig.ldtmu || + inst->qpu.sig.ldvary || inst->qpu.sig.wrtmuc || inst->qpu.sig.thrsw) { return true; @@ -210,7 +211,6 @@ vir_writes_r3(const struct v3d_device_info *devinfo, struct qinst *inst) { for (int i = 0; i < vir_get_nsrc(inst); i++) { switch (inst->src[i].file) { - case QFILE_VARY: case QFILE_VPM: return true; default: |