freedreno/ir3: fix crash in compile fail case
authorRob Clark <robdclark@gmail.com>
Mon, 18 Feb 2019 18:54:26 +0000 (13:54 -0500)
committerRob Clark <robdclark@gmail.com>
Wed, 20 Feb 2019 23:50:08 +0000 (18:50 -0500)
commit97479df8aaf6f00ebc70da452ea43e04f829ef2f
tree0063f211b2265005ba563ff787d1a407d7156cec
parentf5ee8c54ed481f5c832f9364845680cc223a85b3
freedreno/ir3: fix crash in compile fail case

The variant will be NULL if RA failed.  Which isn't ideal, but at least
lets not segfault and bring down the rest of the dEQP run with us.

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