nvpro-samples / gl_vk_chopper

Simple vulkan rendering example.
Apache License 2.0
204 stars 45 forks source link

Use actual old layout passed to image memory barrier #7

Closed SaschaWillems closed 4 years ago

SaschaWillems commented 8 years ago

The imageBarrierCreate in VkeCreateUtils always used VK_IMAGE_LAYOUT_GENERAL as the old layout, ignoring the layout that was actually passed to the function.