Revision 2b7d2abb
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/library/effectqueue/EffectQueuePostprocess.java | ||
---|---|---|
49 | 49 |
{ |
50 | 50 |
private static final int NUM_FLOAT_UNIFORMS = PostprocessEffect.NUM_FLOAT_UNIFORMS; |
51 | 51 |
private static final int NUM_INT_UNIFORMS = PostprocessEffect.NUM_INT_UNIFORMS; |
52 |
|
|
52 |
private static final boolean USE_UBO = false; |
|
53 | 53 |
private static final int INDEX = EffectType.POSTPROCESS.ordinal(); |
54 | 54 |
|
55 | 55 |
private int mHalo; |
... | ... | |
64 | 64 |
|
65 | 65 |
EffectQueuePostprocess() |
66 | 66 |
{ |
67 |
super(NUM_FLOAT_UNIFORMS, NUM_INT_UNIFORMS, INDEX ); |
|
67 |
super(NUM_FLOAT_UNIFORMS, NUM_INT_UNIFORMS, USE_UBO, INDEX );
|
|
68 | 68 |
} |
69 | 69 |
|
70 | 70 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Remove UBO from the fragment shader and come back to the default of only 5 concurrent fragment effects. All because UBOs in fragment shader crash on Adreno 510 and Adreno 506.