Add a global value to GL_Shader_Debug_Zoo

* This produces unique debug info for 'executable' code
This commit is contained in:
baldurk committed 2026-10-27 11:51:39 +00:00
1 parent 6cdf7304c8
commit 7abab64151
1 file changed
+3 -1
+3 -1
View File
@@ -149,9 +149,11 @@ flat in vec3 v2fFlatFloat;
noperspective in vec3 v2fNoPerspFloat;
#endif
vec4 global_value = vec4(1.1f, 2.2f, 3.3f, 4.4f);
void main()
{
outColor = v2fColor + v2fUV.xyxy;
outColor = v2fColor + v2fUV.xyxy + global_value;
#ifdef BLOCK
outColor.r += v2f.a;