Code cleanup: simplify kernel side work stealing code.
[blender-staging.git] / intern / cycles / kernel / split / kernel_split_data_types.h
index e08afc22b20cf8320bea8f84866c8b763f7350f4..c58c8463f5ce3c557392720ce16c20b5a248bc88 100644 (file)
@@ -122,7 +122,7 @@ typedef ccl_global struct SplitBranchedState {
        SPLIT_DATA_ENTRY(ccl_global int, is_lamp, 1) \
        SPLIT_DATA_ENTRY(ccl_global Ray, light_ray, 1) \
        SPLIT_DATA_ENTRY(ccl_global int, queue_data, (NUM_QUEUES*2)) /* TODO(mai): this is too large? */ \
-       SPLIT_DATA_ENTRY(ccl_global uint, work_array, 1) \
+       SPLIT_DATA_ENTRY(ccl_global uint, buffer_offset, 1) \
        SPLIT_DATA_ENTRY(ShaderData, sd, 1) \
        SPLIT_DATA_ENTRY(ShaderData, sd_DL_shadow, 1) \
        SPLIT_DATA_SUBSURFACE_ENTRIES \