st/va: properly set stride and offset in vlVaDeriveImage
authorJulien Isorce <jisorce@oblong.com>
Tue, 23 Apr 2019 21:30:06 +0000 (14:30 -0700)
committerJulien Isorce <julien.isorce@gmail.com>
Tue, 30 Apr 2019 17:53:12 +0000 (17:53 +0000)
commit0e3a348bec436b9d949e85574e363a1fe0e7683c
treece6d9633b9495627566507e1dfb262c805daadb6
parent1cec049d4db1c4dcd121bad17df4a77273dd9bb1
st/va: properly set stride and offset in vlVaDeriveImage

Using the new resource_get_info function.

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