From f099d94cc24f68c4bef43b32881f2dcf09b962c5 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Sat, 15 Apr 2017 12:16:58 +0200 Subject: [PATCH] Update DESIGN.md --- DESIGN.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DESIGN.md b/DESIGN.md index 5c3e3e4c..f6bcc7a5 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -223,10 +223,10 @@ passes that the user is encouraged to specify when an attachment is expected to `PresentSrc` layout. The only problematic area concerns the first usage of an image, where it must be transitioned from -the `Undefined` layout. This is done by automatically building and inserting a command buffer that -performs the transition whenever you use an image for the first time. This behavior is requested by -the `Image` trait implementation, and therefore as usual you can choose not to use it. Vulkano is -designed to be easy to use by default, but you can choose to customize everything. +the `Undefined` or `Preinitialized` layout. This is done by making the user pass a command buffer +builder in the constructor of images, and the constructor adds a transition command to it. The +image implementation is responsible for making sure that the transition command has been submitted +before any further command that uses the image. # Inter-queue synchronization