svga: simplify array test in svga_init_shader_key_common()
authorBrian Paul <brianp@vmware.com>
Tue, 14 Nov 2017 16:34:29 +0000 (09:34 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commit767c1eb43686ef6bebf7ebc99c4cef9c6f58d4af
tree2aec83725670a395d888d446e6823effdb2c188c
parent45517f492b461df1e536c254c5f7e0fbb9295c53
svga: simplify array test in svga_init_shader_key_common()

And squash commit a patch to silence a compiler warning (add
default case to the switch statement).

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