From 6038d1599ea683e589ec6529e456ab6681d1b3b3 Mon Sep 17 00:00:00 2001 From: BD103 <59022059+BD103@users.noreply.github.com> Date: Mon, 3 Jun 2024 14:19:32 -0400 Subject: [PATCH] Regenerate light cluster patch file (#13655) # Objective - CI on main has been failing since #13640 was merged. - Here's the [offending run](https://github.com/bevyengine/bevy/actions/runs/9352635857/job/25741242787). - One of the patch files is out of date, so it failed in the validation check. ## Solution - Regenerate the patch file. (The location has been moved to `cluster/mod.rs`.) ## Testing - Run `git apply tools/example-showcase/reduce-light-cluster-config.patch` - It should change `bevy_pbr/src/cluster/mod.rs` on line 239, decreasing `total` and `z_slices`. - CI's validation checks should also verify that this works, though only after it gets merged. --- .../example-showcase/reduce-light-cluster-config.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/example-showcase/reduce-light-cluster-config.patch b/tools/example-showcase/reduce-light-cluster-config.patch index 530c091cde..1f3a80f0e5 100644 --- a/tools/example-showcase/reduce-light-cluster-config.patch +++ b/tools/example-showcase/reduce-light-cluster-config.patch @@ -1,8 +1,8 @@ -diff --git a/crates/bevy_pbr/src/light/mod.rs b/crates/bevy_pbr/src/light/mod.rs -index 5d6be4fcf..fe20a5dc5 100644 ---- a/crates/bevy_pbr/src/light/mod.rs -+++ b/crates/bevy_pbr/src/light/mod.rs -@@ -759,8 +759,8 @@ impl Default for ClusterConfig { +diff --git a/crates/bevy_pbr/src/cluster/mod.rs b/crates/bevy_pbr/src/cluster/mod.rs +index a8c218b44..13cc9f9c6 100644 +--- a/crates/bevy_pbr/src/cluster/mod.rs ++++ b/crates/bevy_pbr/src/cluster/mod.rs +@@ -239,8 +239,8 @@ impl Default for ClusterConfig { // 24 depth slices, square clusters with at most 4096 total clusters // use max light distance as clusters max `Z`-depth, first slice extends to 5.0 Self::FixedZ {