summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_qir.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-12-15 10:45:58 -0800
committerEric Anholt <[email protected]>2014-12-15 14:28:23 -0800
commit8e678de761e755564ade2794dbf68280a4972b66 (patch)
tree9c66e2ff7fa33d092a46584da8646e7e1cae5aaa /src/gallium/drivers/vc4/vc4_qir.h
parentade7704685df3054c04203232334e1475d87ac46 (diff)
vc4: Rename UNPACK_8* to UNPACK_8*_F.
There is an equivalent unpack function without conversion to float if you use an integer operation instead.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_qir.h')
-rw-r--r--src/gallium/drivers/vc4/vc4_qir.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qir.h b/src/gallium/drivers/vc4/vc4_qir.h
index 0b76a2f246e..c612b283b90 100644
--- a/src/gallium/drivers/vc4/vc4_qir.h
+++ b/src/gallium/drivers/vc4/vc4_qir.h
@@ -109,10 +109,10 @@ enum qop {
QOP_FRAG_W,
QOP_FRAG_REV_FLAG,
- QOP_UNPACK_8A,
- QOP_UNPACK_8B,
- QOP_UNPACK_8C,
- QOP_UNPACK_8D,
+ QOP_UNPACK_8A_F,
+ QOP_UNPACK_8B_F,
+ QOP_UNPACK_8C_F,
+ QOP_UNPACK_8D_F,
/** Texture x coordinate parameter write */
QOP_TEX_S,
@@ -489,10 +489,10 @@ qir_SEL_X_0_COND(struct vc4_compile *c, int i)
}
static inline struct qreg
-qir_UNPACK_8(struct vc4_compile *c, struct qreg src, int i)
+qir_UNPACK_8_F(struct vc4_compile *c, struct qreg src, int i)
{
struct qreg t = qir_get_temp(c);
- qir_emit(c, qir_inst(QOP_UNPACK_8A + i, t, src, c->undef));
+ qir_emit(c, qir_inst(QOP_UNPACK_8A_F + i, t, src, c->undef));
return t;
}