Project

General

Profile

« Previous | Next » 

Revision 1081bb47

Added by Leszek Koltunski over 3 years ago

Comment eexplaining the recent 'gigaminx ban' on some platforms.

View differences:

src/main/java/org/distorted/main/RubikRenderer.java
179 179
     }
180 180

  
181 181
///////////////////////////////////////////////////////////////////////////////////////////////////
182
// Go around bugs on Qualcomm Adreno driver V@331 (present in Samsung Galaxy J4+ and at least some
183
// versions of other Samsung Galaxy phones).
184
// On this driver, it is not possible to assign more than about 6000 bytes for uniform variables in
185
// the vertex shader. We thus need to limit the size of our uniform arrays. The only way seems to be
186
// to limit the number of Mesh components, but then on this platform we cannot support the largest
187
// object in terms of number of movable parts - the Gigaminx.
182 188

  
183 189
   private void assignMaxComponents()
184 190
     {

Also available in: Unified diff