|
This adds 'spline' to OSL. This op-code is a bit on the heavy side w.r.t. templates and that's due to the variety of ways this function can be called. I had a version which was less dependent on templates, but it resulted in more code duplication.
This op-code takes in an array of knots. If we think it's useful to specify an extra argument which contains the number of knots (so potentially the remained of the knot array is empty), I can do that.
Total comments: 4
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+524 lines, --1 lines) |
Patch |
|
|
src/CMakeLists.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
src/liboslcomp/typecheck.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
|
src/liboslexec/CMakeLists.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
src/liboslexec/dual_vec.h
|
View
|
|
1 chunk |
+28 lines, -0 lines |
0 comments
|
Download
|
|
|
src/liboslexec/master.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
|
src/liboslexec/opspline.cpp
|
View
|
1
|
1 chunk |
+410 lines, -0 lines |
1 comment
|
Download
|
|
|
src/liboslexec/oslops.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
|
testsuite/spline/ref/color.tif
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
|
testsuite/spline/ref/dcolor.tif
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
|
testsuite/spline/ref/dfloat.tif
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
|
testsuite/spline/ref/float.tif
|
View
|
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
|
testsuite/spline/ref/out.txt
|
View
|
1
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
|
testsuite/spline/run.py
|
View
|
1
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
|
|
testsuite/spline/test.osl
|
View
|
1
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12
|