Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/svm/svm_vector_transform.h
| Show All 12 Lines | |||||
| * 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 | ||||
| /* Vector Transform */ | /* Vector Transform */ | ||||
| ccl_device_noinline void svm_node_vector_transform(ccl_global const KernelGlobals *kg, | ccl_device_noinline void svm_node_vector_transform(KernelGlobals kg, | ||||
| ccl_private ShaderData *sd, | ccl_private ShaderData *sd, | ||||
| ccl_private float *stack, | ccl_private float *stack, | ||||
| uint4 node) | uint4 node) | ||||
| { | { | ||||
| uint itype, ifrom, ito; | uint itype, ifrom, ito; | ||||
| uint vector_in, vector_out; | uint vector_in, vector_out; | ||||
| svm_unpack_node_uchar3(node.y, &itype, &ifrom, &ito); | svm_unpack_node_uchar3(node.y, &itype, &ifrom, &ito); | ||||
| ▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines | |||||