svga: minor improvements in svga_state_constants.c
authorBrian Paul <brianp@vmware.com>
Fri, 24 Aug 2018 21:17:20 +0000 (15:17 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 29 Aug 2018 17:29:07 +0000 (11:29 -0600)
commit46c7433da80aed0dcd2f7ee5d58dd9f7ebf37647
treefac41494336efdef3ab5e63563ea7ae698a8761a
parentcdea5d996edaaf59ab0acf3e758c3d9a4c22c335
svga: minor improvements in svga_state_constants.c

Add const qualifiers.  Add 'f' suffix on floats to avoid double
promotion.

Remove unneeded shader type assertion since the switch statement
handled it already.

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