mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 19:13:08 +00:00
4648f7bf72
# Objective - Fixes #14841 ## Solution - Compute BufferSlice size manually and use it for comparison in `TrackedRenderPass` ## Testing - Gizmo example does not crash with #14721 (without system ordering), and `slice` computes correct size there --- ## Migration Guide - `TrackedRenderPass::set_vertex_buffer` function has been modified to update vertex buffers when the same buffer with the same offset is provided, but its size has changed. Some existing code may rely on the previous behavior, which did not update the vertex buffer in this scenario. --------- Co-authored-by: Zachary Harrold <zac@harrold.com.au> |
||
---|---|---|
.. | ||
primitives | ||
aabb.rs | ||
arcs.rs | ||
arrows.rs | ||
circles.rs | ||
config.rs | ||
cross.rs | ||
gizmos.rs | ||
grid.rs | ||
lib.rs | ||
light.rs | ||
line_joints.wgsl | ||
lines.wgsl | ||
pipeline_2d.rs | ||
pipeline_3d.rs | ||
rounded_box.rs |