aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/panfrost/bifrost/bifrost_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c
index a1040eb6f0f..6cd97b92ba3 100644
--- a/src/panfrost/bifrost/bifrost_compile.c
+++ b/src/panfrost/bifrost/bifrost_compile.c
@@ -230,7 +230,7 @@ bi_emit_sysval(bi_context *ctx, nir_instr *instr,
bi_instruction load = {
.type = BI_LOAD_UNIFORM,
.writemask = (1 << (nr_components * 4)) - 1,
- .src = { BIR_INDEX_CONSTANT},
+ .src = { BIR_INDEX_CONSTANT, BIR_INDEX_ZERO },
.constant = { (uniform * 16) + offset },
.dest = bir_dest_index(&nir_dest),
.dest_type = nir_type_uint32, /* TODO */