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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user