mesa: Tweak unpack name for MESA_FORMAT_R8G8B8X8_SNORM
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>
Tue, 16 Sep 2014 06:28:04 +0000 (16:28 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 17 Sep 2014 02:05:08 +0000 (12:05 +1000)
commit3e3b1db5f77fd6ccc590dda2026376157ee88cbc
treec5c3c64ff29d04bac1bd8c43559f85413b50d1f3
parent3ff5c6a6c472288fa5f50d880621f38ea94b9c23
mesa: Tweak unpack name for MESA_FORMAT_R8G8B8X8_SNORM

MESA_FORMAT_R8G8B8X8_SNORM used a function called unpack_X8B8G8R8_SNORM
while MESA_FORMAT_R8G8B8X8_SRGB used a function called unpack_R8G8B8X8_SRGB.
This patch renames the SNORM function to have the same order as the
MESA_FORMAT name, like the SRGB function does.

Signed-off-by: Richard Sandiford <rsandifo@linux.vnet.ibm.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/mesa/main/format_unpack.c