diff options
author | Eric Anholt <[email protected]> | 2014-12-15 10:45:58 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-12-15 14:28:23 -0800 |
commit | 8e678de761e755564ade2794dbf68280a4972b66 (patch) | |
tree | 9c66e2ff7fa33d092a46584da8646e7e1cae5aaa /src/gallium/drivers/vc4/vc4_program.c | |
parent | ade7704685df3054c04203232334e1475d87ac46 (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_program.c')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c index 1362170b7a3..0bec265a798 100644 --- a/src/gallium/drivers/vc4/vc4_program.c +++ b/src/gallium/drivers/vc4/vc4_program.c @@ -1024,7 +1024,7 @@ emit_vertex_input(struct vc4_compile *c, int attr) struct qreg vpm = vpm_reads[0]; if (desc->channel[swiz].type == UTIL_FORMAT_TYPE_SIGNED) vpm = qir_XOR(c, vpm, qir_uniform_ui(c, 0x80808080)); - result = qir_UNPACK_8(c, vpm, swiz); + result = qir_UNPACK_8_F(c, vpm, swiz); } else { if (!format_warned) { fprintf(stderr, |