svga: abort shader translation upon indirect indexing of temporaries
authorCharmaine Lee <charmainel@vmware.com>
Wed, 2 Aug 2017 01:02:57 +0000 (18:02 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 8 Sep 2017 19:58:38 +0000 (13:58 -0600)
commit57d9222ef29e080e944f28fdeeef9ed226461e08
tree176d563098eee4a46cb4cac43604917460acf348
parent885d75760b9157f1d84105c979503ec8588470c6
svga: abort shader translation upon indirect indexing of temporaries

This patch aborts shader translation upon indirect indexing of temporary
register on non-vgpu10 device. This prevents non-supported feature
sending to the device.

Tested wth MTT-piglit, glretrace.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/drivers/svga/svga_tgsi.c