From 3128df6ac92a623c65cae0f768ac34de59ba7dfe Mon Sep 17 00:00:00 2001 From: DGriffin91 Date: Sat, 28 Oct 2023 18:10:47 -0700 Subject: [PATCH] use Depth16Unorm for pass id --- crates/bevy_core_pipeline/src/deferred/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_core_pipeline/src/deferred/mod.rs b/crates/bevy_core_pipeline/src/deferred/mod.rs index a79e62b71998a..a8a56e39a1163 100644 --- a/crates/bevy_core_pipeline/src/deferred/mod.rs +++ b/crates/bevy_core_pipeline/src/deferred/mod.rs @@ -12,7 +12,7 @@ use bevy_utils::{nonmax::NonMaxU32, FloatOrd}; pub const DEFERRED_PREPASS_FORMAT: TextureFormat = TextureFormat::Rgba32Uint; pub const DEFERRED_LIGHTING_PASS_ID_FORMAT: TextureFormat = TextureFormat::R8Uint; -pub const DEFERRED_LIGHTING_PASS_ID_DEPTH_FORMAT: TextureFormat = TextureFormat::Depth32Float; +pub const DEFERRED_LIGHTING_PASS_ID_DEPTH_FORMAT: TextureFormat = TextureFormat::Depth16Unorm; /// Opaque phase of the 3D Deferred pass. ///