Project

General

Profile

« Previous | Next » 

Revision df4d7edc

Added by Leszek Koltunski about 6 years ago

SSBO: correct various things.

View differences:

src/main/res/raw/main_fragment_shader.glsl
48 48
  int ssbocount[];                      // triple-buffered, then surfaceID=N uses 3
49 49
  };                                    // consecutive counts (N,N+1,N+2) during 3
50 50
                                        // consecutive frames.
51
                                        // Cannot be an 'uint' because the Java application that's
52
                                        // reading this does not have unsigned types so it's reading
53
                                        // this into a signed int... Doesn't matter as things keep on
54
                                        // working even when this overflows into negative territory :)
55

  
51 56
uniform int u_currentIndex;             // Index into the count[] array we are supposed to be using
52 57
                                        // during this very invocation.
53 58

  

Also available in: Unified diff