Repo created
This commit is contained in:
parent
4af19165ec
commit
68073add76
12458 changed files with 12350765 additions and 2 deletions
17
qt/qt_common/res/shaders/gles_300.vsh.glsl
Normal file
17
qt/qt_common/res/shaders/gles_300.vsh.glsl
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#version 300 es
|
||||
|
||||
#ifdef GL_FRAGMENT_PRECISION_HIGH
|
||||
precision highp float;
|
||||
#else
|
||||
precision mediump float;
|
||||
#endif
|
||||
|
||||
in vec4 a_position;
|
||||
uniform vec2 u_samplerSize;
|
||||
out vec2 v_texCoord;
|
||||
|
||||
void main()
|
||||
{
|
||||
v_texCoord = vec2(a_position.z * u_samplerSize.x, a_position.w * u_samplerSize.y);
|
||||
gl_Position = vec4(a_position.x, a_position.y, 0.0, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue