svga: add typeless switch cases in svga_typeless_format()
authorBrian Paul <brianp@vmware.com>
Tue, 27 Jun 2017 02:49:35 +0000 (20:49 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 3 Oct 2017 18:07:05 +0000 (12:07 -0600)
commitcbe72ae59880025d28e82a1d3cc0b2108e578574
treef9a658863772b667671bae81a47b9f65eca5dfa1
parent9a7d42b71c88aaa6f9d15d07d85c020fba192c52
svga: add typeless switch cases in svga_typeless_format()

We sometimes pass typeless formats to this function.  By adding switch
cases we avoid the "Unexpected format XXX in svga_typeless_format"
warning messages.  No functional change.

No Piglit regressions, no above-mentioned warning messages.

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_format.c