summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-11-15 12:34:35 -0800
committerEric Anholt <[email protected]>2016-11-29 08:38:59 -0800
commita220f1b5a9beaba146096971354ae37c6f75d4ef (patch)
treefbc38d977baaf655c1fda08439b0757339f15c9d /src/gallium/drivers/vc4/vc4_qir.c
parent7a8def8c18b38e629401f70328e387b48440da3a (diff)
vc4: Remove qir_inst4().
This was used originally for unorm4x8 packs, but we now represent those as a series of packed movs.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.c b/src/gallium/drivers/vc4/vc4_qir.c
index f9c9703e3f9..5999cc175ed 100644
--- a/src/gallium/drivers/vc4/vc4_qir.c
+++ b/src/gallium/drivers/vc4/vc4_qir.c
@@ -485,26 +485,6 @@ qir_inst(enum qop op, struct qreg dst, struct qreg src0, struct qreg src1)
return inst;
}
-struct qinst *
-qir_inst4(enum qop op, struct qreg dst,
- struct qreg a,
- struct qreg b,
- struct qreg c,
- struct qreg d)
-{
- struct qinst *inst = CALLOC_STRUCT(qinst);
-
- inst->op = op;
- inst->dst = dst;
- inst->src = calloc(4, sizeof(*inst->src));
- inst->src[0] = a;
- inst->src[1] = b;
- inst->src[2] = c;
- inst->src[3] = d;
-
- return inst;
-}
-
static void
qir_emit(struct vc4_compile *c, struct qinst *inst)
{