ttn: set ->info->num_ubos
authorRob Clark <robdclark@gmail.com>
Thu, 22 Dec 2016 05:56:48 +0000 (00:56 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 27 Dec 2016 21:54:01 +0000 (16:54 -0500)
commit859cb24d94f3b0b7f8f0e98642ff4b92b1f7f2f1
treeaad49c7394ec4f5be10444f42983f5a7b460eee0
parentd6545f234593fb00d02fdc07f9b2a803d2b569f6
ttn: set ->info->num_ubos

For dealing w/ 32b vs 64b gpu addresses, I need to rework how we pass
UBO buffer addresses to shader, and knowing up front the # of UBOs is
useful.  But I noticed ttn wasn't setting this.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/nir/tgsi_to_nir.c