Commit: 0ef9f61410b8a22905daa38feb49a2f5d1b845e4
Author: Antony Riakiotakis
Date:   Wed Mar 25 13:05:52 2015 +0100
Branches: master
https://developer.blender.org/rB0ef9f61410b8a22905daa38feb49a2f5d1b845e4

Attempt to fix an error in compilation of geometry shaders in Intel 4000
cards (see T44072)

===================================================================

M       source/blender/gpu/shaders/gpu_shader_fx_dof_hq_geo.glsl

===================================================================

diff --git a/source/blender/gpu/shaders/gpu_shader_fx_dof_hq_geo.glsl 
b/source/blender/gpu/shaders/gpu_shader_fx_dof_hq_geo.glsl
index 9f365a0..7918122 100644
--- a/source/blender/gpu/shaders/gpu_shader_fx_dof_hq_geo.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_fx_dof_hq_geo.glsl
@@ -6,7 +6,7 @@ uniform vec2 layerselection;
 uniform sampler2D cocbuffer;
 
 /* initial uv coordinate */
-varying in vec2 uvcoord[];
+varying in vec2 uvcoord[1];
 varying out vec2 particlecoord;
 varying out vec4 color;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to