Revision 2b7d2abb
Added by Leszek Koltunski over 3 years ago
src/main/java/org/distorted/library/effectqueue/EffectQueueVertex.java | ||
---|---|---|
35 | 35 |
{ |
36 | 36 |
private static final int NUM_FLOAT_UNIFORMS = VertexEffect.NUM_FLOAT_UNIFORMS; |
37 | 37 |
private static final int NUM_INT_UNIFORMS = VertexEffect.NUM_INT_UNIFORMS; |
38 |
private static final boolean USE_UBO = true; |
|
38 | 39 |
|
39 | 40 |
private static final int INDEX = EffectType.VERTEX.ordinal(); |
40 | 41 |
|
... | ... | |
47 | 48 |
|
48 | 49 |
public EffectQueueVertex() |
49 | 50 |
{ |
50 |
super(NUM_FLOAT_UNIFORMS, NUM_INT_UNIFORMS, INDEX); |
|
51 |
super(NUM_FLOAT_UNIFORMS, NUM_INT_UNIFORMS, USE_UBO, INDEX);
|
|
51 | 52 |
} |
52 | 53 |
|
53 | 54 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
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.