Fix: Shader compile error in Defocus Blur

A shader compile error due to conflicting function names in two
different included headers. Use the math_vector_lib header to resolve
the issue.
This commit is contained in:
Omar Emara
2024-11-21 16:56:59 +02:00
parent bb61b6fde9
commit 90fba1aaf4

View File

@@ -2,9 +2,9 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#include "gpu_shader_common_math_utils.glsl"
#include "gpu_shader_compositor_blur_common.glsl"
#include "gpu_shader_compositor_texture_utilities.glsl"
#include "gpu_shader_math_vector_lib.glsl"
/* Given the texel in the range [-radius, radius] in both axis, load the appropriate weight from
* the weights texture, where the given texel (0, 0) corresponds the center of weights texture.