Skip to content

Commit

Permalink
EntryPointInfo::local_size docs
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-r-earp committed Aug 9, 2023
1 parent fec4cf6 commit 8659a5b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vulkano/src/shader/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u32, SpecializationConstant>,
Expand Down

0 comments on commit 8659a5b

Please sign in to comment.