diff options
author | Eric Anholt <[email protected]> | 2014-12-15 12:26:29 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-12-15 14:33:01 -0800 |
commit | 9ca32d6c19489653222ff1084856fa5584932b66 (patch) | |
tree | 277a47ece86635984d94e49e9857a101d0720da5 /src/gallium/drivers/vc4 | |
parent | 2142fd1f6f36ef9a384ef298fec02111dc826308 (diff) |
vc4: Rename the 16-bit unpack #define.
It's only an f16 conversion if you're doing a float operation, otherwise
it's 16 bit signed to 32-bit signed.
Diffstat (limited to 'src/gallium/drivers/vc4')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qpu_defines.h | 4 | ||||
-rw-r--r-- | src/gallium/drivers/vc4/vc4_qpu_disasm.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/vc4/vc4_qpu_defines.h b/src/gallium/drivers/vc4/vc4_qpu_defines.h index 27b4efef415..b2f028f0194 100644 --- a/src/gallium/drivers/vc4/vc4_qpu_defines.h +++ b/src/gallium/drivers/vc4/vc4_qpu_defines.h @@ -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, diff --git a/src/gallium/drivers/vc4/vc4_qpu_disasm.c b/src/gallium/drivers/vc4/vc4_qpu_disasm.c index 65fe6dcec95..2511fcfc937 100644 --- a/src/gallium/drivers/vc4/vc4_qpu_disasm.c +++ b/src/gallium/drivers/vc4/vc4_qpu_disasm.c @@ -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", |