vc4: Fix UBO allocation when no uniforms are used.
authorEric Anholt <eric@anholt.net>
Fri, 18 Jul 2014 23:29:18 +0000 (16:29 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 9 Aug 2014 01:59:46 +0000 (18:59 -0700)
commit427f934f9e75deafdc40348aad0426ea2b31515c
tree917e8c3315d6a58f640fac71bdd98a0a140444d3
parentdb8712bcbc7875f1b7cff1cf5c6e08eed028f77f
vc4: Fix UBO allocation when no uniforms are used.

We do rely on a real BO getting allocated, so make sure we ask for a non-zero size.
src/gallium/drivers/vc4/vc4_program.c