Blender Git Loki
Git Commits -> Revision b95ee78
Revision b95ee78 by Mike Erwin (master) March 27, 2017, 05:16 (GMT) |
OpenGL: prepare GLSL for version 3.3 - use in/out instead of attribute/varying - use named output instead of gl_FragColor - use texture() instead of the multitude of older texture sampling functions The #if __VERSION__ == 120 paths (needed on Mac) will be removed after we switch to 3.3 core profile. Part of T49165 (general OpenGL upgrade) |
Commit Details:
Full Hash: b95ee78ed3f1851443aea871ffd1b1fd36e5ab1b
Parent Commit: 159f56f
Lines Changed: +63, -14
9 Modified Paths:
/source/blender/gpu/intern/gpu_codegen.c (+1, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_fire_frag.glsl (+10, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+8, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_smoke_frag.glsl (+10, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_smoke_vert.glsl (+5, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_vertex.glsl (+7, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_vertex_world.glsl (+7, -3) (Diff)
/source/blender/gpu/shaders/gpu_shader_vsm_store_frag.glsl (+9, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_vsm_store_vert.glsl (+6, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_fire_frag.glsl (+10, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+8, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_smoke_frag.glsl (+10, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_smoke_vert.glsl (+5, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_vertex.glsl (+7, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_vertex_world.glsl (+7, -3) (Diff)
/source/blender/gpu/shaders/gpu_shader_vsm_store_frag.glsl (+9, -2) (Diff)
/source/blender/gpu/shaders/gpu_shader_vsm_store_vert.glsl (+6, -1) (Diff)