bevy/crates/bevy_pbr/src/meshlet
JMS55 2fd4cc4937
Meshlet texture atomics (#17765)
* Use texture atomics rather than buffer atomics for the visbuffer
(haven't tested perf on a raster-heavy scene yet)
* Unfortunately to clear the visbuffer we now need a compute pass to
clear it. Using wgpu's clear_texture function internally uses a buffer
-> image copy that's insanely expensive. Ideally it should be using
vkCmdClearColorImage, which I've opened an issue for
https://github.com/gfx-rs/wgpu/issues/7090. For now we'll have to stick
with a custom compute pass and all the extra code that brings.
* Faster resolve depth pass by discarding 0 depth pixels instead of
redundantly writing zero (2x faster for big depth textures like shadow
views)
2025-02-12 18:15:43 +00:00
..
asset.rs Remove references to old sample_texture function (#17195) 2025-01-07 00:44:17 +00:00
clear_visibility_buffer.wgsl Meshlet texture atomics (#17765) 2025-02-12 18:15:43 +00:00
cull_clusters.wgsl Meshlet fill cluster buffers rewritten (#15955) 2024-10-23 19:18:49 +00:00
dummy_visibility_buffer_resolve.wgsl Meshlet rendering (initial feature) (#10164) 2024-03-25 19:08:27 +00:00
fill_cluster_buffers.wgsl Meshlet fill cluster buffers rewritten (#15955) 2024-10-23 19:18:49 +00:00
from_mesh.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
instance_manager.rs Add user supplied mesh tag (#17648) 2025-02-10 22:38:13 +00:00
material_pipeline_prepare.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
material_shade_nodes.rs Meshlet software raster + start of cleanup (#14623) 2024-08-26 17:54:34 +00:00
meshlet_bindings.wgsl Meshlet texture atomics (#17765) 2025-02-12 18:15:43 +00:00
meshlet_mesh_manager.rs Move hashbrown and foldhash out of bevy_utils (#17460) 2025-01-23 16:46:08 +00:00
meshlet_mesh_material.wgsl Meshlet misc (#13761) 2024-06-10 13:06:08 +00:00
meshlet_preview.png Meshlet rendering (initial feature) (#10164) 2024-03-25 19:08:27 +00:00
mod.rs Meshlet texture atomics (#17765) 2025-02-12 18:15:43 +00:00
persistent_buffer_impls.rs Meshlet new error projection (#15846) 2024-10-22 20:14:30 +00:00
persistent_buffer.rs Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
pipelines.rs Meshlet texture atomics (#17765) 2025-02-12 18:15:43 +00:00
remap_1d_to_2d_dispatch.wgsl Meshlet fill cluster buffers rewritten (#15955) 2024-10-23 19:18:49 +00:00
resolve_render_targets.wgsl Meshlet texture atomics (#17765) 2025-02-12 18:15:43 +00:00
resource_manager.rs Meshlet texture atomics (#17765) 2025-02-12 18:15:43 +00:00
visibility_buffer_hardware_raster.wgsl Meshlet texture atomics (#17765) 2025-02-12 18:15:43 +00:00
visibility_buffer_raster_node.rs Meshlet texture atomics (#17765) 2025-02-12 18:15:43 +00:00
visibility_buffer_resolve.wgsl Meshlet texture atomics (#17765) 2025-02-12 18:15:43 +00:00
visibility_buffer_software_raster.wgsl Meshlet texture atomics (#17765) 2025-02-12 18:15:43 +00:00