panfrost/midgard: Print texture offsets
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 10 Jun 2019 17:15:28 +0000 (10:15 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 11 Jun 2019 15:44:18 +0000 (08:44 -0700)
commitb0396d6dda46e16ef4e3549fafc37818668697f7
tree6041c13859d34e3bc490105247b914bdfbd61a8e
parented1c48e91d0d43e2e796e904d6093f2474a1e00d
panfrost/midgard: Print texture offsets

This patch identifies the two modes of offsets in a texture instruction
(immediate and register, disambiguated by the bit-once-known-as
"has_offset") and implements disassembly for both.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/midgard/disassemble.c
src/gallium/drivers/panfrost/midgard/midgard.h