diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-12 01:12:03 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-12 01:12:03 +0300 |
commit | 596eadf0e181ddf3ab7472b5e1607a15546a9586 (patch) | |
tree | 9573d9dcecb226b3049edc33acb0010e15ddf785 /source/blender/makesrna | |
parent | b3cc602adcde882926f1f9b59c66a4aa44bce1d0 (diff) |
Cycles: Add debug pass which shows number of instance pushes during camera ray intersection
TODO: We might want to refactor debug passes into PASS_DEBUG and some
debug_type (similar to Blender's side passes) to avoid issue of running
out of bits.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_render.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_render.c b/source/blender/makesrna/intern/rna_render.c index a759779d6a3..61eb2c69bfe 100644 --- a/source/blender/makesrna/intern/rna_render.c +++ b/source/blender/makesrna/intern/rna_render.c @@ -79,6 +79,7 @@ EnumPropertyItem render_pass_type_items[] = { EnumPropertyItem render_pass_debug_type_items[] = { {RENDER_PASS_DEBUG_BVH_TRAVERSAL_STEPS, "BVH_TRAVERSAL_STEPS", 0, "BVH Traversal Steps", ""}, + {RENDER_PASS_DEBUG_BVH_TRAVERSED_INSTANCES, "BVH_TRAVERSED_INSTANCES", 0, "BVH Traversed Instances", ""}, {RENDER_PASS_DEBUG_RAY_BOUNCES, "RAY_BOUNCES", 0, "Ray Steps", ""}, {0, NULL, 0, NULL, NULL} }; |