Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/svm/svm_math_util.h
| Show All 10 Lines | |||||
| * distributed under the License is distributed on an "AS IS" BASIS, | * distributed under the License is distributed on an "AS IS" BASIS, | ||||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
| * See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| ccl_device void svm_vector_math(float *value, | ccl_device void svm_vector_math(ccl_private float *value, | ||||
| float3 *vector, | ccl_private float3 *vector, | ||||
| NodeVectorMathType type, | NodeVectorMathType type, | ||||
| float3 a, | float3 a, | ||||
| float3 b, | float3 b, | ||||
| float3 c, | float3 c, | ||||
| float param1) | float param1) | ||||
| { | { | ||||
| switch (type) { | switch (type) { | ||||
| case NODE_VECTOR_MATH_ADD: | case NODE_VECTOR_MATH_ADD: | ||||
| ▲ Show 20 Lines • Show All 255 Lines • Show Last 20 Lines | |||||