Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Alex Cristici <alex.cristici@gmail.com> Co-authored-by: mwilsnd <mwilsnd@gmail.com> Co-authored-by: Stefan Karschti <stefan.karschti@gmail.com> Co-authored-by: Bart Louwers <bart@emeel.net> Co-authored-by: Alex Cristici <alex@skoon.energy> Co-authored-by: Bart Louwers <bart.louwers@gmail.com> Co-authored-by: Wei Chen <alanchenboy@gmail.com> Co-authored-by: Siarhei Fedartsou <siarhei.fedartsou@gmail.com> Co-authored-by: tdcosta100 <tdcosta100@gmail.com>
28 lines
701 B
GLSL
28 lines
701 B
GLSL
layout (std140) uniform FillDrawableUBO {
|
|
highp mat4 u_matrix;
|
|
};
|
|
layout (std140) uniform FillEvaluatedPropsUBO {
|
|
highp vec4 u_color;
|
|
highp float u_opacity;
|
|
highp float padding_props1;
|
|
highp float padding_props2;
|
|
highp float padding_props3;
|
|
};
|
|
layout (std140) uniform FillInterpolateUBO {
|
|
highp float u_color_t;
|
|
highp float u_opacity_t;
|
|
highp float pad_interp_1, pad_interp_2;
|
|
};
|
|
|
|
layout (location = 0) in vec2 a_pos;
|
|
|
|
#pragma mapbox: define highp vec4 color
|
|
#pragma mapbox: define lowp float opacity
|
|
|
|
void main() {
|
|
#pragma mapbox: initialize highp vec4 color
|
|
#pragma mapbox: initialize lowp float opacity
|
|
|
|
gl_Position = u_matrix * vec4(a_pos, 0, 1);
|
|
}
|