intel: fix wrong format usage
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Tue, 2 Jul 2019 17:36:56 +0000 (19:36 +0200)
committerJuan A. Suarez Romero <jasuarez@igalia.com>
Wed, 3 Jul 2019 08:14:54 +0000 (10:14 +0200)
commite06bc0b16671b78032e06d9ddd547bb091501129
tree4a04f638d5d665b5818e5d0effa305bea74bc24f
parenta7b6a869a78724c55a6699969fe1d776713ae7ec
intel: fix wrong format usage

Do not use the view format when filling the surface state.

Fixes dEQP-VK.image.texel_view_compatible.compute.extended.texture.*

Fixes: fb1350c76f1 ("intel: Add and use helpers for level0 extent")

Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_image.c