* Increase the maximum amount of closures per shader from 16 to 64, so more complex closure trees can be rendered.

I measured performance on CPU and GPU (Geforce 540M) and couldn't find a performance impact, but if someone encounters a noticeable impact on his system, please report.
This commit is contained in:
Thomas Dinges
2013-07-30 09:26:45 +00:00
parent 6c5a4aedc2
commit 5ce3588c6c
2 changed files with 2 additions and 2 deletions

View File

@@ -436,7 +436,7 @@ typedef enum AttributeStandard {
/* Closure data */
#define MAX_CLOSURE 16
#define MAX_CLOSURE 64
typedef struct ShaderClosure {
ClosureType type;