summaryrefslogtreecommitdiff
path: root/test/v4l2_videodevice/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test/v4l2_videodevice/meson.build')
0 files changed, 0 insertions, 0 deletions
href='#n10'>10 11 12 13 14 15 16 17 18
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2020, Linaro
 *
 * identity.vert - Identity vertex shader for pixel format conversion
 */

attribute vec4 vertexIn;
attribute vec2 textureIn;
varying vec2 textureOut;

uniform float stride_factor;

void main(void)
{
	gl_Position = vertexIn;
	textureOut = vec2(textureIn.x * stride_factor, textureIn.y);
}