pan/decode: Dump to a file
authorIcecream95 <ixn@keemail.me>
Wed, 22 Jan 2020 21:23:17 +0000 (10:23 +1300)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Jan 2020 20:46:38 +0000 (20:46 +0000)
commitc1952779d68fdaea153d762fe2d83810b346085b
treee04fc85d306909718036d2971cc6dfd6cf545f53
parentbe22c0789f52b0a340a878195d5b62804f5629e0
pan/decode: Dump to a file

The file name is taken from the environment variable
PANDECODE_DUMP_FILE, defaulting to pandecode.dump if it is not set.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3525>
src/panfrost/pandecode/common.c
src/panfrost/pandecode/public.h