freedreno/ir3: standalone compiler updates for ir3test
authorRob Clark <robclark@freedesktop.org>
Fri, 24 Oct 2014 21:05:49 +0000 (17:05 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 25 Oct 2014 13:08:15 +0000 (09:08 -0400)
commitd6252d0f633292b01c3964d0e3da12f759bec9c5
tree805418ccdf5b17a044d32cd3fe8d6ffa484c5f33
parent762c68b8796bea8a277c883b94f7184a8307f274
freedreno/ir3: standalone compiler updates for ir3test

In order to test compiler changes more easily, spit out the assembled
shader with some header information so that we can know about
inputs/outputs more easily.

See: git://people.freedesktop.org/~robclark/ir3test

In ir3test we have a big collection of tgsi shaders and reference
ir3_compiler outputs.  When making compiler changes, regenerate the
compiler outputs and feed to ir3test to compare the new vs reference
shader.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/disasm-a3xx.c
src/gallium/drivers/freedreno/ir3/ir3.h
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
src/gallium/drivers/freedreno/ir3/ir3_compiler.c