diff options
author | Alyssa Rosenzweig <[email protected]> | 2020-02-18 14:20:16 -0500 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2020-02-21 07:27:05 -0500 |
commit | b929565ea8d4846b1943f35b6e86d685a616ed54 (patch) | |
tree | ade22274d92ad322a463b9849d88ca91878a62e1 /src/compiler/nir/nir_serialize.h | |
parent | ad44f587a8e3adbfa76aaea88f59e1f0724805b7 (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