mesa/src/panfrost
Alyssa Rosenzweig 0a77dd3203 pan/midgard: Validate tags when branching
Midgard prefetches instructions based on tag (ALU, LD/ST, texture *
size). To do so, the shader descriptor specifies the tag of the first
instruction, all instructions specify the tag of the next linear
instruction is, and all branches explicitly specify the tag of the
branch target.

If you mess this up, you get an INSTR_TYPE_MISMATCH, which unambiguously
refers to this problem, but it's still annoying to try to work out all
the branch targets in your head to debug.

Instead, let's track the tags of various blocks over time, so we can
automatically validate tags of branch targets, to make
INSTR_TYPE_MISMATCH issues immediately obvious in a disassembly.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
2019-11-04 15:36:08 -05:00
..
bifrost nir: allow specifying filter callback in lower_alu_to_scalar 2019-09-06 01:51:28 +00:00
encoder panfrost: Correct polygon size computations 2019-08-21 08:40:53 -07:00
include panfrost: MALI_DEPTH_TEST is actually MALI_DEPTH_WRITEMASK 2019-11-04 16:14:09 +01:00
midgard pan/midgard: Validate tags when branching 2019-11-04 15:36:08 -05:00
pandecode panfrost: MALI_DEPTH_TEST is actually MALI_DEPTH_WRITEMASK 2019-11-04 16:14:09 +01:00
shared panfrost: Extend software tiling to larger bpp 2019-07-01 07:40:19 -07:00
Android.bifrost.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.encoder.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.midgard.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.pandecode.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Android.shared.mk android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
Makefile.sources android: Add panfrost support to build scripts 2019-10-31 10:03:54 +01:00
meson.build panfrost: Move pan_invocation to shared panfrost/ 2019-08-21 08:40:51 -07:00