st/va: check resource_get_info nullity in vlVaDeriveImage
authorJulien Isorce <jisorce@oblong.com>
Thu, 2 May 2019 22:36:04 +0000 (15:36 -0700)
committerJulien Isorce <julien.isorce@chromium.org>
Fri, 3 May 2019 23:11:55 +0000 (16:11 -0700)
commit8cd71f399e73c5d87e9162cc74da76e317a9f41f
tree268a31317c497fc1f10926ac6fce09754c98484d
parent30fa15e36b031f466106e45d39a6c5295a0530e7
st/va: check resource_get_info nullity in vlVaDeriveImage

This pipe_screen function is not implemented by all backends.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=110443
Signed-off-by: Julien Isorce <jisorce@oblong.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
src/gallium/state_trackers/va/image.c