commit | b28f4bb67ce385b8e87c8d2c4d29195fe557547c | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@collabora.com> | Thu Mar 05 10:46:39 2020 +0100 |
committer | Boris Brezillon <boris.brezillon@collabora.com> | Tue Mar 10 12:47:33 2020 +0100 |
tree | 09ad2853ec93f4f69a92255610f05a1257d41c7a | |
parent | a0402f79601c69089cc3cefab51adab9c3331669 [diff] |
panfrost: Add an helper to retrieve the currently active shader state Doing that improves readability and helps avoiding code duplication. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4083>