From 18acfa7301b566baa6bd168302d0c923f75c7736 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Wed, 13 May 2015 13:53:01 -0700 Subject: [PATCH] vk: Fix copy-n-paste sType in vkCreateSampler --- src/vulkan/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 64433982573..be274c857bb 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -1326,7 +1326,7 @@ VkResult VKAPI vkCreateSampler( struct anv_device *device = (struct anv_device *) _device; struct anv_sampler *sampler; - assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO); + assert(pCreateInfo->sType == VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO); sampler = anv_device_alloc(device, sizeof(*sampler), 8, VK_SYSTEM_ALLOC_TYPE_API_OBJECT); -- 2.30.2