X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=shaderlib%2Fsinglepass.glsl;h=50c3841f3b267afa665a869424030677cbe98dc8;hb=4bee7581168e0803dd24568b61e590d2a4830f96;hp=a80ca339147c028f3200fcbd2e8a2d792819f187;hpb=eb6a546dcffc1b67f0a23d8b075fbdc86a2872a0;p=libs%2Fgl.git diff --git a/shaderlib/singlepass.glsl b/shaderlib/singlepass.glsl index a80ca339..50c3841f 100644 --- a/shaderlib/singlepass.glsl +++ b/shaderlib/singlepass.glsl @@ -76,7 +76,7 @@ uniform Clipping ClipPlane clip_planes[max_clip_planes]; }; -////// vertex +#pragma MSP stage(vertex) layout(location=0) in vec4 vertex; layout(location=8) in vec4 texcoord; layout(location=3) in vec4 color; @@ -127,7 +127,7 @@ void main() passthrough; } -////// fragment +#pragma MSP stage(fragment) layout(location=0) out vec4 frag_color; vec4 get_diffuse_sample()