anv: Fix instance typos.
authorVinson Lee <vlee@freedesktop.org>
Wed, 18 Oct 2017 08:12:27 +0000 (08:12 +0000)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 18 Oct 2017 16:08:08 +0000 (09:08 -0700)
commitc5124fbc74dca573fead4149d4287103a84ebae2
tree2fd897945f741e8576e27f210c717e004116b7f9
parente17aa6cd9d42d4712f6df4f11a0cbac3735e55b4
anv: Fix instance typos.

Fix build error.

  CC       vulkan/vulkan_libvulkan_common_la-anv_device.lo
In file included from vulkan/anv_device.c:33:0:
vulkan/anv_device.c: In function ‘anv_AllocateMemory’:
vulkan/anv_device.c:1562:37: error: ‘struct anv_device’ has no member named ‘instace’; did you mean ‘instance’?
          result = vk_errorf(device->instace, device,
                                     ^
vulkan/anv_private.h:317:17: note: in definition of macro ‘vk_errorf’
     __vk_errorf(instance, obj, REPORT_OBJECT_TYPE(obj), error,\
                 ^~~~~~~~

Fixes: 9775894f1025 ("anv: Move size check from anv_bo_cache_import() to caller (v2)")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_intel.c