diff options
author | Rob Clark <[email protected]> | 2019-10-11 11:35:53 -0700 |
---|---|---|
committer | Rob Clark <[email protected]> | 2019-10-18 21:11:54 +0000 |
commit | af817a44c15a387c920ec13a7f70aee4bd4a1a8c (patch) | |
tree | 03c014ea9efd203f78b2f8f72971e2f9b1fc88ce /src/freedreno/ir3/ir3_group.c | |
parent | 35692fab86ba5315a27572bf7f9bd85849ddbb5a (diff) |
freedreno/ir3: track sysval slot for inputs
Will be needed for special handling of SYSTEM_VALUE_BARYCENTRIC_PIXEL
(ij_pix) when pre-fs texture fetch is enabled.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/freedreno/ir3/ir3_group.c')
-rw-r--r-- | src/freedreno/ir3/ir3_group.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/freedreno/ir3/ir3_group.c b/src/freedreno/ir3/ir3_group.c index 397f8d6f8a7..4ff362b9990 100644 --- a/src/freedreno/ir3/ir3_group.c +++ b/src/freedreno/ir3/ir3_group.c @@ -60,6 +60,7 @@ static void arr_insert_mov_in(void *arr, int idx, struct ir3_instruction *instr) debug_assert(instr->regs_count == 1); in = ir3_instr_create(instr->block, OPC_META_INPUT); + in->input.sysval = instr->input.sysval; ir3_reg_create(in, instr->regs[0]->num, 0); /* create src reg for meta:in and fixup to now be a mov: */ |