freedreno/a5xx: fix negative branches
authorRob Clark <robdclark@gmail.com>
Wed, 30 Nov 2016 21:43:42 +0000 (16:43 -0500)
committerRob Clark <robdclark@gmail.com>
Wed, 30 Nov 2016 22:32:54 +0000 (17:32 -0500)
commit45eef9af03639a409ef54b136bb4902b9825864b
tree4977d4a9bb70ba1be4bcf5192eb9ac6514936773
parentef30e91fe657438828a9a41b5da1170ceee2d913
freedreno/a5xx: fix negative branches

Looks like immed branch offset size increased again.. making what we
think is a small negative number look to hw like a huge positive number.
And things go badly when shader tries to jump to hyperspace.

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/instr-a3xx.h
src/gallium/drivers/freedreno/ir3/ir3.c