svga: add a helper function to check for typeless format
authorCharmaine Lee <charmainel@vmware.com>
Mon, 24 Oct 2016 17:50:29 +0000 (10:50 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Nov 2016 20:29:22 +0000 (14:29 -0600)
commit0d221fcd40e2f942b855915bedcf1a6e60001856
treed7a42d8fdb36a3a05212592be8fed9bbebe7290f
parentd451421bcaf31f935c66b6830000fa0873fce192
svga: add a helper function to check for typeless format

This patch adds a helper function svga_format_is_typeless() which
returns TRUE if the specified format is typeless.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_format.c
src/gallium/drivers/svga/svga_format.h