Fixes for GLSL bump code; it was using calls not supported for
authorTon Roosendaal <ton@blender.org>
Sat, 29 Jan 2011 16:13:15 +0000 (16:13 +0000)
committerTon Roosendaal <ton@blender.org>
Sat, 29 Jan 2011 16:13:15 +0000 (16:13 +0000)
commitbcacaa3901386fdb32b6b495dd84faf0217ea637
treec8cfaa177048e621d3ab4b0d702ed7173e6dc68f
parent28e91fcd28ef3006abbec6f55763378d92362bb3
Fixes for GLSL bump code; it was using calls not supported for
older GLSL versions (< 1.3)

Thanks Matthew M:
- adding mat3 from ma4 function
- removal of transpose()

And I've hacked in myself a textureSize() replacement, the image
size gets passed on to function now.
source/blender/gpu/intern/gpu_material.c
source/blender/gpu/intern/gpu_shader_material.glsl
source/blender/gpu/intern/gpu_shader_material.glsl.c