Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(952)

Unified Diff: intern/cycles/kernel/kernel_types.h

Issue 6242069: Particle Info node for Cycles Base URL: https://svn.blender.org/svnroot/bf-blender/trunk/blender/
Patch Set: Improvements suggested by Brecht Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: intern/cycles/kernel/kernel_types.h
===================================================================
--- intern/cycles/kernel/kernel_types.h (revision 47606)
+++ intern/cycles/kernel/kernel_types.h (working copy)
@@ -33,6 +33,7 @@
#define LIGHT_SIZE 4
#define FILTER_TABLE_SIZE 256
#define RAMP_TABLE_SIZE 256
+#define PARTICLE_SIZE 1
#define TIME_INVALID FLT_MAX
/* device capabilities */
@@ -359,6 +360,7 @@
ATTR_STD_POSITION_UNDISPLACED,
ATTR_STD_MOTION_PRE,
ATTR_STD_MOTION_POST,
+ ATTR_STD_PARTICLE,
ATTR_STD_NUM,
ATTR_STD_NOT_FOUND = ~0

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b