aboutsummaryrefslogtreecommitdiffstats
path: root/src/broadcom/compiler/vir_to_qpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/broadcom/compiler/vir_to_qpu.c')
-rw-r--r--src/broadcom/compiler/vir_to_qpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/broadcom/compiler/vir_to_qpu.c b/src/broadcom/compiler/vir_to_qpu.c
index 0ab0f26c953..60d39063d53 100644
--- a/src/broadcom/compiler/vir_to_qpu.c
+++ b/src/broadcom/compiler/vir_to_qpu.c
@@ -366,6 +366,9 @@ reads_uniform(const struct v3d_device_info *devinfo, uint64_t instruction)
return true;
}
+ if (qpu.type == V3D_QPU_INSTR_TYPE_BRANCH)
+ return true;
+
if (qpu.type == V3D_QPU_INSTR_TYPE_ALU) {
if (qpu.alu.add.magic_write &&
v3d_qpu_magic_waddr_loads_unif(qpu.alu.add.waddr)) {