Deprecated simple_descriptor_set!

This commit is contained in:
Pierre Krieger 2017-07-06 14:49:38 +02:00
parent 98293a2f5e
commit d145149278

View File

@ -101,6 +101,7 @@ unsafe impl<R, P> DescriptorSetDesc for SimpleDescriptorSet<R, P>
/// Builds a descriptor set in the form of a `SimpleDescriptorSet` object.
// TODO: more doc
#[macro_export]
#[deprecated(note = "Use `PersistentDescriptorSet` instead")]
macro_rules! simple_descriptor_set {
($layout:expr, $set_num:expr, {$($name:ident: $val:expr),*$(,)*}) => ({
#[allow(unused_imports)]
@ -142,6 +143,7 @@ macro_rules! simple_descriptor_set {
///
/// # Example
// TODO: example here
#[deprecated(note = "Use `PersistentDescriptorSet` instead of `simple_descriptor_set!`")]
pub struct SimpleDescriptorSetBuilder<L, R> {
// The pipeline layout.
layout: L,