Blender Git Loki
Git Commits -> Revision 07b2508
Revision 07b2508 by Antonis Ryakiotakis (master) March 20, 2015, 14:26 (GMT) |
Fix high quality depth of field on the Mac. Quite a few things wrong here: * Mac did not support EXT_draw_instanced, only ARB_draw_instanced * Draw instanced did not work unless data came from vertex buffer, which is second time we see weird things with vertex arrays in mac * There were a few stupid mistakes by me as well, such as binding to uniform locations for the wrong shaders (it's a wonder it ever worked :p) |
Commit Details:
Full Hash: 07b2508305d58d0c772464f9a174fca2b96036c2
Parent Commit: 3d6642d
Lines Changed: +52, -42
7 Modified Paths:
/source/blender/gpu/GPU_extensions.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_compositing.c (+25, -10) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+19, -24) (Diff)
/source/blender/gpu/intern/gpu_simple_shader.c (+1, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_fx_dof_hq_frag.glsl (+3, -3) (Diff)
/source/blender/gpu/shaders/gpu_shader_fx_dof_hq_vert.glsl (+2, -2) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_compositing.c (+25, -10) (Diff)
/source/blender/gpu/intern/gpu_extensions.c (+19, -24) (Diff)
/source/blender/gpu/intern/gpu_simple_shader.c (+1, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_fx_dof_hq_frag.glsl (+3, -3) (Diff)
/source/blender/gpu/shaders/gpu_shader_fx_dof_hq_vert.glsl (+2, -2) (Diff)