From 8659a5b0e641f734f16add4359de18c3c8c7aa0e Mon Sep 17 00:00:00 2001 From: charles-r-earp Date: Wed, 9 Aug 2023 14:21:47 -0700 Subject: [PATCH] EntryPointInfo::local_size docs --- vulkano/src/shader/mod.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vulkano/src/shader/mod.rs b/vulkano/src/shader/mod.rs index 48a2736648..1072f14a37 100644 --- a/vulkano/src/shader/mod.rs +++ b/vulkano/src/shader/mod.rs @@ -550,9 +550,10 @@ pub struct EntryPointInfo { } impl EntryPointInfo { - // The local size in Compute shaders, None otherwise. - // `specialization_info` is used for LocalSizeId / WorkgroupSizeId, using specialization_constants if not found. - // Errors if specialization constants + /// The local size in Compute shaders, None otherwise. + /// + /// `specialization_info` is used for LocalSizeId / WorkgroupSizeId, using specialization_constants if not found. + /// Errors if specialization constants are not found or are not u32's. pub(crate) fn local_size( &self, specialization_info: &HashMap,