vc4: Fix names of the 16-bit unpacks
authorEric Anholt <eric@anholt.net>
Wed, 5 Aug 2015 04:23:53 +0000 (21:23 -0700)
committerEric Anholt <eric@anholt.net>
Sun, 25 Oct 2015 00:55:55 +0000 (17:55 -0700)
They're only f16-to-f32 on a float operation, otherwise they're
i16-to-i32.

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

index eb3dfb3382752f4cc267a352422777b3dac7f6f2..626dc3be6bed7f5c463e13383bb1547f4d75388e 100644 (file)
@@ -200,8 +200,8 @@ enum qpu_pack_a {
 
 enum qpu_unpack {
         QPU_UNPACK_NOP,
-        QPU_UNPACK_16A_TO_F32,
-        QPU_UNPACK_16B_TO_F32,
+        QPU_UNPACK_16A,
+        QPU_UNPACK_16B,
         QPU_UNPACK_8D_REP,
         QPU_UNPACK_8A,
         QPU_UNPACK_8B,
index 0879787ec03c2dd99aba669028015d952e3a6509..a854db219ff2d6243319df5ec18c8b5e2bad257e 100644 (file)
@@ -98,8 +98,8 @@ static const char *qpu_pack_mul[] = {
  */
 static const char *qpu_unpack[] = {
         [QPU_UNPACK_NOP] = "",
-        [QPU_UNPACK_16A_TO_F32] = "16a",
-        [QPU_UNPACK_16B_TO_F32] = "16b",
+        [QPU_UNPACK_16A] = "16a",
+        [QPU_UNPACK_16B] = "16b",
         [QPU_UNPACK_8D_REP] = "8d_rep",
         [QPU_UNPACK_8A] = "8a",
         [QPU_UNPACK_8B] = "8b",
index 2055fa5d231c7f2341b2af411b97351b82415a38..cf493d6e47b7f1e1d116076a221c8b557b704f2b 100644 (file)
@@ -140,8 +140,8 @@ vc4_generate_code(struct vc4_context *vc4, struct vc4_compile *c)
                 QPU_UNPACK_8B,
                 QPU_UNPACK_8C,
                 QPU_UNPACK_8D,
-                QPU_UNPACK_16A_TO_F32,
-                QPU_UNPACK_16B_TO_F32,
+                QPU_UNPACK_16A,
+                QPU_UNPACK_16B,
         };
 
         list_inithead(&c->qpu_inst_list);