svga: move variant->fs_shadow_compare_units assignment
authorBrian Paul <brianp@vmware.com>
Wed, 27 Dec 2017 18:05:52 +0000 (11:05 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 27 Dec 2017 18:34:51 +0000 (11:34 -0700)
commit3e59e442c3a668628bc780a6834059ed69afacb2
treef1c9722ba5761a87d8bffbdcf75213428da11ed9
parent3260a96c17a5738004cd7b126d934331b119c8ce
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