From 91cc8180c350f296f21a982c54937a7f941b591a Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Thu, 10 Nov 2016 20:34:10 +0100 Subject: [PATCH] Fix image transition --- vulkano/src/descriptor/descriptor_set/simple.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/vulkano/src/descriptor/descriptor_set/simple.rs b/vulkano/src/descriptor/descriptor_set/simple.rs index de7e3bce..d75f26ef 100644 --- a/vulkano/src/descriptor/descriptor_set/simple.rs +++ b/vulkano/src/descriptor/descriptor_set/simple.rs @@ -244,11 +244,10 @@ unsafe impl SimpleDescriptorSetResourcesCollection for SimpleDescriptorSetImg { #[inline] fn add_transition<'a>(&'a self, sink: &mut CommandsListSink<'a>) { - /*sink.add_image_transition(&self.image, self.first_layer, self.num_layers, + // FIXME: adjust layers & mipmaps with the view's parameters + sink.add_image_transition(&self.image.image(), self.first_layer, self.num_layers, self.first_mipmap, self.num_mipmaps, self.write, - self.layout);*/ - // TODO: - unimplemented!() + self.layout); } }