svga: move variant->fs_shadow_compare_units assignment
authorBrian Paul <brianp@vmware.com>
Wed, 27 Dec 2017 18:36:03 +0000 (11:36 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commitc174ee9f9dc8ae29df3218e6b293ad309e6a9a86
treeb38421389dd2c6c0e34e3abb25b3e4df062a76ae
parentcb70474b2006dd30d755a7177fd60fb582da849b
svga: move variant->fs_shadow_compare_units assignment

Fixes a crash since the variant object isn't allocated until later
in the function.  Not sure how this got through.

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