Deduplicate some logic around debug passes

This commit is contained in:
2015-07-24 17:45:14 +02:00
parent 68a9d80739
commit 33bd2c1597
3 changed files with 13 additions and 13 deletions

View File

@@ -361,5 +361,12 @@ bool RE_RenderResult_is_stereo(RenderResult *res);
struct RenderView *RE_RenderViewGetById(struct RenderResult *res, const int view_id);
struct RenderView *RE_RenderViewGetByName(struct RenderResult *res, const char *viewname);
/******* Debug pass helper functions *********/
#ifdef WITH_CYCLES_DEBUG
int RE_debug_pass_num_channels_get(int pass_type);
const char *RE_debug_pass_name_get(int pass_type);
#endif
#endif /* __RE_PIPELINE_H__ */