pan/bi: Zero initialize shader_info
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 19 Jul 2021 17:41:32 +0000 (13:41 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 28 Jul 2021 00:26:06 +0000 (00:26 +0000)
commitf01f5e71686170de64f668f23777d635d00f16c7
tree6b3620bbbd193755c93e711b204f8c6eb8f092c9
parent027a8bf82cfccd087e42a44a8bf92a941a6eb0ab
pan/bi: Zero initialize shader_info

Fixes the following assert with the standalone compiler

bifrost_compiler: ../src/panfrost/bifrost/bi_opt_push_ubo.c:134: bi_opt_push_ubo: Assertion `ctx->info->push.count == 0' failed.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12026>
src/panfrost/bifrost/cmdline.c