freedreno/a3xx/compiler: ensure min # of cycles after bary instr
authorRob Clark <robclark@freedesktop.org>
Fri, 21 Jun 2013 19:05:12 +0000 (15:05 -0400)
committerRob Clark <robclark@freedesktop.org>
Fri, 21 Jun 2013 19:37:05 +0000 (15:37 -0400)
commitefdc6caaf50b7b707b965f8f74939e0f00576bdf
tree501571e86d7a570fffcdac4d6ba426d46ec4ad34
parentd4aaa4439a0ecd665a2967e9d36d88e0aa080d6d
freedreno/a3xx/compiler: ensure min # of cycles after bary instr

The results of a bary.f do not appear to be immediatley available, but
there is no explicit sync bit.  Instead the compiler must just ensure
that there are a minimum number of instructions following the bary
before use of the result of the bary.  We aren't clever enough for that
so just throw in some nop's.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_compiler.c