mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
Add missing comments about bind group layout entries
This commit is contained in:
parent
b44f2a316c
commit
0a89ee21c0
1 changed files with 2 additions and 0 deletions
|
@ -518,6 +518,7 @@ impl FromWorld for MeshPipeline {
|
|||
let tonemapping_lut_entries = get_lut_bind_group_layout_entries([15, 16]);
|
||||
entries.extend_from_slice(&tonemapping_lut_entries);
|
||||
|
||||
// Prepass
|
||||
if cfg!(any(not(feature = "webgl"), not(target_arch = "wasm32")))
|
||||
|| (cfg!(all(feature = "webgl", target_arch = "wasm32")) && !multisampled)
|
||||
{
|
||||
|
@ -527,6 +528,7 @@ impl FromWorld for MeshPipeline {
|
|||
));
|
||||
}
|
||||
|
||||
// View Transmission Texture
|
||||
entries.extend_from_slice(&[
|
||||
BindGroupLayoutEntry {
|
||||
binding: 21,
|
||||
|
|
Loading…
Reference in a new issue