[Bf-blender-cvs] [55c5eb33126] blender-v3.3-release: Eevee: Fix compilation error in eevee-next.
Jeroen Bakker
noreply at git.blender.org
Mon Aug 1 14:48:22 CEST 2022
Commit: 55c5eb33126dbf58621981b0e2ce1279bff1f835
Author: Jeroen Bakker
Date: Mon Aug 1 14:45:39 2022 +0200
Branches: blender-v3.3-release
https://developer.blender.org/rB55c5eb33126dbf58621981b0e2ce1279bff1f835
Eevee: Fix compilation error in eevee-next.
Although eevee-next is disabled in Blender 3.3 there is an error that is
visible when compiling shaders using the shader builder.
This is because of an error in a preprocessing directive (defined should
be define).
===================================================================
M source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl
===================================================================
diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl
index 974581e674e..6fe5fa01fa3 100644
--- a/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl
+++ b/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl
@@ -3,7 +3,7 @@
#pragma BLENDER_REQUIRE(common_math_lib.glsl)
#pragma BLENDER_REQUIRE(gpu_shader_codegen_lib.glsl)
-#defined EEVEE_ATTRIBUTE_LIB
+#define EEVEE_ATTRIBUTE_LIB
#if defined(MAT_GEOM_MESH)
More information about the Bf-blender-cvs
mailing list