Project

General

Profile

« Previous | Next » 

Revision 073e5a7a

Added by Leszek Koltunski about 3 years ago

Another attempt at fixing tthings on early Qualcomm OpenGL ES 3.0 drivers.

The previous version does not work on Adreno 405 driver V@100, present for example in a Asus ZenPad 8.
Revert the packed 'ivec2' UBO in the vertex shader back to a 'std140' ivec4. This comes at a price if bumping into the bug on Qualcomm driver version 331 on Adreno 308 - i.e. Samsung Galaxy J4+ again.

On this platform, switch off Gigaminx and then set MAX_COMPONENTS to 98.

View differences:

src/main/java/org/distorted/library/uniformblock/UniformBlockAssociation.java
34 34
public class UniformBlockAssociation
35 35
  {
36 36
  private static final int DEFAULT_ASSOCIATION = 0xffffffff;
37
  private static final int DEFAULT_STRIDE = 2;
37
  private static final int DEFAULT_STRIDE = 4;
38 38
  private static final int LOC_AND = 0;
39 39
  private static final int LOC_EQU = 1;
40 40

  

Also available in: Unified diff