Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-02 20:37:31 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-02 20:37:31 +0400
commit0aada35e9331f58fc05884a2d885d28ae7a18386 (patch)
treef299e41a63a998a088b71aece1e9a04081039e44 /source/blender/gpu/intern/gpu_codegen.c
parent5c74e6dae2826774b7ff36295d6499a5d45d1060 (diff)
Fix #34788, #34744: GLSL error, #version line needs to be at the top of the shader
and this wasn't the case anymore after recent changes.
Diffstat (limited to 'source/blender/gpu/intern/gpu_codegen.c')
-rw-r--r--source/blender/gpu/intern/gpu_codegen.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/gpu/intern/gpu_codegen.c b/source/blender/gpu/intern/gpu_codegen.c
index ae1eb62bc18..f1b631192af 100644
--- a/source/blender/gpu/intern/gpu_codegen.c
+++ b/source/blender/gpu/intern/gpu_codegen.c
@@ -680,12 +680,6 @@ void GPU_code_generate_glsl_lib(void)
ds = BLI_dynstr_new();
- 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_query_lod: enable\n"
- "#define BUMP_BICUBIC\n");
- }
BLI_dynstr_append(ds, datatoc_gpu_shader_material_glsl);