freedreno/ir3: fix crash with atomics
authorRob Clark <robdclark@gmail.com>
Mon, 15 May 2017 20:42:15 +0000 (16:42 -0400)
committerRob Clark <robdclark@gmail.com>
Tue, 16 May 2017 20:34:21 +0000 (16:34 -0400)
commitda9a1cb8a684cf4a30e6c292a80e7cab4c89482d
tree657e5a2d189f5f114e1b5dc21957fd960f23baa2
parent8b4588b090826a2da7c1b99497ed07705b149ae1
freedreno/ir3: fix crash with atomics

Atomics can have a result value.  And sometimes it is even used.

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