summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2019-06-25 08:21:15 +0200
committerTomeu Vizoso <[email protected]>2019-06-27 09:12:56 +0200
commitb26c2b48405e58d0446caf535752cef80140405b (patch)
treec46deba57ca5a17a086683c45107bbdfc5d05b1d /src
parentd5004f60be7e5f950f5bd8fc8ced75f7a6dc3421 (diff)
panfrost/decode: Print AFBC struct when appropriate
Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/panfrost/pandecode/decode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/panfrost/pandecode/decode.c b/src/gallium/drivers/panfrost/pandecode/decode.c
index 6db56ee709a..8f96624872a 100644
--- a/src/gallium/drivers/panfrost/pandecode/decode.c
+++ b/src/gallium/drivers/panfrost/pandecode/decode.c
@@ -619,8 +619,7 @@ pandecode_render_target(uint64_t gpu_va, unsigned job_no, const struct bifrost_f
pandecode_rt_format(rt->format);
- /* TODO: How the actual heck does AFBC enabling work here? */
- if (0) {
+ if (rt->format.block == MALI_MFBD_BLOCK_AFBC) {
pandecode_log(".afbc = {\n");
pandecode_indent++;