OpenSubdiv/opensubdiv/osd
David G Yu 6e02082bd7 Metal patch shader changes for degenerate normals
Updated Metal patch shaders to resolve degenerate normals.
This fix was ported from the GLSL patch shader source.

Also, added missing inf sharp test cases to mtlViewer.
2017-12-12 08:46:00 -08:00
..
Android.mk Amending Apache license language & file headers. 2013-09-26 12:04:57 -07:00
bufferDescriptor.h Rename and, or and not to &&, || and ! to address compilers that don't support them out of the box without extra headers. 2016-02-21 15:47:11 +01:00
clD3D11VertexBuffer.cpp iso-646 fix for CUDA / CL / TBB 2016-06-25 14:23:55 -07:00
clD3D11VertexBuffer.h spelling 2017-01-11 12:40:49 -08:00
clEvaluator.cpp Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
clEvaluator.h Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
clGLVertexBuffer.cpp iso-646 fix for CUDA / CL / TBB 2016-06-25 14:23:55 -07:00
clGLVertexBuffer.h spelling phase 2 2017-01-24 22:48:44 -08:00
clKernel.cl Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
clPatchTable.cpp Osd Varying and FaceVarying Patch Evaluation 2016-09-29 09:56:15 -07:00
clPatchTable.h Addressed some FVar PatchTable API review notes 2016-10-14 20:11:17 -07:00
clVertexBuffer.cpp Add events control to clVertexBuffer and clEvaluator 2015-11-23 17:54:03 +08:00
clVertexBuffer.h spelling 2017-01-11 12:40:49 -08:00
CMakeLists.txt Removed duplicate mtlVertexBuffer build config 2017-04-19 17:25:23 -07:00
cpuD3D11VertexBuffer.cpp Simplify Osd::MeshInterface. 2015-04-27 11:27:05 -07:00
cpuD3D11VertexBuffer.h spelling 2017-01-11 12:40:49 -08:00
cpuEvaluator.cpp Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
cpuEvaluator.h Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
cpuGLVertexBuffer.cpp Glean up GLEW and GLFW. 2016-06-25 10:29:59 +02:00
cpuGLVertexBuffer.h spelling 2017-01-11 12:40:49 -08:00
cpuKernel.cpp Fixed Cpu Omp and GLXFB EvalStencils w/ deriv 2017-01-31 10:23:55 -08:00
cpuKernel.h Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
cpuPatchTable.cpp Addressed some FVar PatchTable API review notes 2016-10-14 20:11:17 -07:00
cpuPatchTable.h Osd Varying and FaceVarying Patch Evaluation 2016-09-29 09:56:15 -07:00
cpuVertexBuffer.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cpuVertexBuffer.h Fixed some typos in comments. 2017-01-24 22:48:48 -08:00
cudaD3D11VertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
cudaD3D11VertexBuffer.h spelling phase 2 2017-01-24 22:48:44 -08:00
cudaEvaluator.cpp Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
cudaEvaluator.h Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
cudaGLVertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
cudaGLVertexBuffer.h spelling 2017-01-11 12:40:49 -08:00
cudaKernel.cu Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
cudaPatchTable.cpp Fixed Osd::CudaEvaluator 2016-09-29 20:27:43 -07:00
cudaPatchTable.h Addressed some FVar PatchTable API review notes 2016-10-14 20:11:17 -07:00
cudaVertexBuffer.cpp Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
cudaVertexBuffer.h spelling 2017-01-11 12:40:49 -08:00
d3d11ComputeEvaluator.cpp Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
d3d11ComputeEvaluator.h Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
d3d11LegacyGregoryPatchTable.cpp Rename and, or and not to &&, || and ! to address compilers that don't support them out of the box without extra headers. 2016-02-21 15:47:11 +01: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 Fixed Far::PatchParam encoding of refinement level 2015-06-11 15:10:30 -07:00
d3d11PatchTable.h Osd API refactor: EvalStencils and EvalPatches 2015-05-25 22:43:43 -07:00
d3d11VertexBuffer.cpp Fix a minor build warning (trips MSVC 2015) 2016-02-05 15:30:59 -08:00
d3d11VertexBuffer.h spelling 2017-01-11 12:40:49 -08:00
glComputeEvaluator.cpp Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
glComputeEvaluator.h Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
glLegacyGregoryPatchTable.cpp Glean up GLEW and GLFW. 2016-06-25 10:29:59 +02: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 Varying and FaceVarying Patch Evaluation 2016-09-29 09:56:15 -07:00
glPatchTable.h Addressed some FVar PatchTable API review notes 2016-10-14 20:11:17 -07:00
glslComputeKernel.glsl Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
glslPatchBSpline.glsl Workaround GLSL shader compiler on AMD 2015-05-31 10:26:50 -07:00
glslPatchCommon.glsl spelling phase 2 2017-01-24 22:48:44 -08:00
glslPatchGregory.glsl Workaround GLSL shader compiler on AMD 2015-05-31 10:59:01 -07:00
glslPatchGregoryBasis.glsl Workaround GLSL shader compiler on AMD 2015-05-31 10:59:01 -07:00
glslPatchShaderSource.cpp Exposed control for Gregory derivative weight eval 2016-10-11 18:50:25 -07:00
glslPatchShaderSource.h Added a common patchBasis implementation for Osd 2016-09-29 09:53:40 -07:00
glslXFBKernel.glsl Improved XFB Evaluation of 1st and 2nd derivatives 2017-01-30 12:12:00 -08:00
glVertexBuffer.cpp cleanup CL/CUDA example harnesses. 2015-04-28 15:46:37 -07:00
glVertexBuffer.h spelling 2017-01-11 12:40:49 -08:00
glXFBEvaluator.cpp Fixed Cpu Omp and GLXFB EvalStencils w/ deriv 2017-01-31 10:23:55 -08:00
glXFBEvaluator.h Improved XFB Evaluation of 1st and 2nd derivatives 2017-01-30 12:12:00 -08: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'd screen-space single-crease patch fix to DX 2015-05-31 08:18:18 -07:00
hlslPatchCommon.hlsl spelling phase 2 2017-01-24 22:48:44 -08:00
hlslPatchGregory.hlsl Re-organized patch tessellation shader code 2015-05-29 23:00:19 -07:00
hlslPatchGregoryBasis.hlsl Re-organized patch tessellation shader code 2015-05-29 23:00:19 -07:00
hlslPatchShaderSource.cpp Exposed control for Gregory derivative weight eval 2016-10-11 18:50:25 -07:00
hlslPatchShaderSource.h Added a common patchBasis implementation for Osd 2016-09-29 09:53:40 -07:00
mesh.h Merge pull request #924 from davidgyu/dev_osd_eval_deriv 2017-01-27 18:38:41 -08:00
mtlCommon.h Added Metal support 2017-04-19 16:49:53 -07:00
mtlComputeEvaluator.h Fixed MtlComputeEvaluator docs and overloads 2017-07-17 18:12:49 -07:00
mtlComputeEvaluator.mm Fixed MtlComputeEvaluator docs and overloads 2017-07-17 18:12:49 -07:00
mtlComputeKernel.metal Fixed MtlComputeEvaluator docs and overloads 2017-07-17 18:12:49 -07:00
mtlLegacyGregoryPatchTable.h Added Metal support 2017-04-19 16:49:53 -07:00
mtlLegacyGregoryPatchTable.mm Added Metal support 2017-04-19 16:49:53 -07:00
mtlMesh.h Added Metal support 2017-04-19 16:49:53 -07:00
mtlMesh.mm Added Metal support 2017-04-19 16:49:53 -07:00
mtlPatchBSpline.metal Added Metal support 2017-04-19 16:49:53 -07:00
mtlPatchCommon.metal Metal patch shader changes for degenerate normals 2017-12-12 08:46:00 -08:00
mtlPatchGregory.metal Added Metal support 2017-04-19 16:49:53 -07:00
mtlPatchGregoryBasis.metal Added Metal support 2017-04-19 16:49:53 -07:00
mtlPatchShaderSource.h Added fvar support for metla as well as a ui for fvar. 2017-06-05 15:06:47 -07:00
mtlPatchShaderSource.mm Fixed a typo in MTLPatchShaderSource 2017-07-25 12:15:31 -07:00
mtlPatchTable.h Added Metal support 2017-04-19 16:49:53 -07:00
mtlPatchTable.mm Added Metal support 2017-04-19 16:49:53 -07:00
mtlVertexBuffer.h Added Metal support 2017-04-19 16:49:53 -07:00
mtlVertexBuffer.mm Added Metal support 2017-04-19 16:49:53 -07:00
nonCopyable.h Remove #pragma once 2015-05-20 09:59:18 -07:00
ompEvaluator.cpp Fixed Cpu Omp and GLXFB EvalStencils w/ deriv 2017-01-31 10:23:55 -08:00
ompEvaluator.h Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
ompKernel.cpp Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
ompKernel.h Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
opencl.h Remove #pragma once 2015-05-20 09:59:18 -07:00
opengl.h iso-646 fix for CUDA / CL / TBB 2016-06-25 14:23:55 -07:00
patchBasisCommon.h Added Metal support 2017-04-19 16:49:53 -07:00
tbbEvaluator.cpp Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
tbbEvaluator.h Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
tbbKernel.cpp Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
tbbKernel.h Added missing Osd Evaluator methods for deriv eval 2017-01-27 17:14:18 -08:00
types.h Reduced warnings resulting from GCC's -Wshadow option 2015-07-29 18:46:18 -07:00