vc4: Drop the dead QIR_PACK() macro.
authorEric Anholt <eric@anholt.net>
Sun, 26 Jun 2016 02:39:05 +0000 (19:39 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 4 Jul 2016 23:33:18 +0000 (16:33 -0700)
This isn't used since we switched to using the dst.pack field instead of
custom instructions.

src/gallium/drivers/vc4/vc4_qir.h

index 4ed5f18..c52d824 100644 (file)
@@ -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)                                        \