forked from bartvdbraak/blender
bcc0d2fb1d
Uniform block data layout was different on CPU and GPU which caused wrong data being used from shader. In theory using layout(std140) is what we need to do, but for some reason such layout specifier is being ignored. This is probably caused by the way how we exploit extensions from older version of glsl. For until we've upgraded our glsl pipeline used different approach which is basically about removing unused fields form the struct manual in hope that it'll keep memory layout consistent for both CPU and GPU. This seems to work so far for both NVidia GTX580 and AMD FirePro W8000 here in the studio. |
||
---|---|---|
build_files | ||
doc | ||
extern | ||
intern | ||
release | ||
scons@625d446ae8 | ||
source | ||
tests | ||
.arcconfig | ||
.gitignore | ||
.gitmodules | ||
CMakeLists.txt | ||
COPYING | ||
GNUmakefile | ||
SConstruct |