iris: Skip resolve if there's no context.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 20 Feb 2019 01:08:14 +0000 (17:08 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:12 +0000 (10:26 -0800)
commit95589652a1035966ef5118b3eb6422bbbc8175dd
treefc9c8101de20db7c25df8aa5a3955112e22ce723
parent36138bb7fcc2d98cb77d7d084052cf48ffcd84f0
iris: Skip resolve if there's no context.

If iris_resource_get_handle() gets called without a context, we can't
resolve the resource. Hopefully it shouldn't be compressed anyway, so
let's just add an assert to ensure it's correct.
src/gallium/drivers/iris/iris_resource.c