svga: loosen the condition to flush in get_query_result_vgpu10()
authorBrian Paul <brianp@vmware.com>
Fri, 19 Aug 2016 16:15:14 +0000 (10:15 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 26 Aug 2016 12:19:52 +0000 (06:19 -0600)
commite292f38c6c2aba28299b988ec4654b7c02d9adb8
tree818543ee3a38e91e66d8a32ba764f303a6133f6e
parent99d8fe20abe1fe55ea357bfc6f8d9a7af946cfc5
svga: loosen the condition to flush in get_query_result_vgpu10()

Fixes piglit spec/ext_transform_feedback/overflow-edge-cases segfaults
because the query's fence pointer was null.

Tested with Piglit, Sauerbraten, ETQW.

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