Mesa (master): vc4: Drop the dead QIR_PACK() macro.

Eric Anholt anholt at kemper.freedesktop.org
Mon Jul 4 23:38:50 UTC 2016


Module: Mesa
Branch: master
Commit: eaa53f80d9da292ade219c609f8ac37f9a8ca0d7
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=eaa53f80d9da292ade219c609f8ac37f9a8ca0d7

Author: Eric Anholt <eric at anholt.net>
Date:   Sat Jun 25 19:39:05 2016 -0700

vc4: Drop the dead QIR_PACK() macro.

This isn't used since we switched to using the dst.pack field instead of
custom instructions.

---

 src/gallium/drivers/vc4/vc4_qir.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index 4ed5f18..c52d824 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)                                        \




More information about the mesa-commit mailing list