svga: fix incorrect case in svga_typeless_format()
authorBrian Paul <brianp@vmware.com>
Tue, 27 Jun 2017 16:00:58 +0000 (10:00 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 3 Oct 2017 18:07:05 +0000 (12:07 -0600)
commitb7c08e50812cd356bfe8caa00f1962c97774744f
tree355ef1b7b206129c4271216e730475a863057af2
parentcbe72ae59880025d28e82a1d3cc0b2108e578574
svga: fix incorrect case in svga_typeless_format()

For the case of SVGA3D_X32_G8X24_UINT we incorrectly returned
SVGA3D_R32_FLOAT_X8X24.  We should return SVGA3D_R32G8X24_TYPELESS.

Note that we never actually use SVGA3D_X32_G8X24_UINT so this has
no impact.

No Piglit regressions.

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