gallivm: fix default cbuf info.
authorRoland Scheidegger <sroland@vmware.com>
Fri, 24 May 2019 00:41:12 +0000 (02:41 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Fri, 24 May 2019 17:22:50 +0000 (19:22 +0200)
commitd4e8a44bf6403109f0e6e22650b0379d305712db
treef78cd66ccc34f8a019885311da32010db0708373
parent84f3f1cf00fec036c9f503ce46e8bbcc3f9b4ae9
gallivm: fix default cbuf info.

The default null_output really needs to be static, otherwise the values
we'll eventually get later are doubly random (they are not initialized,
and even if they were it's a pointer to a local stack variable).
VMware bug 2349556.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_info.c