commit | 5393d734a85da28a7466ae840d205bbb172de4b9 | [log] [tgz] |
---|---|---|
author | Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> | Fri Aug 21 10:42:59 2020 -0400 |
committer | Tomeu Vizoso <tomeu.vizoso@collabora.com> | Tue Aug 25 17:05:37 2020 +0200 |
tree | c5ebdfc8b340c854ac5e538edaede13c8d86ccd0 | |
parent | 661b46958d770a101462bb47840b485d6a183111 [diff] |
panfrost: Derive UBO count from shader_info Rather than checking against the bound constant buffers. Like with num_textures, this eliminates a dependency of the shader descriptor on the context, which matters especially for vertex/compute shaders. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6440>