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:
parent
73ffd9a508
commit
57143a8298
@ -10,6 +10,8 @@
|
|||||||
mesh_view_bindings::view,
|
mesh_view_bindings::view,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#import bevy_render::bindless::{bindless_samplers_filtering, bindless_textures_2d}
|
||||||
|
|
||||||
#ifdef MESHLET_MESH_MATERIAL_PASS
|
#ifdef MESHLET_MESH_MATERIAL_PASS
|
||||||
#import bevy_pbr::meshlet_visibility_buffer_resolve::resolve_vertex_output
|
#import bevy_pbr::meshlet_visibility_buffer_resolve::resolve_vertex_output
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user