[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43478] trunk/blender/source/blender/gpu/ intern/gpu_codegen.c: remove ARB_texture_gather from bicubic bump map dependencies.

Antony Riakiotakis kalast at gmail.com
Wed Jan 18 01:03:14 CET 2012


Revision: 43478
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43478
Author:   psy-fi
Date:     2012-01-18 00:03:09 +0000 (Wed, 18 Jan 2012)
Log Message:
-----------
remove ARB_texture_gather from bicubic bump map dependencies. It will be needed when/if monochrome images are supported

Modified Paths:
--------------
    trunk/blender/source/blender/gpu/intern/gpu_codegen.c

Modified: trunk/blender/source/blender/gpu/intern/gpu_codegen.c
===================================================================
--- trunk/blender/source/blender/gpu/intern/gpu_codegen.c	2012-01-17 21:08:25 UTC (rev 43477)
+++ trunk/blender/source/blender/gpu/intern/gpu_codegen.c	2012-01-18 00:03:09 UTC (rev 43478)
@@ -653,7 +653,7 @@
 
 int GPU_bicubic_bump_support(void)
 {
-	return GLEW_ARB_texture_gather && GLEW_ARB_texture_query_lod && GLEW_VERSION_3_0;
+	return GLEW_ARB_texture_query_lod && GLEW_VERSION_3_0;
 }
 
 void GPU_code_generate_glsl_lib(void)
@@ -669,7 +669,6 @@
 	if(GPU_bicubic_bump_support()){
 		BLI_dynstr_append(ds, "/* These are needed for high quality bump mapping */\n"
 				"#version 130\n"
-				"#extension GL_ARB_texture_gather: enable\n"
 				"#extension GL_ARB_texture_query_lod: enable\n"
 				"#define BUMP_BICUBIC\n");
 	}



More information about the Bf-blender-cvs mailing list