summaryrefslogtreecommitdiff
path: root/tests/spec/oes_standard_derivatives/compiler/dFdy-vec3.frag
blob: 9062cd533b48d40ed7d2a3ccb2fdaaae53187590 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* [config]
 * expect_result: pass
 * glsl_version: 1.00
 * require_extensions: GL_OES_standard_derivatives
 * [end config]
 */
#version 100
#extension GL_OES_standard_derivatives: require

varying vec3 x;
void main()
{
    gl_FragColor = dFdy(x).xyzx;
}