From 828b1a6eb65fca4e61136a2297db4135c281d8fa Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 18 Nov 2015 14:48:28 -0800 Subject: [PATCH] anv/device: Update the right sampler in UpdateDescriptorSets --- src/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/anv_device.c b/src/vulkan/anv_device.c index 406792af95e..913bcdc9959 100644 --- a/src/vulkan/anv_device.c +++ b/src/vulkan/anv_device.c @@ -1759,7 +1759,7 @@ void anv_UpdateDescriptorSets( * to stomp on it. */ if (sampler) - desc->sampler = sampler; + desc[j].sampler = sampler; } break; -- 2.30.2