This commit is contained in:
Robert Smith 2025-07-16 19:05:28 -04:00 committed by GitHub
commit 219e53ab57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -209,7 +209,7 @@ pub(crate) fn buffer_layout(
}
/// Returns the appropriate bind group layout vec based on the parameters
fn layout_entries(
pub fn layout_entries(
clustered_forward_buffer_binding_type: BufferBindingType,
visibility_ranges_buffer_binding_type: BufferBindingType,
layout_key: MeshPipelineViewLayoutKey,
@ -493,6 +493,7 @@ impl MeshPipelineViewLayouts {
/// Generates all possible view layouts for the mesh pipeline, based on all combinations of
/// [`MeshPipelineViewLayoutKey`] flags.
#[deprecated(since = "0.16.0", note = "Use `layout_entries` instead")]
pub fn generate_view_layouts(
render_device: &RenderDevice,
render_adapter: &RenderAdapter,