svga: use new svga_new_shader_variant() function
authorBrian Paul <brianp@vmware.com>
Fri, 9 Oct 2015 03:06:18 +0000 (21:06 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 16 Oct 2015 17:43:28 +0000 (11:43 -0600)
commitf413f1a17c506d5d4474a1baa0556a9e9f554c63
treed964837bc9636e1850251a06bbca03c60ce783c5
parent8d0d5dca5bd076ef363d3e923e6473916f3a9d35
svga: use new svga_new_shader_variant() function

To simplify upcoming new HUD shader count implementation.

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