OpenSubdiv/opensubdiv/osd
Takahito Tejima 49a16539dd A workaround for the GLSL compute crash on some nvidia drivers
It looks like there's a compiler bug in some earlier nvidia driver 340/346 releases.
It has been fixed in 348.07 (win) as far as I can tell.

Following code behaves incorrectly.

void f(int a) {
  for (int i=0; i<3; ++i) doSomething(a, i);
}
void g() {
  for (int i=0; i<100; ++i) f(i);
}

The workaround is to use different identifiers for each function.
2015-05-27 08:57:47 -07:00
..
Android.mk Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
clD3D11VertexBuffer.cpp Refurbish osd layer API. 2015-05-08 17:31:26 -07:00
clD3D11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
clEvaluator.cpp Fix OpenCL and CUDA EvalPatches kernels. 2015-05-26 11:13:30 -07:00
clEvaluator.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
clGLVertexBuffer.cpp Simplify Osd::MeshInterface. 2015-04-27 11:27:05 -07:00
clGLVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
clKernel.cl Fix OpenCL and CUDA EvalPatches kernels. 2015-05-26 11:13:30 -07:00
clPatchTable.cpp Fix OpenCL and CUDA EvalPatches kernels. 2015-05-26 11:13:30 -07:00
clPatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
clVertexBuffer.cpp Landing 3.0.0.alpha 2014-09-05 15:07:46 -07:00
clVertexBuffer.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
CMakeLists.txt Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cpuD3D11VertexBuffer.cpp Simplify Osd::MeshInterface. 2015-04-27 11:27:05 -07:00
cpuD3D11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cpuEvaluator.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cpuEvaluator.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cpuGLVertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
cpuGLVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cpuKernel.cpp Change stencils sizes from unsigned char to int. 2015-05-19 10:16:56 -07:00
cpuKernel.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cpuPatchTable.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cpuPatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cpuSmoothNormalContext.cpp Introduced Far::TopologyLevel methods in place of TopologyRefiner in Osd 2015-05-21 20:20:16 -07:00
cpuSmoothNormalContext.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cpuSmoothNormalController.cpp Refactor Far::PatchTables 2014-11-25 12:41:19 -08:00
cpuSmoothNormalController.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cpuVertexBuffer.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cpuVertexBuffer.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaD3D11VertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
cudaD3D11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cudaEvaluator.cpp Fix OpenCL and CUDA EvalPatches kernels. 2015-05-26 11:13:30 -07:00
cudaEvaluator.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaGLVertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
cudaGLVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
cudaKernel.cu Fix OpenCL and CUDA EvalPatches kernels. 2015-05-26 11:13:30 -07:00
cudaPatchTable.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaPatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaVertexBuffer.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaVertexBuffer.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
d3d11ComputeEvaluator.cpp renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
d3d11ComputeEvaluator.h renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
d3d11LegacyGregoryPatchTable.cpp renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
d3d11LegacyGregoryPatchTable.h renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
d3d11Mesh.h osd layer: Add GLPatchTable and retire DrawContext 2015-05-20 15:55:06 -07:00
d3d11PatchTable.cpp renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
d3d11PatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
d3d11VertexBuffer.cpp Simplify Osd::MeshInterface. 2015-04-27 11:27:05 -07:00
d3d11VertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
debug.h Remove #pragma once 2015-05-20 09:59:18 -07:00
glComputeEvaluator.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
glComputeEvaluator.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
glLegacyGregoryPatchTable.cpp renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
glLegacyGregoryPatchTable.h renaming (2/2) PatchTables and StencilTables to PatchTable and StencilTable 2015-05-22 11:50:01 -07:00
glMesh.h osd layer: Add GLPatchTable and retire DrawContext 2015-05-20 15:55:06 -07:00
glPatchTable.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
glPatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
glslComputeKernel.glsl A workaround for the GLSL compute crash on some nvidia drivers 2015-05-27 08:57:47 -07:00
glslPatchBSpline.glsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
glslPatchCommon.glsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
glslPatchGregory.glsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
glslPatchGregoryBasis.glsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
glslPatchShaderSource.cpp Osd drawing API refactoring. 2015-05-13 17:35:46 -07:00
glslPatchShaderSource.h Remove #pragma once 2015-05-20 09:59:18 -07:00
glslXFBKernel.glsl Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
glVertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
glVertexBuffer.h Remove #pragma once 2015-05-20 09:59:18 -07:00
glXFBEvaluator.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
glXFBEvaluator.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
hlslComputeKernel.hlsl osd refactor: split the vertex buffer argument into src and dst 2015-05-07 16:11:00 -07:00
hlslPatchBSpline.hlsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
hlslPatchCommon.hlsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
hlslPatchGregory.hlsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
hlslPatchGregoryBasis.hlsl Sync'ed up GLSL and HLSL patch shader source. 2015-05-21 09:56:25 -07:00
hlslPatchShaderSource.cpp Add a HLSL version of GregoryBasis patch shader. 2015-05-20 10:49:45 -07:00
hlslPatchShaderSource.h Remove #pragma once 2015-05-20 09:59:18 -07:00
mesh.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
nonCopyable.h Remove #pragma once 2015-05-20 09:59:18 -07:00
ompEvaluator.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
ompEvaluator.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
ompKernel.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
ompKernel.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
opencl.h Remove #pragma once 2015-05-20 09:59:18 -07:00
opengl.h Remove #pragma once 2015-05-20 09:59:18 -07:00
tbbEvaluator.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
tbbEvaluator.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
tbbKernel.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
tbbKernel.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
tbbSmoothNormalController.cpp Refactor Far::PatchTables 2014-11-25 12:41:19 -08:00
tbbSmoothNormalController.h Remove #pragma once 2015-05-20 09:59:18 -07:00
types.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
vertexDescriptor.h Remove #pragma once 2015-05-20 09:59:18 -07:00