blender/intern/opensubdiv
Sergey Sharybin bcc0d2fb1d OpenSubdiv: Fix/workaround bad shading on AMD devices
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.
2015-08-26 12:07:38 +02:00
..
CMakeLists.txt OpenSubdiv: Remove partitioned mesh interface 2015-08-25 15:12:12 +02:00
gpu_shader_opensubd_display.glsl OpenSubdiv: Fix/workaround bad shading on AMD devices 2015-08-26 12:07:38 +02:00
opensubdiv_capi.cc OpenSubdiv: Add extra checks whether GPU compute available or not 2015-08-26 09:16:35 +02:00
opensubdiv_capi.h OpenSubdiv: Remove partitioned mesh interface 2015-08-25 15:12:12 +02:00
opensubdiv_converter_capi.h OpenSubdiv: Support for multiple materials in solid shading mode 2015-08-25 15:11:56 +02:00
opensubdiv_converter.cc OpenSubdiv: Support for multiple materials in solid shading mode 2015-08-25 15:11:56 +02:00
opensubdiv_device_context_cuda.cc OpenSubdiv: Add new OpenSubdiv related files 2015-07-20 22:29:25 +02:00
opensubdiv_device_context_cuda.h OpenSubdiv: Add new OpenSubdiv related files 2015-07-20 22:29:25 +02:00
opensubdiv_device_context_opencl.cc OpenSubdiv: Add new OpenSubdiv related files 2015-07-20 22:29:25 +02:00
opensubdiv_device_context_opencl.h OpenSubdiv: Add new OpenSubdiv related files 2015-07-20 22:29:25 +02:00
opensubdiv_evaluator_capi.cc OpenSubdiv: Switch CPU evaluator to use uniform refinement 2015-08-03 14:27:31 +02:00
opensubdiv_gpu_capi.cc OpenSubdiv: Fix/workaround bad shading on AMD devices 2015-08-26 12:07:38 +02:00
opensubdiv_intern.h OpenSubdiv: Disable topology check happening from OpenSubdiv side 2015-08-03 14:27:31 +02:00
opensubdiv_utils_capi.cc OpenSubdiv: Add new OpenSubdiv related files 2015-07-20 22:29:25 +02:00
SConscript OpenSubdiv: Fix for missing OpenMP device when building with SCons 2015-08-04 18:25:34 +02:00