Add missing bindless imports in pbr_prepass.wgsl. (#18110)

The bindless reform PR neglected to include these, causing the prepass
shader to fail to compile in some circumstances.
This commit is contained in:
Patrick Walton 2025-03-02 01:12:18 -08:00 committed by GitHub
parent 73ffd9a508
commit 57143a8298
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,8 @@
mesh_view_bindings::view,
}
#import bevy_render::bindless::{bindless_samplers_filtering, bindless_textures_2d}
#ifdef MESHLET_MESH_MATERIAL_PASS
#import bevy_pbr::meshlet_visibility_buffer_resolve::resolve_vertex_output
#endif