swrast: Move _mesa_format_pack_colormask() to the only caller.
authorEric Anholt <eric@anholt.net>
Tue, 2 Jul 2019 00:20:55 +0000 (17:20 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Jul 2019 19:51:13 +0000 (12:51 -0700)
commite8360a64e43f2f254addd6dc414df018f6286a92
tree41a5d4cc7991f3ebacc2e0d60e7bb55427d671b5
parent4d23157a8bf5da2f20ad477029fcf59d9df8557e
swrast: Move _mesa_format_pack_colormask() to the only caller.

This avoids needing format_pack to have access to the GLenum return
functions for mesa_format.  It seems like an odd function and unlikely
to be reused.

Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/mesa/main/format_pack.h
src/mesa/main/format_pack.py
src/mesa/swrast/s_clear.c