summaryrefslogtreecommitdiffstats
path: root/graphics/Blender/overloaded_min.diff
diff options
context:
space:
mode:
author Christoph Willing <chris.willing@linux.com>2024-04-26 12:47:46 +1000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-27 09:28:34 +0700
commit4c226c6429d2f30e4637e395bcf833d2e0658cd7 (patch)
treed79bfe357c852a7fec5ae8444b52a99076e2c043 /graphics/Blender/overloaded_min.diff
parent59dfe65417ad4c8b759447de1c54b5ff27d483d7 (diff)
downloadslackbuilds-4c226c6429d2f30e4637e395bcf833d2e0658cd7.tar.gz
slackbuilds-4c226c6429d2f30e4637e395bcf833d2e0658cd7.tar.xz
graphics/Blender: Remove no longer necessary patch for 32bit builds
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--graphics/Blender/overloaded_min.diff51
1 files changed, 0 insertions, 51 deletions
diff --git a/graphics/Blender/overloaded_min.diff b/graphics/Blender/overloaded_min.diff
deleted file mode 100644
index 5612d01599..0000000000
--- a/graphics/Blender/overloaded_min.diff
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -Naur blender-3.0.1/intern/cycles/scene/hair.cpp blender-3.0.1.patched/intern/cycles/scene/hair.cpp
---- blender-3.0.1/intern/cycles/scene/hair.cpp 2021-10-27 15:21:51.000000000 -0400
-+++ blender-3.0.1.patched/intern/cycles/scene/hair.cpp 2022-03-22 14:54:15.181140060 -0400
-@@ -119,7 +119,7 @@
- {
- /* Figure out which steps we need to fetch and their interpolation factor. */
- const size_t max_step = num_steps - 1;
-- const size_t step = min((int)(time * max_step), max_step - 1);
-+ const size_t step = min((int)(time * max_step), (int)(max_step - 1));
- const float t = time * max_step - step;
- /* Fetch vertex coordinates. */
- float4 curr_keys[2];
-@@ -147,7 +147,7 @@
- {
- /* Figure out which steps we need to fetch and their interpolation factor. */
- const size_t max_step = num_steps - 1;
-- const size_t step = min((int)(time * max_step), max_step - 1);
-+ const size_t step = min((int)(time * max_step), (int)(max_step - 1));
- const float t = time * max_step - step;
- /* Fetch vertex coordinates. */
- float4 curr_keys[4];
-@@ -192,7 +192,7 @@
- float4 r_keys[2]) const
- {
- k0 = max(k0, 0);
-- k1 = min(k1, num_keys - 1);
-+ k1 = min((int)k1, (int)(num_keys - 1));
- const size_t center_step = ((num_steps - 1) / 2);
- if (step == center_step) {
- /* Center step: regular key location. */
-@@ -238,7 +238,7 @@
- float4 r_keys[4]) const
- {
- k0 = max(k0, 0);
-- k3 = min(k3, num_keys - 1);
-+ k3 = min((int)k3, (int)(num_keys - 1));
- const size_t center_step = ((num_steps - 1) / 2);
- if (step == center_step) {
- /* Center step: regular key location. */
-diff -Naur blender-3.0.1/intern/cycles/scene/mesh.cpp blender-3.0.1.patched/intern/cycles/scene/mesh.cpp
---- blender-3.0.1/intern/cycles/scene/mesh.cpp 2021-10-27 15:21:51.000000000 -0400
-+++ blender-3.0.1.patched/intern/cycles/scene/mesh.cpp 2022-03-22 15:35:52.169528851 -0400
-@@ -53,7 +53,7 @@
- {
- /* Figure out which steps we need to fetch and their interpolation factor. */
- const size_t max_step = num_steps - 1;
-- const size_t step = min((int)(time * max_step), max_step - 1);
-+ const size_t step = min((int)(time * max_step), (int)(max_step - 1));
- const float t = time * max_step - step;
- /* Fetch vertex coordinates. */
- float3 curr_verts[3];