Removed unused parameters for image layout transitions and shader loading (Refs #103)

This commit is contained in:
saschawillems 2017-04-23 11:51:31 +02:00
parent 549f49ff77
commit ba0cc82e50
10 changed files with 13 additions and 35 deletions

View file

@ -400,7 +400,6 @@ public:
vks::tools::setImageLayout(
copyCmd,
texture.image,
VK_IMAGE_ASPECT_COLOR_BIT,
VK_IMAGE_LAYOUT_UNDEFINED,
VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
subresourceRange);
@ -430,7 +429,6 @@ public:
vks::tools::setImageLayout(
copyCmd,
texture.image,
VK_IMAGE_ASPECT_COLOR_BIT,
VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL,
texture.imageLayout,
subresourceRange);