Blender Git Commit Log

Git Commits -> Revision 4c08c5b

Revision 4c08c5b by Mike Erwin (master)
March 27, 2017, 01:23 (GMT)
OpenGL: use new matrix names in GLSL

Builtin names staring with gl_ will not be available in core profile. Same with the ftransform function. New matrix API provides the same names minus the gl_ prefix.

Part of T49450

Commit Details:

Full Hash: 4c08c5b192415190ab8b11637d8dc4f2a66c2ddf
Parent Commit: 2a7e4c3
Lines Changed: +56, -34

10 Modified Paths:

/source/blender/gpu/intern/gpu_codegen.c (+1, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_2D_line_dashed_vert.glsl (+3, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_basic_frag.glsl (+5, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_basic_vert.glsl (+8, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_edges_overlay_vert.glsl (+2, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_geometry.glsl (+5, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+18, -18) (Diff)
/source/blender/gpu/shaders/gpu_shader_smoke_vert.glsl (+3, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_vertex.glsl (+8, -3) (Diff)
/source/blender/gpu/shaders/gpu_shader_vsm_store_vert.glsl (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021