mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
vk: Fix copy-n-paste sType in vkCreateSampler
This commit is contained in:
parent
a1ec789b0b
commit
18acfa7301
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue