blob: 64d8e93c3562f9e2e4ae21f635957d889ed4a310 [file] [log] [blame]
struct Attributes {
float2 position;
};
struct Varyings {
float2 position;
float4 color;
};
uniform shader myShader;
Varyings main(const Attributes attr) {
return Varyings(attr.position, myShader.eval(attr.position));
}
/*%%*
effects are not permitted in mesh vertex shaders
*%%*/