From: Eric Anholt Date: Sun, 26 Jun 2016 02:39:05 +0000 (-0700) Subject: vc4: Drop the dead QIR_PACK() macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eaa53f80d9da292ade219c609f8ac37f9a8ca0d7;p=mesa.git vc4: Drop the dead QIR_PACK() macro. This isn't used since we switched to using the dst.pack field instead of custom instructions. --- diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h index 4ed5f18da16..c52d824e34e 100644 --- a/src/gallium/drivers/vc4/vc4_qir.h +++ b/src/gallium/drivers/vc4/vc4_qir.h @@ -585,14 +585,6 @@ qir_##name(struct vc4_compile *c, struct qreg a, struct qreg b) \ return inst; \ } -#define QIR_PACK(name) \ -static inline struct qreg \ -qir_##name(struct vc4_compile *c, struct qreg dest, struct qreg a) \ -{ \ - qir_emit_nodef(c, qir_inst(QOP_##name, dest, a, c->undef)); \ - return dest; \ -} - #define QIR_PAYLOAD(name) \ static inline struct qreg \ qir_##name(struct vc4_compile *c) \