Revision 040cd18c
Added by Leszek Koltunski almost 6 years ago
src/main/res/raw/blit_vertex_shader.glsl | ||
---|---|---|
19 | 19 |
|
20 | 20 |
precision lowp float; |
21 | 21 |
|
22 |
#if __VERSION__ != 100 |
|
23 | 22 |
in vec2 a_Position; // Per-vertex position. |
24 | 23 |
out vec2 v_TexCoordinate; // |
25 |
#else |
|
26 |
attribute vec2 a_Position; // Per-vertex position. |
|
27 |
varying vec2 v_TexCoordinate; // |
|
28 |
#endif |
|
29 |
|
|
30 | 24 |
uniform float u_Depth; // distance from the near plane to render plane, in clip coords |
31 | 25 |
|
32 | 26 |
////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Port all the 'non-controversial' changes from order-independent-transparency branch.