svga: fix clip plane regression after recent tgsi_scan change
authorBrian Paul <brianp@vmware.com>
Wed, 21 Oct 2015 22:07:33 +0000 (16:07 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 21 Oct 2015 23:12:19 +0000 (17:12 -0600)
commit18a631eb9056857a9ced477e7e3d1a435a906be2
treeba53b4ade34806f5acfc2d93fd1847d892d6069c
parent48c76eae8e52fba2fe22d2cfa7f3c94a5420feb2
svga: fix clip plane regression after recent tgsi_scan change

Before the change "tgsi/scan: use properties for clip/cull distance
writemasks", the tgsi_shader_info::num_written_clipdistance field
was a multiple of four, now it's an accurate count.  In the svga
driver, we need a minor change to the loop test.

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