tests: Fix incorrect descriptor type
authorTobin Ehlis <tobine@google.com>
Mon, 19 Sep 2016 22:23:01 +0000 (16:23 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 22 Sep 2016 13:21:24 +0000 (07:21 -0600)
SamplerInUseDestroyedSignaled test was incorrectly using VK_DESCRIPTOR_TYPE_SAMPLER
instead of VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER

tests/layer_validation_tests.cpp

index 2b41c7f..bdf2e7c 100644 (file)
@@ -12935,7 +12935,7 @@ TEST_F(VkLayerTest, SamplerInUseDestroyedSignaled) {
 
     VkDescriptorSetLayoutBinding layout_binding;
     layout_binding.binding = 0;
-    layout_binding.descriptorType = VK_DESCRIPTOR_TYPE_SAMPLER;
+    layout_binding.descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER;
     layout_binding.descriptorCount = 1;
     layout_binding.stageFlags = VK_SHADER_STAGE_FRAGMENT_BIT;
     layout_binding.pImmutableSamplers = NULL;