panfrost: Emit attribute descriptors after patching the templates
authorBoris Brezillon <boris.brezillon@collabora.com>
Thu, 5 Mar 2020 18:48:30 +0000 (19:48 +0100)
committerBoris Brezillon <boris.brezillon@collabora.com>
Tue, 10 Mar 2020 11:47:34 +0000 (12:47 +0100)
commit575f62ea02ecd420572fd952cff5da0304ade17c
tree85ec0c0fe567d948b11c6b510074bcb5f3d3b58e
parent4a2ee61a22f5b408a4ac5377b735df3d9d312f50
panfrost: Emit attribute descriptors after patching the templates

Patching attribute desc when they are in cacheable memory should be
more efficient.

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>
src/gallium/drivers/panfrost/pan_context.c