diff options
author | Eric Anholt <eric@anholt.net> | 2010-10-05 16:24:49 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-10-07 16:35:03 -0700 |
commit | 2f0a38ed89916d985fab227e1d85d7b441392066 (patch) | |
tree | 5d600d7ca5bcce32bad3b32a5ac333cdf791072c /tests/shaders/glsl-fs-texturecube.frag | |
parent | 568647d2091d4d217e3ea663f584b4cb61e5efea (diff) |
glsl-fs-texturecube-*: New tests for GLSL texture cubemap sampling.
Diffstat (limited to 'tests/shaders/glsl-fs-texturecube.frag')
-rw-r--r-- | tests/shaders/glsl-fs-texturecube.frag | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/shaders/glsl-fs-texturecube.frag b/tests/shaders/glsl-fs-texturecube.frag new file mode 100644 index 000000000..c9a514a8c --- /dev/null +++ b/tests/shaders/glsl-fs-texturecube.frag @@ -0,0 +1,6 @@ +uniform samplerCube tex; + +void main() +{ + gl_FragColor = textureCube(tex, gl_TexCoord[0].xyz); +} |