mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
- https://github.com/KhronosGroup/SPIRV-Cross/commit/ 66a407285e36a0f772e3209cb86ded6e3d900f6a
14 lines
310 B
GLSL
14 lines
310 B
GLSL
#version 310 es
|
|
|
|
uniform vec4 PushMe[6];
|
|
layout(location = 1) in vec4 Pos;
|
|
layout(location = 0) out vec2 vRot;
|
|
layout(location = 0) in vec2 Rot;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = mat4(PushMe[0], PushMe[1], PushMe[2], PushMe[3]) * Pos;
|
|
vRot = (mat2(PushMe[4].xy, PushMe[4].zw) * Rot) + vec2(PushMe[5].z);
|
|
}
|
|
|