diff options
author | Eric Anholt <[email protected]> | 2015-09-09 13:23:55 -0400 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-09-16 15:07:08 -0400 |
commit | cfa980f49356eb2d94178f8cc9d67d01b4e3d695 (patch) | |
tree | 0f2873c2df83a83ebc48d4faa5201ca74048fab5 /src/gallium/drivers/vc4/vc4_qir.c | |
parent | 8fd3e53f3dc40e4013348e63a0cc7a2787410899 (diff) |
vc4: convert from tgsi semantic/index to varying-slot
(originally part of previous patch, split out to separate patch by Rob)
v2: squash in some fixes from Eric
v3: Another fix from Eric for point coords.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c index 073ba5ffc23..e385fbb65ae 100644 --- a/src/gallium/drivers/vc4/vc4_qir.c +++ b/src/gallium/drivers/vc4/vc4_qir.c @@ -147,7 +147,7 @@ qir_has_side_effect_reads(struct vc4_compile *c, struct qinst *inst) */ for (int i = 0; i < qir_get_op_nsrc(inst->op); i++) { if (inst->src[i].file == QFILE_VARY && - c->input_semantics[inst->src[i].index].semantic == 0xff) { + c->input_slots[inst->src[i].index].slot == 0xff) { return true; } |