summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shared.c
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2019-02-24 06:22:23 +0000
committerAlyssa Rosenzweig <[email protected]>2019-02-25 04:49:50 +0000
commitf943047e48698c7d3a482835f335d0d69a02014c (patch)
treefb3de8d8ae932f1189737c1b86b1121bb4a8809b /src/mesa/main/shared.c
parentc6be9969d25e60544a42a4cfd6062dd2a7e1ac1d (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