panfrost: Handle disabled/empty UBOs
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 20 Jun 2019 23:51:08 +0000 (16:51 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 24 Jun 2019 19:57:40 +0000 (12:57 -0700)
commitf28e9e868b42d3df67dba76cb363e55ec4eee424
treebcd8884bfce05c987b6d472233686ceae43f05ab
parentbd2fc60a8a3355def129cde8587f3c9ff90162cf
panfrost: Handle disabled/empty UBOs

Prevents an assert(0) later in this (not so edge) case. We still have to
have a dummy there.

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