Merge f286882bd4
into f964ee1e3a
This commit is contained in:
commit
219e53ab57
@ -209,7 +209,7 @@ pub(crate) fn buffer_layout(
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Returns the appropriate bind group layout vec based on the parameters
|
/// Returns the appropriate bind group layout vec based on the parameters
|
||||||
fn layout_entries(
|
pub fn layout_entries(
|
||||||
clustered_forward_buffer_binding_type: BufferBindingType,
|
clustered_forward_buffer_binding_type: BufferBindingType,
|
||||||
visibility_ranges_buffer_binding_type: BufferBindingType,
|
visibility_ranges_buffer_binding_type: BufferBindingType,
|
||||||
layout_key: MeshPipelineViewLayoutKey,
|
layout_key: MeshPipelineViewLayoutKey,
|
||||||
@ -493,6 +493,7 @@ impl MeshPipelineViewLayouts {
|
|||||||
|
|
||||||
/// Generates all possible view layouts for the mesh pipeline, based on all combinations of
|
/// Generates all possible view layouts for the mesh pipeline, based on all combinations of
|
||||||
/// [`MeshPipelineViewLayoutKey`] flags.
|
/// [`MeshPipelineViewLayoutKey`] flags.
|
||||||
|
#[deprecated(since = "0.16.0", note = "Use `layout_entries` instead")]
|
||||||
pub fn generate_view_layouts(
|
pub fn generate_view_layouts(
|
||||||
render_device: &RenderDevice,
|
render_device: &RenderDevice,
|
||||||
render_adapter: &RenderAdapter,
|
render_adapter: &RenderAdapter,
|
||||||
|
Loading…
Reference in New Issue
Block a user