mesa: extract _mesa_is_legal_tex_storage_format helper
authorChris Forbes <chrisf@ijw.co.nz>
Fri, 22 Mar 2013 06:58:03 +0000 (19:58 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sun, 31 Mar 2013 09:19:13 +0000 (22:19 +1300)
commit7f32b9560b63ffa6967bbc0c8e61d2cc30081ab3
tree647767b6ce4f3ad6459462aacc9dd36a120d810d
parentfdc5941972891711a1398440dd6b1f06f7598ef6
mesa: extract _mesa_is_legal_tex_storage_format helper

This is about to be used in teximagemultisample() when immutable=true.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/texstorage.c
src/mesa/main/texstorage.h