Skip to content

Commit

Permalink
convert Transparent2d::dynamic_offset to extra_index
Browse files Browse the repository at this point in the history
[12889](bevyengine/bevy#12889) Gpu Frustum Culling removed the dynamic_offset of Transparent2d and it became `extra_index` with the special value `PhaseItemExtraIndex::NONE`, which indicates the `None` that was here previously
  • Loading branch information
ChristopherBiscardi committed Jun 7, 2024
1 parent a92a680 commit 29f5818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/render/material.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use bevy::{
extract_component::ExtractComponentPlugin,
globals::GlobalsBuffer,
render_asset::RenderAssets,
render_phase::{AddRenderCommand, DrawFunctions, RenderPhase},
render_phase::{AddRenderCommand, DrawFunctions, PhaseItemExtraIndex, RenderPhase},
render_resource::{
AsBindGroup, AsBindGroupError, BindGroup, BindGroupEntry, BindGroupLayout,
BindingResource, OwnedBindingResource, PipelineCache, RenderPipelineDescriptor,
Expand Down Expand Up @@ -476,7 +476,7 @@ pub fn queue_material_tilemap_meshes<M: MaterialTilemap>(
pipeline: pipeline_id,
sort_key: FloatOrd(z),
batch_range: 0..1,
dynamic_offset: None,
extra_index: PhaseItemExtraIndex::NONE,
});
}
}
Expand Down

0 comments on commit 29f5818

Please sign in to comment.