commit | d0d701b77d83db999908848ccfd5b1ef579c4c21 | [log] [tgz] |
---|---|---|
author | Cody Northrop <cody@lunarg.com> | Wed Jun 17 08:28:19 2015 -0600 |
committer | Cody Northrop <cody@lunarg.com> | Tue Jul 07 11:41:24 2015 -0600 |
tree | 3a1156884d406355c68c4595dc1196f850e0f40c | |
parent | dda0c17c39fe30c451934b11ea2614fbcfa3c861 [diff] [blame] |
tests: Specify VK_IMAGE_USAGE_SAMPLED_BIT when creating image
diff --git a/tests/init.cpp b/tests/init.cpp index 8255ee3..e4396d5 100644 --- a/tests/init.cpp +++ b/tests/init.cpp
@@ -416,7 +416,8 @@ else { FAIL() << "Neither Linear nor Optimal allowed for color attachment"; } - imageCreateInfo.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT; + imageCreateInfo.usage = VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | + VK_IMAGE_USAGE_SAMPLED_BIT; // VkResult VKAPI vkCreateImage( // VkDevice device,