aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/graph/curve/opengl/shader/curverenderer01-pass2-msaa.glsl
blob: d9d85e0e9a90e4a3374d5947c25d5ed3d9335fa7 (plain)
1
2
3
4
5
6
7
8
9
10
        // Pass-2: Dump Texture
        vec4 t = texture2D(gcu_FboTexUnit, gcv_FboTexCoord.st);
        #if USE_DISCARD
            if( 0.0 == t.a ) {
                discard; // discard freezes NV tegra2 compiler
            }
        #endif

        mgl_FragColor = t;