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 4ed5f18da16e892b3f3fd2046b18a8cfc07faa43..c52d824e34e213ef105bff48110bc7620e74aaa5 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)                                        \