svga: move comment, declaration in svga_init_shader_key_common()
authorBrian Paul <brianp@vmware.com>
Tue, 11 Jul 2017 18:57:46 +0000 (12:57 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 12 Jul 2017 16:58:08 +0000 (10:58 -0600)
commitf62bc96dd6d6e45680e6da51b920e161c4f3959a
tree9a26e124f993a7d3a79fc2aac53e9fc301278d3d
parent33eedd081eb6779b16fdc41f8e6f6b424011393e
svga: move comment, declaration in svga_init_shader_key_common()

put the comment before the relevant code.  Move declaration of
swizzle_tab var to where it's used.

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