Revision eff6e3d3
Added by Leszek Koltunski about 3 years ago
src/main/res/raw/main_vertex_shader.glsl | ||
---|---|---|
65 | 65 |
// second vec4: first float - cache, next 3: Center, the third - the Region. |
66 | 66 |
}; |
67 | 67 |
|
68 |
#ifdef BUGGY_UBOS |
|
69 |
layout (packed) uniform componentAssociation |
|
70 |
{ |
|
71 |
ivec2 vComAssoc[MAX_COMPON]; // component 'AND' and 'EQU' Associations |
|
72 |
}; |
|
73 |
#else |
|
68 | 74 |
layout (std140) uniform componentAssociation |
69 | 75 |
{ |
70 | 76 |
ivec4 vComAssoc[MAX_COMPON]; // component 'AND' and 'EQU' Associations |
71 | 77 |
}; |
78 |
#endif |
|
72 | 79 |
|
73 | 80 |
////////////////////////////////////////////////////////////////////////////////////////////// |
74 | 81 |
// HELPER FUNCTIONS |
Also available in: Unified diff
Properly solve the issue with Qualcomm driver V@331 having buggy UBO size.