vc4: Rename the 16-bit unpack #define.
authorEric Anholt <eric@anholt.net>
Mon, 15 Dec 2014 20:26:29 +0000 (12:26 -0800)
committerEric Anholt <eric@anholt.net>
Mon, 15 Dec 2014 22:33:01 +0000 (14:33 -0800)
It's only an f16 conversion if you're doing a float operation, otherwise
it's 16 bit signed to 32-bit signed.

src/gallium/drivers/vc4/vc4_qpu_defines.h
src/gallium/drivers/vc4/vc4_qpu_disasm.c

index 27b4efe..b2f028f 100644 (file)
@@ -197,8 +197,8 @@ enum qpu_pack_a {
 
 enum qpu_unpack {
         QPU_UNPACK_NOP,
-        QPU_UNPACK_F16A_TO_F32,
-        QPU_UNPACK_F16B_TO_F32,
+        QPU_UNPACK_16A_TO_F32,
+        QPU_UNPACK_16B_TO_F32,
         QPU_UNPACK_8D_REP,
         QPU_UNPACK_8A,
         QPU_UNPACK_8B,
index 65fe6dc..2511fcf 100644 (file)
@@ -98,8 +98,8 @@ static const char *qpu_pack_mul[] = {
  */
 static const char *qpu_unpack[] = {
         [QPU_UNPACK_NOP] = "",
-        [QPU_UNPACK_F16A_TO_F32] = "f16a",
-        [QPU_UNPACK_F16B_TO_F32] = "f16b",
+        [QPU_UNPACK_16A_TO_F32] = "16a",
+        [QPU_UNPACK_16B_TO_F32] = "16b",
         [QPU_UNPACK_8D_REP] = "8d_rep",
         [QPU_UNPACK_8A] = "8a",
         [QPU_UNPACK_8B] = "8b",