Blender Git Loki

Git Commits -> Revision 965e503

Revision 965e503 by Antonis Ryakiotakis (master)
April 2, 2014, 12:08 (GMT)
Refactor to recent matcap built-ins to not use the built in system.
Those variables would get declared on fragment shader level and since we
use reserved opengl variables, some compilers would throw an error
(NVIDIA allows, some ATI compilers may break). Instead, use a separate
opengl built-in category especially for them. This works on NVIDIA, and
will wait for tests of this commit from ATI users.

Commit Details:

Full Hash: 965e5039f5d158c7c89d525e83b830f9ad10adc0
Parent Commit: 26b2645
Lines Changed: +40, -12

4 Modified Paths:

/source/blender/gpu/GPU_material.h (+6, -2) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+30, -9) (Diff)
/source/blender/gpu/intern/gpu_codegen.h (+3, -0) (Diff)
/source/blender/gpu/intern/gpu_material.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021