summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_serialize.h
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-02-18 14:20:16 -0500
committerAlyssa Rosenzweig <[email protected]>2020-02-21 07:27:05 -0500
commitb929565ea8d4846b1943f35b6e86d685a616ed54 (patch)
treeade22274d92ad322a463b9849d88ca91878a62e1 /src/compiler/nir/nir_serialize.h
parentad44f587a8e3adbfa76aaea88f59e1f0724805b7 (diff)
panfrost: Rewrite texture descriptor creation logic
Rather than creating partially within the Gallium create function and monkeypatching on draw time with code split across N different files with tight Gallium dependencies, let's streamline everything into a series of maintainable routines in mesa/src/panfrost with no Gallium dependencies, doing the entire texture creation in one-shot and thus adding absolutely zero draw-time overhead (since we can allocate a BO for the descriptor and upload ahead-of-time, so switching textures is as cheap as switching pointers). Was this worth it? You know, I'm not sure :| Signed-off-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Boris Brezillon <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3858> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3858>
Diffstat (limited to 'src/compiler/nir/nir_serialize.h')
0 files changed, 0 insertions, 0 deletions