commit | fae790ecfcd0f73c6512e52a2e430ed1ce7f5b12 | [log] [tgz] |
---|---|---|
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | Mon Jul 15 11:30:35 2019 -0700 |
committer | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | Mon Jul 15 16:12:55 2019 -0700 |
tree | 9b8bf7874d11ff3d902c949a5ae00103f6d0fcab | |
parent | 0ba508d7a3b6a006b5b8db1e865d33efc8d0abd5 [diff] |
panfrost: Allocate UBOs on the stack, not the heap Saves a call to calloc (the maximum size is small and known at compile-time) and fixes a leak. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>