[Bf-blender-cvs] [0ef9f61] master: Attempt to fix an error in compilation of geometry shaders in Intel 4000 cards (see T44072)

Antony Riakiotakis noreply at git.blender.org
Wed Mar 25 13:06:01 CET 2015


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;




More information about the Bf-blender-cvs mailing list