panfrost: Report UBO count
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 20 Jun 2019 23:16:07 +0000 (16:16 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 24 Jun 2019 19:57:40 +0000 (12:57 -0700)
commit5d60be4e246710fafea52b6d103433ead224a80c
treee2b9b619378da5ed9e29f47516b188fc4e7db08b
parentca2caf01dff2e26da8a4aaa41465fdf31faa85dc
panfrost: Report UBO count

We look at the highest set bit in the UBO enable mask to work out the
maximum indexable UBO, i.e. the UBO count as we need to report to the
hardware.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_context.c