mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-14 22:01:04 +00:00
1d1132d9eb
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24158 e7fa87d3-cd2b-0410-9028-fcbf551c1848
288 lines
14 KiB
Plaintext
288 lines
14 KiB
Plaintext
../../LunarGLASS/test/texture.frag
|
|
Warning, version 130 is not yet complete; most features are present, but a few are missing.
|
|
WARNING: 0:14: varying deprecated in version 130; may be removed in future release
|
|
WARNING: 0:15: varying deprecated in version 130; may be removed in future release
|
|
|
|
0:? Sequence
|
|
0:17 Function Definition: main( (void)
|
|
0:17 Function Parameters:
|
|
0:19 Sequence
|
|
0:19 Sequence
|
|
0:19 move second child to first child (float)
|
|
0:19 'blendscale' (float)
|
|
0:19 Constant:
|
|
0:19 1.789000
|
|
0:20 Sequence
|
|
0:20 move second child to first child (float)
|
|
0:20 'bias' (float)
|
|
0:20 Constant:
|
|
0:20 2.000000
|
|
0:21 Sequence
|
|
0:21 move second child to first child (float)
|
|
0:21 'lod' (float)
|
|
0:21 Constant:
|
|
0:21 3.000000
|
|
0:22 Sequence
|
|
0:22 move second child to first child (float)
|
|
0:22 'proj' (float)
|
|
0:22 Constant:
|
|
0:22 2.000000
|
|
0:23 Sequence
|
|
0:23 move second child to first child (float)
|
|
0:23 'coords1D' (float)
|
|
0:23 Constant:
|
|
0:23 1.789000
|
|
0:24 Sequence
|
|
0:24 move second child to first child (3-component vector of float)
|
|
0:24 'coords3D' (3-component vector of float)
|
|
0:24 Constant:
|
|
0:24 1.789000
|
|
0:24 2.718000
|
|
0:24 3.453000
|
|
0:25 Sequence
|
|
0:25 move second child to first child (4-component vector of float)
|
|
0:25 'coords4D' (4-component vector of float)
|
|
0:25 Constant:
|
|
0:25 1.789000
|
|
0:25 2.718000
|
|
0:25 3.453000
|
|
0:25 2.000000
|
|
0:26 Sequence
|
|
0:26 move second child to first child (4-component vector of float)
|
|
0:26 'color' (4-component vector of float)
|
|
0:26 Constant:
|
|
0:26 0.000000
|
|
0:26 0.000000
|
|
0:26 0.000000
|
|
0:26 0.000000
|
|
0:28 add second child into first child (4-component vector of float)
|
|
0:28 'color' (4-component vector of float)
|
|
0:28 Function Call: texture1D(s11;f1; (4-component vector of float)
|
|
0:28 'texSampler1D' (uniform sampler1D)
|
|
0:28 'coords1D' (float)
|
|
0:29 add second child into first child (4-component vector of float)
|
|
0:29 'color' (4-component vector of float)
|
|
0:29 Function Call: texture1D(s11;f1;f1; (4-component vector of float)
|
|
0:29 'texSampler1D' (uniform sampler1D)
|
|
0:29 'coords1D' (float)
|
|
0:29 'bias' (float)
|
|
0:30 add second child into first child (4-component vector of float)
|
|
0:30 'color' (4-component vector of float)
|
|
0:30 Function Call: texture1DProj(s11;vf2; (4-component vector of float)
|
|
0:30 'texSampler1D' (uniform sampler1D)
|
|
0:30 'coords2D' (smooth in 2-component vector of float)
|
|
0:31 add second child into first child (4-component vector of float)
|
|
0:31 'color' (4-component vector of float)
|
|
0:31 Function Call: texture1DProj(s11;vf4; (4-component vector of float)
|
|
0:31 'texSampler1D' (uniform sampler1D)
|
|
0:31 'coords4D' (4-component vector of float)
|
|
0:32 add second child into first child (4-component vector of float)
|
|
0:32 'color' (4-component vector of float)
|
|
0:32 Function Call: texture1DProj(s11;vf2;f1; (4-component vector of float)
|
|
0:32 'texSampler1D' (uniform sampler1D)
|
|
0:32 'coords2D' (smooth in 2-component vector of float)
|
|
0:32 'bias' (float)
|
|
0:33 add second child into first child (4-component vector of float)
|
|
0:33 'color' (4-component vector of float)
|
|
0:33 Function Call: texture1DProj(s11;vf4;f1; (4-component vector of float)
|
|
0:33 'texSampler1D' (uniform sampler1D)
|
|
0:33 'coords4D' (4-component vector of float)
|
|
0:33 'bias' (float)
|
|
0:35 add second child into first child (4-component vector of float)
|
|
0:35 'color' (4-component vector of float)
|
|
0:35 Function Call: texture2D(s21;vf2; (4-component vector of float)
|
|
0:35 'texSampler2D' (uniform sampler2D)
|
|
0:35 'coords2D' (smooth in 2-component vector of float)
|
|
0:36 add second child into first child (4-component vector of float)
|
|
0:36 'color' (4-component vector of float)
|
|
0:36 Function Call: texture2D(s21;vf2;f1; (4-component vector of float)
|
|
0:36 'texSampler2D' (uniform sampler2D)
|
|
0:36 'coords2D' (smooth in 2-component vector of float)
|
|
0:36 'bias' (float)
|
|
0:37 add second child into first child (4-component vector of float)
|
|
0:37 'color' (4-component vector of float)
|
|
0:37 Function Call: texture2DProj(s21;vf3; (4-component vector of float)
|
|
0:37 'texSampler2D' (uniform sampler2D)
|
|
0:37 'coords3D' (3-component vector of float)
|
|
0:38 add second child into first child (4-component vector of float)
|
|
0:38 'color' (4-component vector of float)
|
|
0:38 Function Call: texture2DProj(s21;vf4;f1; (4-component vector of float)
|
|
0:38 'texSampler2D' (uniform sampler2D)
|
|
0:38 'coords4D' (4-component vector of float)
|
|
0:38 'bias' (float)
|
|
0:40 add second child into first child (4-component vector of float)
|
|
0:40 'color' (4-component vector of float)
|
|
0:40 Function Call: texture3D(s31;vf3; (4-component vector of float)
|
|
0:40 'texSampler3D' (uniform sampler3D)
|
|
0:40 'coords3D' (3-component vector of float)
|
|
0:41 add second child into first child (4-component vector of float)
|
|
0:41 'color' (4-component vector of float)
|
|
0:41 Function Call: texture3D(s31;vf3;f1; (4-component vector of float)
|
|
0:41 'texSampler3D' (uniform sampler3D)
|
|
0:41 'coords3D' (3-component vector of float)
|
|
0:41 'bias' (float)
|
|
0:42 add second child into first child (4-component vector of float)
|
|
0:42 'color' (4-component vector of float)
|
|
0:42 Function Call: texture3DProj(s31;vf4; (4-component vector of float)
|
|
0:42 'texSampler3D' (uniform sampler3D)
|
|
0:42 'coords4D' (4-component vector of float)
|
|
0:43 add second child into first child (4-component vector of float)
|
|
0:43 'color' (4-component vector of float)
|
|
0:43 Function Call: texture3DProj(s31;vf4;f1; (4-component vector of float)
|
|
0:43 'texSampler3D' (uniform sampler3D)
|
|
0:43 'coords4D' (4-component vector of float)
|
|
0:43 'bias' (float)
|
|
0:45 add second child into first child (4-component vector of float)
|
|
0:45 'color' (4-component vector of float)
|
|
0:45 Function Call: textureCube(sC1;vf3; (4-component vector of float)
|
|
0:45 'texSamplerCube' (uniform samplerCube)
|
|
0:45 'coords3D' (3-component vector of float)
|
|
0:46 add second child into first child (4-component vector of float)
|
|
0:46 'color' (4-component vector of float)
|
|
0:46 Function Call: textureCube(sC1;vf3;f1; (4-component vector of float)
|
|
0:46 'texSamplerCube' (uniform samplerCube)
|
|
0:46 'coords3D' (3-component vector of float)
|
|
0:46 'bias' (float)
|
|
0:48 add second child into first child (4-component vector of float)
|
|
0:48 'color' (4-component vector of float)
|
|
0:48 Function Call: shadow1D(sS11;vf3; (4-component vector of float)
|
|
0:48 'shadowSampler1D' (uniform sampler1DShadow)
|
|
0:48 'coords3D' (3-component vector of float)
|
|
0:49 add second child into first child (4-component vector of float)
|
|
0:49 'color' (4-component vector of float)
|
|
0:49 Function Call: shadow1D(sS11;vf3;f1; (4-component vector of float)
|
|
0:49 'shadowSampler1D' (uniform sampler1DShadow)
|
|
0:49 'coords3D' (3-component vector of float)
|
|
0:49 'bias' (float)
|
|
0:50 add second child into first child (4-component vector of float)
|
|
0:50 'color' (4-component vector of float)
|
|
0:50 Function Call: shadow2D(sS21;vf3; (4-component vector of float)
|
|
0:50 'shadowSampler2D' (uniform sampler2DShadow)
|
|
0:50 'coords3D' (3-component vector of float)
|
|
0:51 add second child into first child (4-component vector of float)
|
|
0:51 'color' (4-component vector of float)
|
|
0:51 Function Call: shadow2D(sS21;vf3;f1; (4-component vector of float)
|
|
0:51 'shadowSampler2D' (uniform sampler2DShadow)
|
|
0:51 'coords3D' (3-component vector of float)
|
|
0:51 'bias' (float)
|
|
0:52 add second child into first child (4-component vector of float)
|
|
0:52 'color' (4-component vector of float)
|
|
0:52 Function Call: shadow1DProj(sS11;vf4; (4-component vector of float)
|
|
0:52 'shadowSampler1D' (uniform sampler1DShadow)
|
|
0:52 'coords4D' (4-component vector of float)
|
|
0:53 add second child into first child (4-component vector of float)
|
|
0:53 'color' (4-component vector of float)
|
|
0:53 Function Call: shadow1DProj(sS11;vf4;f1; (4-component vector of float)
|
|
0:53 'shadowSampler1D' (uniform sampler1DShadow)
|
|
0:53 'coords4D' (4-component vector of float)
|
|
0:53 'bias' (float)
|
|
0:54 add second child into first child (4-component vector of float)
|
|
0:54 'color' (4-component vector of float)
|
|
0:54 Function Call: shadow2DProj(sS21;vf4; (4-component vector of float)
|
|
0:54 'shadowSampler2D' (uniform sampler2DShadow)
|
|
0:54 'coords4D' (4-component vector of float)
|
|
0:55 add second child into first child (4-component vector of float)
|
|
0:55 'color' (4-component vector of float)
|
|
0:55 Function Call: shadow2DProj(sS21;vf4;f1; (4-component vector of float)
|
|
0:55 'shadowSampler2D' (uniform sampler2DShadow)
|
|
0:55 'coords4D' (4-component vector of float)
|
|
0:55 'bias' (float)
|
|
0:57 Sequence
|
|
0:57 move second child to first child (2-component vector of int)
|
|
0:57 'iCoords2D' (2-component vector of int)
|
|
0:57 Constant:
|
|
0:57 0 (const int)
|
|
0:57 5 (const int)
|
|
0:58 Sequence
|
|
0:58 move second child to first child (int)
|
|
0:58 'iLod' (int)
|
|
0:58 Constant:
|
|
0:58 1 (const int)
|
|
0:60 add second child into first child (4-component vector of float)
|
|
0:60 'color' (4-component vector of float)
|
|
0:60 Function Call: texelFetch(s21;vi2;i1; (4-component vector of float)
|
|
0:60 'texSampler2D' (uniform sampler2D)
|
|
0:60 'iCoords2D' (2-component vector of int)
|
|
0:60 'iLod' (int)
|
|
0:62 Sequence
|
|
0:62 move second child to first child (2-component vector of float)
|
|
0:62 'gradX' (2-component vector of float)
|
|
0:62 dPdx (2-component vector of float)
|
|
0:62 'coords2D' (smooth in 2-component vector of float)
|
|
0:63 Sequence
|
|
0:63 move second child to first child (2-component vector of float)
|
|
0:63 'gradY' (2-component vector of float)
|
|
0:63 dPdy (2-component vector of float)
|
|
0:63 'coords2D' (smooth in 2-component vector of float)
|
|
0:66 add second child into first child (4-component vector of float)
|
|
0:66 'color' (4-component vector of float)
|
|
0:66 Function Call: textureGrad(s21;vf2;vf2;vf2; (4-component vector of float)
|
|
0:66 'texSampler2D' (uniform sampler2D)
|
|
0:66 'coords2D' (smooth in 2-component vector of float)
|
|
0:66 'gradX' (2-component vector of float)
|
|
0:66 'gradY' (2-component vector of float)
|
|
0:67 add second child into first child (4-component vector of float)
|
|
0:67 'color' (4-component vector of float)
|
|
0:67 Function Call: textureProjGrad(s21;vf3;vf2;vf2; (4-component vector of float)
|
|
0:67 'texSampler2D' (uniform sampler2D)
|
|
0:67 Construct vec3 (3-component vector of float)
|
|
0:67 'coords2D' (smooth in 2-component vector of float)
|
|
0:67 'proj' (float)
|
|
0:67 'gradX' (2-component vector of float)
|
|
0:67 'gradY' (2-component vector of float)
|
|
0:68 add second child into first child (4-component vector of float)
|
|
0:68 'color' (4-component vector of float)
|
|
0:68 Function Call: textureGradOffset(s21;vf2;vf2;vf2;vi2; (4-component vector of float)
|
|
0:68 'texSampler2D' (uniform sampler2D)
|
|
0:68 'coords2D' (smooth in 2-component vector of float)
|
|
0:68 'gradX' (2-component vector of float)
|
|
0:68 'gradY' (2-component vector of float)
|
|
0:68 Constant:
|
|
0:68 3 (const int)
|
|
0:68 -7 (const int)
|
|
0:69 add second child into first child (4-component vector of float)
|
|
0:69 'color' (4-component vector of float)
|
|
0:69 Function Call: textureProjGradOffset(s21;vf3;vf2;vf2;vi2; (4-component vector of float)
|
|
0:69 'texSampler2D' (uniform sampler2D)
|
|
0:69 'coords3D' (3-component vector of float)
|
|
0:69 'gradX' (2-component vector of float)
|
|
0:69 'gradY' (2-component vector of float)
|
|
0:69 Constant:
|
|
0:69 3 (const int)
|
|
0:69 -7 (const int)
|
|
0:70 add second child into first child (4-component vector of float)
|
|
0:70 'color' (4-component vector of float)
|
|
0:70 Function Call: textureGrad(sS21;vf3;vf2;vf2; (float)
|
|
0:70 'shadowSampler2D' (uniform sampler2DShadow)
|
|
0:70 Construct vec3 (3-component vector of float)
|
|
0:70 'coords2D' (smooth in 2-component vector of float)
|
|
0:70 'lod' (float)
|
|
0:70 'gradX' (2-component vector of float)
|
|
0:70 'gradY' (2-component vector of float)
|
|
0:72 move second child to first child (4-component vector of float)
|
|
0:72 'gl_FragColor' (fragColor 4-component vector of float)
|
|
0:72 mix (4-component vector of float)
|
|
0:72 'color' (4-component vector of float)
|
|
0:72 'u' (uniform 4-component vector of float)
|
|
0:72 component-wise multiply (float)
|
|
0:72 'blend' (uniform float)
|
|
0:72 'blendscale' (float)
|
|
0:? Linker Objects
|
|
0:? 'texSampler1D' (uniform sampler1D)
|
|
0:? 'texSampler2D' (uniform sampler2D)
|
|
0:? 'texSampler3D' (uniform sampler3D)
|
|
0:? 'texSamplerCube' (uniform samplerCube)
|
|
0:? 'shadowSampler1D' (uniform sampler1DShadow)
|
|
0:? 'shadowSampler2D' (uniform sampler2DShadow)
|
|
0:? 'blend' (uniform float)
|
|
0:? 'scale' (uniform 2-component vector of float)
|
|
0:? 'u' (uniform 4-component vector of float)
|
|
0:? 't' (smooth in 2-component vector of float)
|
|
0:? 'coords2D' (smooth in 2-component vector of float)
|
|
|
|
|
|
Linked fragment stage:
|
|
|
|
|
|
|