Project

General

Profile

« Previous | Next » 

Revision 21304c55

Added by Leszek Koltunski about 7 years ago

Progress with TransferFeedback app - introduce two modes: USEPOINTS 'true' or 'false'.

On Nexus5X, it works with 'true' and 'false'. On Nexus 4, it works with 'true', but returns GL_INVALID_OPERATION with 'false'.

View differences:

src/main/res/raw/feedback_vertex_shader.glsl
19 19

  
20 20
precision lowp float;
21 21

  
22
#if __VERSION__ != 100
22
#if USEPOINTS == 1
23 23
in float inValue;
24 24
out float outValue;
25 25
#else
26
attribute float inValue;
27
varying float outValue;
26
in vec3 inValue;
27
out vec3 outValue;
28 28
#endif
29 29

  
30 30
//////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff