Skip to content

Commit

Permalink
Update the build
Browse files Browse the repository at this point in the history
  • Loading branch information
jgayfer committed Dec 2, 2024
1 parent c790dbb commit be9dc59
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
7 changes: 4 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_light_2d"
version = "0.5.0-rc.1"
version = "0.5.0"
edition = "2021"
categories = ["game-engines", "graphics", "rendering"]
description = "General purpose 2d lighting for the Bevy game engine."
Expand All @@ -11,16 +11,17 @@ readme = "README.md"
exclude = ["assets/*", "static/*"]

[dependencies]
bevy = { version = "0.15.0-rc.2", default-features = false, features = [
bevy = { version = "0.15.0", default-features = false, features = [
"bevy_render",
"bevy_core_pipeline",
"bevy_winit",
"x11",
"png"
] }
smallvec = "1.13"

[dev-dependencies]
bevy = { version = "0.15.0-rc.2", default-features = false, features = [
bevy = { version = "0.15.0", default-features = false, features = [
"bevy_render",
"bevy_core_pipeline",
"bevy_winit",
Expand Down
1 change: 1 addition & 0 deletions src/render/light_map/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ impl FromWorld for LightMapPipeline {
depth_stencil: None,
multisample: MultisampleState::default(),
push_constant_ranges: vec![],
zero_initialize_workgroup_memory: false,
});

Self {
Expand Down
3 changes: 2 additions & 1 deletion src/render/lighting/pipeline.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use bevy::core_pipeline::fullscreen_vertex_shader::fullscreen_shader_vertex_state;
use bevy::image::BevyDefault;
use bevy::prelude::*;
use bevy::render::render_resource::binding_types::{sampler, texture_2d};
use bevy::render::render_resource::{
Expand All @@ -7,7 +8,6 @@ use bevy::render::render_resource::{
SamplerDescriptor, ShaderStages, SpecializedRenderPipeline, TextureFormat, TextureSampleType,
};
use bevy::render::renderer::RenderDevice;
use bevy::render::texture::BevyDefault;
use bevy::render::view::ViewTarget;

use super::{LightingPipelineKey, LIGHTING_SHADER};
Expand Down Expand Up @@ -69,6 +69,7 @@ impl SpecializedRenderPipeline for LightingPipeline {
depth_stencil: None,
multisample: MultisampleState::default(),
push_constant_ranges: vec![],
zero_initialize_workgroup_memory: false,
}
}
}
1 change: 1 addition & 0 deletions src/render/sdf/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ impl FromWorld for SdfPipeline {
depth_stencil: None,
multisample: MultisampleState::default(),
push_constant_ranges: vec![],
zero_initialize_workgroup_memory: false,
});

Self {
Expand Down

0 comments on commit be9dc59

Please sign in to comment.