panfrost/decode: Stride decoding
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 14 May 2019 22:42:47 +0000 (22:42 +0000)
committerAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 16 May 2019 01:15:37 +0000 (01:15 +0000)
commitcea935205919d825a3ff5287acd08f9832381168
tree2813334ac64883025716019804f53cc8a4f54822
parentd699ffbf0e889980fcbfb8f39bc5ed9add90310a
panfrost/decode: Stride decoding

With a special flag, texture descriptors can include custom stride(s).
We haven't seen a case of this used for mipmaps/cubemaps, so it's not
clear how that will be encoded, but this dumps correctly for single
one-level 2D textures.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
src/gallium/drivers/panfrost/include/panfrost-job.h
src/gallium/drivers/panfrost/pandecode/decode.c