Fix for Cycles (CUDA) compilation (again ...). Moved the AttributeStandard enum typed...
authorLukas Toenne <lukas.toenne@googlemail.com>
Fri, 7 Sep 2012 11:06:45 +0000 (11:06 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Fri, 7 Sep 2012 11:06:45 +0000 (11:06 +0000)
commita9105a7deaccbd98c4e994d8f0f041bef4179bfa
treefc7fcebc23cdd2f580b32c7c629198497c6531ef
parent8b6046cdad1325a82e0d161fdca0118e62f36b2d
Fix for Cycles (CUDA) compilation (again ...). Moved the AttributeStandard enum typedef and the attribute_standard_name mapping function to util_attribute/util_types headers, so they can properly be used by kernel and render files alike. This should avoid any std C includes which are not available in CUDA. Thanks to Sergey for help!
intern/cycles/kernel/CMakeLists.txt
intern/cycles/kernel/kernel_attribute.h [new file with mode: 0644]
intern/cycles/kernel/kernel_triangle.h
intern/cycles/kernel/kernel_types.h
intern/cycles/render/attribute.h
intern/cycles/render/mesh.cpp
intern/cycles/render/scene.h
intern/cycles/util/CMakeLists.txt
intern/cycles/util/util_attribute.cpp [new file with mode: 0644]
intern/cycles/util/util_attribute.h [new file with mode: 0644]
intern/cycles/util/util_types.h