diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-02-24 06:22:23 +0000 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-02-25 04:49:50 +0000 |
commit | f943047e48698c7d3a482835f335d0d69a02014c (patch) | |
tree | fb3de8d8ae932f1189737c1b86b1121bb4a8809b /src/mesa/main/shared.c | |
parent | c6be9969d25e60544a42a4cfd6062dd2a7e1ac1d (diff) |
panfrost: Decode render target swizzle/channels
On MRT-capable systems, the framebuffer format is encoded as a 64-bit
word in the render target descriptor. Previously, the two 32-bit
words were exposed as opaque hex values. This commit identifies a 12-bit
Mali swizzle and a 2-bit channel counter, removing some of the magic. It
also adds decoding support for the AFBC and MSAA enable bits, which were
already known but otherwise ignored in pandecode.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/mesa/main/shared.c')
0 files changed, 0 insertions, 0 deletions