blob: d20bd09fd12e262bf2b03ec213be7b01c0f8d321 [file] [log] [blame]
struct Varyings_0
{
float2 position;
float2 coords;
};
uniform half3x3 m;
layout (color) uniform half4 color;
float2 main(const Varyings_0 varyings, out half4 c)
{
c = color;
return (float3x3(m) * float3(varyings.coords, 1.0)).xy;
}