mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-08 17:07:53 +00:00
b9c908ba3f
Initialize some uninitialized variables.
20 lines
542 B
GLSL
20 lines
542 B
GLSL
uniform vec4 u_texelDelta;
|
|
|
|
attribute vec4 a_position;
|
|
attribute vec2 a_texcoord0;
|
|
|
|
varying vec4 v_texcoord0;
|
|
varying vec4 v_texcoord1;
|
|
varying vec4 v_texcoord2;
|
|
varying vec4 v_texcoord3;
|
|
|
|
void main()
|
|
{
|
|
gl_Position=a_position;
|
|
|
|
v_texcoord0=a_texcoord0.xyxy+vec4(-0.5,-0.5,-1.5,-1.5)*u_texelDelta.xyxy;
|
|
v_texcoord1=a_texcoord0.xyxy+vec4( 0.5,-0.5, 1.5,-1.5)*u_texelDelta.xyxy;
|
|
v_texcoord2=a_texcoord0.xyxy+vec4(-0.5, 0.5,-1.5, 1.5)*u_texelDelta.xyxy;
|
|
v_texcoord3=a_texcoord0.xyxy+vec4( 0.5, 0.5, 1.5, 1.5)*u_texelDelta.xyxy;
|
|
}
|