mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2025-01-10 08:30:11 +00:00
86026a9fe8
Changed a couple of local 4x4 matrices to global uniforms to work around a performance problem on recent GL drivers. There are two local 4x4 float matrices with constant initializers in the function OsdComputePerPatchVertexBSpline(...). Changing these from local variables to global initialized uniforms improves performance dramatically on recent NVIDIA drivers (e.g. 361.48 windows). There is no such difference with Direct3D, but this change updates the shader code for both implementations for consistency. |
||
---|---|---|
.. | ||
far | ||
hbr | ||
osd | ||
sdc | ||
tools/stringify | ||
vtr | ||
CMakeLists.txt | ||
version.cpp | ||
version.h |