remove redundant code
This commit is contained in:
parent
50d801ed93
commit
0a47e68ab5
@ -61,23 +61,6 @@ impl FromWorld for BloomUpsamplingPipeline {
|
|||||||
fragment: Some(FragmentState {
|
fragment: Some(FragmentState {
|
||||||
shader: fragment_shader.clone(),
|
shader: fragment_shader.clone(),
|
||||||
entry_point: Some("upsample".into()),
|
entry_point: Some("upsample".into()),
|
||||||
targets: vec![Some(ColorTargetState {
|
|
||||||
format: TextureFormat::Rgba8Unorm, // placeholder
|
|
||||||
blend: Some(BlendState {
|
|
||||||
// placeholder
|
|
||||||
color: BlendComponent {
|
|
||||||
src_factor: BlendFactor::Zero,
|
|
||||||
dst_factor: BlendFactor::One,
|
|
||||||
operation: BlendOperation::Add,
|
|
||||||
},
|
|
||||||
alpha: BlendComponent {
|
|
||||||
src_factor: BlendFactor::Zero,
|
|
||||||
dst_factor: BlendFactor::One,
|
|
||||||
operation: BlendOperation::Add,
|
|
||||||
},
|
|
||||||
}),
|
|
||||||
write_mask: ColorWrites::ALL,
|
|
||||||
})],
|
|
||||||
..default()
|
..default()
|
||||||
}),
|
}),
|
||||||
..default()
|
..default()
|
||||||
@ -150,7 +133,6 @@ impl Specializer<RenderPipeline> for BloomUpsamplingSpecializer {
|
|||||||
let target = ColorTargetState {
|
let target = ColorTargetState {
|
||||||
format: texture_format,
|
format: texture_format,
|
||||||
blend: Some(BlendState {
|
blend: Some(BlendState {
|
||||||
// placeholder
|
|
||||||
color: color_blend,
|
color: color_blend,
|
||||||
alpha: BlendComponent {
|
alpha: BlendComponent {
|
||||||
src_factor: BlendFactor::Zero,
|
src_factor: BlendFactor::Zero,
|
||||||
|
Loading…
Reference in New Issue
Block a user