[Bf-blender-cvs] [982c41b549] HMD_viewport: Fix fragment shader compile error on Intel GPUs
Julian Eisel
noreply at git.blender.org
Mon Mar 6 21:04:51 CET 2017
Commit: 982c41b549a15db80a37699df506bf67c881fd0f
Author: Julian Eisel
Date: Mon Mar 6 02:23:38 2017 +0100
Branches: HMD_viewport
https://developer.blender.org/rB982c41b549a15db80a37699df506bf67c881fd0f
Fix fragment shader compile error on Intel GPUs
===================================================================
M source/blender/gpu/shaders/gpu_shader_fx_lensdistortion_frag.glsl
===================================================================
diff --git a/source/blender/gpu/shaders/gpu_shader_fx_lensdistortion_frag.glsl b/source/blender/gpu/shaders/gpu_shader_fx_lensdistortion_frag.glsl
index 00e3191794..d8d61cdd80 100644
--- a/source/blender/gpu/shaders/gpu_shader_fx_lensdistortion_frag.glsl
+++ b/source/blender/gpu/shaders/gpu_shader_fx_lensdistortion_frag.glsl
@@ -41,4 +41,4 @@ void main()
float blue = texture2D(warpTexture, tc_b).b;
//Black edges off the texture
gl_FragColor = ((tc_g.x < 0.0) || (tc_g.x > 1.0) || (tc_g.y < 0.0) || (tc_g.y > 1.0)) ? vec4(0.0, 0.0, 0.0, 1.0) : vec4(red, green, blue, 1.0);
-};
\ No newline at end of file
+}
More information about the Bf-blender-cvs
mailing list