1vk.relaxed.stagelink.0.0.vert
2Shader version: 460
30:? Sequence
40:11  Function Definition: main( ( global void)
50:11    Function Parameters: 
60:15    Sequence
70:15      Sequence
80:15        Sequence
90:15          move second child to first child ( temp highp 3-component vector of float)
100:15            'texcoord' ( temp highp 3-component vector of float)
110:15            Function Call: TDInstanceTexCoord(vf3; ( global highp 3-component vector of float)
120:15              direct index (layout( location=3) temp highp 3-component vector of float)
130:15                'uv' (layout( location=3) in 8-element array of highp 3-component vector of float)
140:15                Constant:
150:15                  0 (const int)
160:16        move second child to first child ( temp highp 3-component vector of float)
170:16          vector swizzle ( temp highp 3-component vector of float)
180:16            texCoord0: direct index for structure ( out highp 3-component vector of float)
190:16              'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
200:16              Constant:
210:16                2 (const int)
220:16            Sequence
230:16              Constant:
240:16                0 (const int)
250:16              Constant:
260:16                1 (const int)
270:16              Constant:
280:16                2 (const int)
290:16          vector swizzle ( temp highp 3-component vector of float)
300:16            'texcoord' ( temp highp 3-component vector of float)
310:16            Sequence
320:16              Constant:
330:16                0 (const int)
340:16              Constant:
350:16                1 (const int)
360:16              Constant:
370:16                2 (const int)
380:20      move second child to first child ( temp highp int)
390:20        instance: direct index for structure ( flat out highp int)
400:20          'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
410:20          Constant:
420:20            4 (const int)
430:20        Function Call: TDInstanceID( ( global highp int)
440:21      Sequence
450:21        move second child to first child ( temp highp 4-component vector of float)
460:21          'worldSpacePos' ( temp highp 4-component vector of float)
470:21          Function Call: TDDeform(vf3; ( global highp 4-component vector of float)
480:21            'P' (layout( location=0) in highp 3-component vector of float)
490:22      Sequence
500:22        move second child to first child ( temp highp 3-component vector of float)
510:22          'uvUnwrapCoord' ( temp highp 3-component vector of float)
520:22          Function Call: TDInstanceTexCoord(vf3; ( global highp 3-component vector of float)
530:22            Function Call: TDUVUnwrapCoord( ( global highp 3-component vector of float)
540:23      move second child to first child ( temp highp 4-component vector of float)
550:23        gl_Position: direct index for structure ( gl_Position highp 4-component vector of float Position)
560:23          'anon@4' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance,  out unsized 1-element array of float CullDistance gl_CullDistance})
570:23          Constant:
580:23            0 (const uint)
590:23        Function Call: TDWorldToProj(vf4;vf3; ( global highp 4-component vector of float)
600:23          'worldSpacePos' ( temp highp 4-component vector of float)
610:23          'uvUnwrapCoord' ( temp highp 3-component vector of float)
620:32      Sequence
630:32        move second child to first child ( temp highp int)
640:32          'cameraIndex' ( temp highp int)
650:32          Function Call: TDCameraIndex( ( global highp int)
660:33      move second child to first child ( temp highp int)
670:33        cameraIndex: direct index for structure ( flat out highp int)
680:33          'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
690:33          Constant:
700:33            3 (const int)
710:33        'cameraIndex' ( temp highp int)
720:34      move second child to first child ( temp highp 3-component vector of float)
730:34        vector swizzle ( temp highp 3-component vector of float)
740:34          worldSpacePos: direct index for structure ( out highp 3-component vector of float)
750:34            'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
760:34            Constant:
770:34              1 (const int)
780:34          Sequence
790:34            Constant:
800:34              0 (const int)
810:34            Constant:
820:34              1 (const int)
830:34            Constant:
840:34              2 (const int)
850:34        vector swizzle ( temp highp 3-component vector of float)
860:34          'worldSpacePos' ( temp highp 4-component vector of float)
870:34          Sequence
880:34            Constant:
890:34              0 (const int)
900:34            Constant:
910:34              1 (const int)
920:34            Constant:
930:34              2 (const int)
940:35      move second child to first child ( temp highp 4-component vector of float)
950:35        color: direct index for structure ( out highp 4-component vector of float)
960:35          'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
970:35          Constant:
980:35            0 (const int)
990:35        Function Call: TDInstanceColor(vf4; ( global highp 4-component vector of float)
1000:35          'Cd' (layout( location=2) in highp 4-component vector of float)
1010:?   Linker Objects
1020:?     'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
1030:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
1040:?     'anon@2' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float nearFar,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor,  global highp int renderTOPCameraIndex} uTDCamInfos})
1050:?     'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform structure{ global highp 4-component vector of float ambientColor,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float viewport,  global highp 4-component vector of float viewportRes,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor} uTDGeneral})
1060:?     'P' (layout( location=0) in highp 3-component vector of float)
1070:?     'N' (layout( location=1) in highp 3-component vector of float)
1080:?     'Cd' (layout( location=2) in highp 4-component vector of float)
1090:?     'uv' (layout( location=3) in 8-element array of highp 3-component vector of float)
1100:?     'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
1110:?     'anon@4' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out unsized 1-element array of float ClipDistance gl_ClipDistance,  out unsized 1-element array of float CullDistance gl_CullDistance})
1120:?     'gl_VertexIndex' ( in int VertexIndex)
1130:?     'gl_InstanceIndex' ( in int InstanceIndex)
114
115vk.relaxed.stagelink.0.1.vert
116Shader version: 460
1170:? Sequence
1180:176  Function Definition: iTDCamToProj(vf4;vf3;i1;b1; ( global highp 4-component vector of float)
1190:176    Function Parameters: 
1200:176      'v' ( in highp 4-component vector of float)
1210:176      'uv' ( in highp 3-component vector of float)
1220:176      'cameraIndex' ( in highp int)
1230:176      'applyPickMod' ( in bool)
1240:178    Sequence
1250:178      Test condition and select ( temp void)
1260:178        Condition
1270:178        Negate conditional ( temp bool)
1280:178          Function Call: TDInstanceActive( ( global bool)
1290:178        true case
1300:179        Branch: Return with expression
1310:179          Constant:
1320:179            2.000000
1330:179            2.000000
1340:179            2.000000
1350:179            0.000000
1360:180      move second child to first child ( temp highp 4-component vector of float)
1370:180        'v' ( in highp 4-component vector of float)
1380:180        matrix-times-vector ( temp highp 4-component vector of float)
1390:180          proj: direct index for structure (layout( column_major std140) global highp 4X4 matrix of float)
1400:180            direct index (layout( column_major std140 offset=0) temp structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
1410:180              uTDMats: direct index for structure (layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
1420:180                'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
1430:180                Constant:
1440:180                  0 (const uint)
1450:180              Constant:
1460:180                0 (const int)
1470:180            Constant:
1480:180              8 (const int)
1490:180          'v' ( in highp 4-component vector of float)
1500:181      Branch: Return with expression
1510:181        'v' ( in highp 4-component vector of float)
1520:183  Function Definition: iTDWorldToProj(vf4;vf3;i1;b1; ( global highp 4-component vector of float)
1530:183    Function Parameters: 
1540:183      'v' ( in highp 4-component vector of float)
1550:183      'uv' ( in highp 3-component vector of float)
1560:183      'cameraIndex' ( in highp int)
1570:183      'applyPickMod' ( in bool)
1580:184    Sequence
1590:184      Test condition and select ( temp void)
1600:184        Condition
1610:184        Negate conditional ( temp bool)
1620:184          Function Call: TDInstanceActive( ( global bool)
1630:184        true case
1640:185        Branch: Return with expression
1650:185          Constant:
1660:185            2.000000
1670:185            2.000000
1680:185            2.000000
1690:185            0.000000
1700:186      move second child to first child ( temp highp 4-component vector of float)
1710:186        'v' ( in highp 4-component vector of float)
1720:186        matrix-times-vector ( temp highp 4-component vector of float)
1730:186          camProj: direct index for structure (layout( column_major std140) global highp 4X4 matrix of float)
1740:186            direct index (layout( column_major std140 offset=0) temp structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
1750:186              uTDMats: direct index for structure (layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
1760:186                'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
1770:186                Constant:
1780:186                  0 (const uint)
1790:186              Constant:
1800:186                0 (const int)
1810:186            Constant:
1820:186              6 (const int)
1830:186          'v' ( in highp 4-component vector of float)
1840:187      Branch: Return with expression
1850:187        'v' ( in highp 4-component vector of float)
1860:193  Function Definition: TDInstanceID( ( global highp int)
1870:193    Function Parameters: 
1880:194    Sequence
1890:194      Branch: Return with expression
1900:194        add ( temp highp int)
1910:194          'gl_InstanceIndex' ( in highp int InstanceIndex)
1920:194          uTDInstanceIDOffset: direct index for structure ( uniform highp int)
1930:194            'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
1940:194            Constant:
1950:194              0 (const uint)
1960:196  Function Definition: TDCameraIndex( ( global highp int)
1970:196    Function Parameters: 
1980:197    Sequence
1990:197      Branch: Return with expression
2000:197        Constant:
2010:197          0 (const int)
2020:199  Function Definition: TDUVUnwrapCoord( ( global highp 3-component vector of float)
2030:199    Function Parameters: 
2040:200    Sequence
2050:200      Branch: Return with expression
2060:200        direct index (layout( location=3) temp highp 3-component vector of float)
2070:200          'uv' (layout( location=3) in 8-element array of highp 3-component vector of float)
2080:200          Constant:
2090:200            0 (const int)
2100:205  Function Definition: TDPickID( ( global highp int)
2110:205    Function Parameters: 
2120:209    Sequence
2130:209      Branch: Return with expression
2140:209        Constant:
2150:209          0 (const int)
2160:212  Function Definition: iTDConvertPickId(i1; ( global highp float)
2170:212    Function Parameters: 
2180:212      'id' ( in highp int)
2190:213    Sequence
2200:213      or second child into first child ( temp highp int)
2210:213        'id' ( in highp int)
2220:213        Constant:
2230:213          1073741824 (const int)
2240:214      Branch: Return with expression
2250:214        intBitsToFloat ( global highp float)
2260:214          'id' ( in highp int)
2270:217  Function Definition: TDWritePickingValues( ( global void)
2280:217    Function Parameters: 
2290:224  Function Definition: TDWorldToProj(vf4;vf3; ( global highp 4-component vector of float)
2300:224    Function Parameters: 
2310:224      'v' ( in highp 4-component vector of float)
2320:224      'uv' ( in highp 3-component vector of float)
2330:226    Sequence
2340:226      Branch: Return with expression
2350:226        Function Call: iTDWorldToProj(vf4;vf3;i1;b1; ( global highp 4-component vector of float)
2360:226          'v' ( in highp 4-component vector of float)
2370:226          'uv' ( in highp 3-component vector of float)
2380:226          Function Call: TDCameraIndex( ( global highp int)
2390:226          Constant:
2400:226            true (const bool)
2410:228  Function Definition: TDWorldToProj(vf3;vf3; ( global highp 4-component vector of float)
2420:228    Function Parameters: 
2430:228      'v' ( in highp 3-component vector of float)
2440:228      'uv' ( in highp 3-component vector of float)
2450:230    Sequence
2460:230      Branch: Return with expression
2470:230        Function Call: TDWorldToProj(vf4;vf3; ( global highp 4-component vector of float)
2480:230          Construct vec4 ( temp highp 4-component vector of float)
2490:230            'v' ( in highp 3-component vector of float)
2500:230            Constant:
2510:230              1.000000
2520:230          'uv' ( in highp 3-component vector of float)
2530:232  Function Definition: TDWorldToProj(vf4; ( global highp 4-component vector of float)
2540:232    Function Parameters: 
2550:232      'v' ( in highp 4-component vector of float)
2560:234    Sequence
2570:234      Branch: Return with expression
2580:234        Function Call: TDWorldToProj(vf4;vf3; ( global highp 4-component vector of float)
2590:234          'v' ( in highp 4-component vector of float)
2600:234          Constant:
2610:234            0.000000
2620:234            0.000000
2630:234            0.000000
2640:236  Function Definition: TDWorldToProj(vf3; ( global highp 4-component vector of float)
2650:236    Function Parameters: 
2660:236      'v' ( in highp 3-component vector of float)
2670:238    Sequence
2680:238      Branch: Return with expression
2690:238        Function Call: TDWorldToProj(vf4; ( global highp 4-component vector of float)
2700:238          Construct vec4 ( temp highp 4-component vector of float)
2710:238            'v' ( in highp 3-component vector of float)
2720:238            Constant:
2730:238              1.000000
2740:240  Function Definition: TDPointColor( ( global highp 4-component vector of float)
2750:240    Function Parameters: 
2760:241    Sequence
2770:241      Branch: Return with expression
2780:241        'Cd' (layout( location=2) in highp 4-component vector of float)
2790:?   Linker Objects
2800:?     'P' (layout( location=0) in highp 3-component vector of float)
2810:?     'N' (layout( location=1) in highp 3-component vector of float)
2820:?     'Cd' (layout( location=2) in highp 4-component vector of float)
2830:?     'uv' (layout( location=3) in 8-element array of highp 3-component vector of float)
2840:?     'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
2850:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float position,  global highp 3-component vector of float direction,  global highp 3-component vector of float diffuse,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float lightSize,  global highp 4-component vector of float misc,  global highp 4-component vector of float coneLookupScaleBias,  global highp 4-component vector of float attenScaleBiasRoll, layout( column_major std140) global highp 4X4 matrix of float shadowMapMatrix, layout( column_major std140) global highp 4X4 matrix of float shadowMapCamMatrix,  global highp 4-component vector of float shadowMapRes, layout( column_major std140) global highp 4X4 matrix of float projMapMatrix} uTDLights})
2860:?     'anon@2' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 3-component vector of float color, layout( column_major std140) global highp 3X3 matrix of float rotate} uTDEnvLights})
2870:?     'uTDEnvLightBuffers' (layout( column_major std430) restrict readonly buffer 1-element array of block{layout( column_major std430 offset=0) restrict readonly buffer 9-element array of highp 3-component vector of float shCoeffs})
2880:?     'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
2890:?     'anon@4' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float nearFar,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor,  global highp int renderTOPCameraIndex} uTDCamInfos})
2900:?     'anon@5' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform structure{ global highp 4-component vector of float ambientColor,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float viewport,  global highp 4-component vector of float viewportRes,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor} uTDGeneral})
2910:?     'mTD2DImageOutputs' (layout( rgba8) uniform 1-element array of highp image2D)
2920:?     'mTD2DArrayImageOutputs' (layout( rgba8) uniform 1-element array of highp image2DArray)
2930:?     'mTD3DImageOutputs' (layout( rgba8) uniform 1-element array of highp image3D)
2940:?     'mTDCubeImageOutputs' (layout( rgba8) uniform 1-element array of highp imageCube)
2950:?     'gl_VertexIndex' ( in int VertexIndex)
2960:?     'gl_InstanceIndex' ( in int InstanceIndex)
297
298vk.relaxed.stagelink.0.2.vert
299Shader version: 460
3000:? Sequence
3010:114  Function Definition: TDInstanceTexCoord(i1;vf3; ( global highp 3-component vector of float)
3020:114    Function Parameters: 
3030:114      'index' ( in highp int)
3040:114      't' ( in highp 3-component vector of float)
3050:?     Sequence
3060:116      Sequence
3070:116        move second child to first child ( temp highp int)
3080:116          'coord' ( temp highp int)
3090:116          'index' ( in highp int)
3100:117      Sequence
3110:117        move second child to first child ( temp highp 4-component vector of float)
3120:117          'samp' ( temp highp 4-component vector of float)
3130:117          textureFetch ( global highp 4-component vector of float)
3140:117            'sTDInstanceTexCoord' (layout( binding=16) uniform highp samplerBuffer)
3150:117            'coord' ( temp highp int)
3160:118      move second child to first child ( temp highp float)
3170:118        direct index ( temp highp float)
3180:118          'v' ( temp highp 3-component vector of float)
3190:118          Constant:
3200:118            0 (const int)
3210:118        direct index ( temp highp float)
3220:118          't' ( in highp 3-component vector of float)
3230:118          Constant:
3240:118            0 (const int)
3250:119      move second child to first child ( temp highp float)
3260:119        direct index ( temp highp float)
3270:119          'v' ( temp highp 3-component vector of float)
3280:119          Constant:
3290:119            1 (const int)
3300:119        direct index ( temp highp float)
3310:119          't' ( in highp 3-component vector of float)
3320:119          Constant:
3330:119            1 (const int)
3340:120      move second child to first child ( temp highp float)
3350:120        direct index ( temp highp float)
3360:120          'v' ( temp highp 3-component vector of float)
3370:120          Constant:
3380:120            2 (const int)
3390:120        direct index ( temp highp float)
3400:120          'samp' ( temp highp 4-component vector of float)
3410:120          Constant:
3420:120            0 (const int)
3430:121      move second child to first child ( temp highp 3-component vector of float)
3440:121        vector swizzle ( temp highp 3-component vector of float)
3450:121          't' ( in highp 3-component vector of float)
3460:121          Sequence
3470:121            Constant:
3480:121              0 (const int)
3490:121            Constant:
3500:121              1 (const int)
3510:121            Constant:
3520:121              2 (const int)
3530:121        vector swizzle ( temp highp 3-component vector of float)
3540:121          'v' ( temp highp 3-component vector of float)
3550:121          Sequence
3560:121            Constant:
3570:121              0 (const int)
3580:121            Constant:
3590:121              1 (const int)
3600:121            Constant:
3610:121              2 (const int)
3620:122      Branch: Return with expression
3630:122        't' ( in highp 3-component vector of float)
3640:124  Function Definition: TDInstanceActive(i1; ( global bool)
3650:124    Function Parameters: 
3660:124      'index' ( in highp int)
3670:125    Sequence
3680:125      subtract second child into first child ( temp highp int)
3690:125        'index' ( in highp int)
3700:125        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
3710:125          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
3720:125          Constant:
3730:125            0 (const uint)
3740:127      Sequence
3750:127        move second child to first child ( temp highp int)
3760:127          'coord' ( temp highp int)
3770:127          'index' ( in highp int)
3780:128      Sequence
3790:128        move second child to first child ( temp highp 4-component vector of float)
3800:128          'samp' ( temp highp 4-component vector of float)
3810:128          textureFetch ( global highp 4-component vector of float)
3820:128            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
3830:128            'coord' ( temp highp int)
3840:129      move second child to first child ( temp highp float)
3850:129        'v' ( temp highp float)
3860:129        direct index ( temp highp float)
3870:129          'samp' ( temp highp 4-component vector of float)
3880:129          Constant:
3890:129            0 (const int)
3900:130      Branch: Return with expression
3910:130        Compare Not Equal ( temp bool)
3920:130          'v' ( temp highp float)
3930:130          Constant:
3940:130            0.000000
3950:132  Function Definition: iTDInstanceTranslate(i1;b1; ( global highp 3-component vector of float)
3960:132    Function Parameters: 
3970:132      'index' ( in highp int)
3980:132      'instanceActive' ( out bool)
3990:133    Sequence
4000:133      Sequence
4010:133        move second child to first child ( temp highp int)
4020:133          'origIndex' ( temp highp int)
4030:133          'index' ( in highp int)
4040:134      subtract second child into first child ( temp highp int)
4050:134        'index' ( in highp int)
4060:134        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
4070:134          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
4080:134          Constant:
4090:134            0 (const uint)
4100:136      Sequence
4110:136        move second child to first child ( temp highp int)
4120:136          'coord' ( temp highp int)
4130:136          'index' ( in highp int)
4140:137      Sequence
4150:137        move second child to first child ( temp highp 4-component vector of float)
4160:137          'samp' ( temp highp 4-component vector of float)
4170:137          textureFetch ( global highp 4-component vector of float)
4180:137            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
4190:137            'coord' ( temp highp int)
4200:138      move second child to first child ( temp highp float)
4210:138        direct index ( temp highp float)
4220:138          'v' ( temp highp 3-component vector of float)
4230:138          Constant:
4240:138            0 (const int)
4250:138        direct index ( temp highp float)
4260:138          'samp' ( temp highp 4-component vector of float)
4270:138          Constant:
4280:138            1 (const int)
4290:139      move second child to first child ( temp highp float)
4300:139        direct index ( temp highp float)
4310:139          'v' ( temp highp 3-component vector of float)
4320:139          Constant:
4330:139            1 (const int)
4340:139        direct index ( temp highp float)
4350:139          'samp' ( temp highp 4-component vector of float)
4360:139          Constant:
4370:139            2 (const int)
4380:140      move second child to first child ( temp highp float)
4390:140        direct index ( temp highp float)
4400:140          'v' ( temp highp 3-component vector of float)
4410:140          Constant:
4420:140            2 (const int)
4430:140        direct index ( temp highp float)
4440:140          'samp' ( temp highp 4-component vector of float)
4450:140          Constant:
4460:140            3 (const int)
4470:141      move second child to first child ( temp bool)
4480:141        'instanceActive' ( out bool)
4490:141        Compare Not Equal ( temp bool)
4500:141          direct index ( temp highp float)
4510:141            'samp' ( temp highp 4-component vector of float)
4520:141            Constant:
4530:141              0 (const int)
4540:141          Constant:
4550:141            0.000000
4560:142      Branch: Return with expression
4570:142        'v' ( temp highp 3-component vector of float)
4580:144  Function Definition: TDInstanceTranslate(i1; ( global highp 3-component vector of float)
4590:144    Function Parameters: 
4600:144      'index' ( in highp int)
4610:145    Sequence
4620:145      subtract second child into first child ( temp highp int)
4630:145        'index' ( in highp int)
4640:145        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
4650:145          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
4660:145          Constant:
4670:145            0 (const uint)
4680:147      Sequence
4690:147        move second child to first child ( temp highp int)
4700:147          'coord' ( temp highp int)
4710:147          'index' ( in highp int)
4720:148      Sequence
4730:148        move second child to first child ( temp highp 4-component vector of float)
4740:148          'samp' ( temp highp 4-component vector of float)
4750:148          textureFetch ( global highp 4-component vector of float)
4760:148            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
4770:148            'coord' ( temp highp int)
4780:149      move second child to first child ( temp highp float)
4790:149        direct index ( temp highp float)
4800:149          'v' ( temp highp 3-component vector of float)
4810:149          Constant:
4820:149            0 (const int)
4830:149        direct index ( temp highp float)
4840:149          'samp' ( temp highp 4-component vector of float)
4850:149          Constant:
4860:149            1 (const int)
4870:150      move second child to first child ( temp highp float)
4880:150        direct index ( temp highp float)
4890:150          'v' ( temp highp 3-component vector of float)
4900:150          Constant:
4910:150            1 (const int)
4920:150        direct index ( temp highp float)
4930:150          'samp' ( temp highp 4-component vector of float)
4940:150          Constant:
4950:150            2 (const int)
4960:151      move second child to first child ( temp highp float)
4970:151        direct index ( temp highp float)
4980:151          'v' ( temp highp 3-component vector of float)
4990:151          Constant:
5000:151            2 (const int)
5010:151        direct index ( temp highp float)
5020:151          'samp' ( temp highp 4-component vector of float)
5030:151          Constant:
5040:151            3 (const int)
5050:152      Branch: Return with expression
5060:152        'v' ( temp highp 3-component vector of float)
5070:154  Function Definition: TDInstanceRotateMat(i1; ( global highp 3X3 matrix of float)
5080:154    Function Parameters: 
5090:154      'index' ( in highp int)
5100:155    Sequence
5110:155      subtract second child into first child ( temp highp int)
5120:155        'index' ( in highp int)
5130:155        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
5140:155          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
5150:155          Constant:
5160:155            0 (const uint)
5170:156      Sequence
5180:156        move second child to first child ( temp highp 3-component vector of float)
5190:156          'v' ( temp highp 3-component vector of float)
5200:156          Constant:
5210:156            0.000000
5220:156            0.000000
5230:156            0.000000
5240:157      Sequence
5250:157        move second child to first child ( temp highp 3X3 matrix of float)
5260:157          'm' ( temp highp 3X3 matrix of float)
5270:157          Constant:
5280:157            1.000000
5290:157            0.000000
5300:157            0.000000
5310:157            0.000000
5320:157            1.000000
5330:157            0.000000
5340:157            0.000000
5350:157            0.000000
5360:157            1.000000
5370:161      Branch: Return with expression
5380:161        'm' ( temp highp 3X3 matrix of float)
5390:163  Function Definition: TDInstanceScale(i1; ( global highp 3-component vector of float)
5400:163    Function Parameters: 
5410:163      'index' ( in highp int)
5420:164    Sequence
5430:164      subtract second child into first child ( temp highp int)
5440:164        'index' ( in highp int)
5450:164        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
5460:164          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
5470:164          Constant:
5480:164            0 (const uint)
5490:165      Sequence
5500:165        move second child to first child ( temp highp 3-component vector of float)
5510:165          'v' ( temp highp 3-component vector of float)
5520:165          Constant:
5530:165            1.000000
5540:165            1.000000
5550:165            1.000000
5560:166      Branch: Return with expression
5570:166        'v' ( temp highp 3-component vector of float)
5580:168  Function Definition: TDInstancePivot(i1; ( global highp 3-component vector of float)
5590:168    Function Parameters: 
5600:168      'index' ( in highp int)
5610:169    Sequence
5620:169      subtract second child into first child ( temp highp int)
5630:169        'index' ( in highp int)
5640:169        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
5650:169          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
5660:169          Constant:
5670:169            0 (const uint)
5680:170      Sequence
5690:170        move second child to first child ( temp highp 3-component vector of float)
5700:170          'v' ( temp highp 3-component vector of float)
5710:170          Constant:
5720:170            0.000000
5730:170            0.000000
5740:170            0.000000
5750:171      Branch: Return with expression
5760:171        'v' ( temp highp 3-component vector of float)
5770:173  Function Definition: TDInstanceRotTo(i1; ( global highp 3-component vector of float)
5780:173    Function Parameters: 
5790:173      'index' ( in highp int)
5800:174    Sequence
5810:174      subtract second child into first child ( temp highp int)
5820:174        'index' ( in highp int)
5830:174        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
5840:174          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
5850:174          Constant:
5860:174            0 (const uint)
5870:175      Sequence
5880:175        move second child to first child ( temp highp 3-component vector of float)
5890:175          'v' ( temp highp 3-component vector of float)
5900:175          Constant:
5910:175            0.000000
5920:175            0.000000
5930:175            1.000000
5940:176      Branch: Return with expression
5950:176        'v' ( temp highp 3-component vector of float)
5960:178  Function Definition: TDInstanceRotUp(i1; ( global highp 3-component vector of float)
5970:178    Function Parameters: 
5980:178      'index' ( in highp int)
5990:179    Sequence
6000:179      subtract second child into first child ( temp highp int)
6010:179        'index' ( in highp int)
6020:179        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
6030:179          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
6040:179          Constant:
6050:179            0 (const uint)
6060:180      Sequence
6070:180        move second child to first child ( temp highp 3-component vector of float)
6080:180          'v' ( temp highp 3-component vector of float)
6090:180          Constant:
6100:180            0.000000
6110:180            1.000000
6120:180            0.000000
6130:181      Branch: Return with expression
6140:181        'v' ( temp highp 3-component vector of float)
6150:183  Function Definition: TDInstanceMat(i1; ( global highp 4X4 matrix of float)
6160:183    Function Parameters: 
6170:183      'id' ( in highp int)
6180:184    Sequence
6190:184      Sequence
6200:184        move second child to first child ( temp bool)
6210:184          'instanceActive' ( temp bool)
6220:184          Constant:
6230:184            true (const bool)
6240:185      Sequence
6250:185        move second child to first child ( temp highp 3-component vector of float)
6260:185          't' ( temp highp 3-component vector of float)
6270:185          Function Call: iTDInstanceTranslate(i1;b1; ( global highp 3-component vector of float)
6280:185            'id' ( in highp int)
6290:185            'instanceActive' ( temp bool)
6300:186      Test condition and select ( temp void)
6310:186        Condition
6320:186        Negate conditional ( temp bool)
6330:186          'instanceActive' ( temp bool)
6340:186        true case
6350:188        Sequence
6360:188          Branch: Return with expression
6370:188            Constant:
6380:188              0.000000
6390:188              0.000000
6400:188              0.000000
6410:188              0.000000
6420:188              0.000000
6430:188              0.000000
6440:188              0.000000
6450:188              0.000000
6460:188              0.000000
6470:188              0.000000
6480:188              0.000000
6490:188              0.000000
6500:188              0.000000
6510:188              0.000000
6520:188              0.000000
6530:188              0.000000
6540:190      Sequence
6550:190        move second child to first child ( temp highp 4X4 matrix of float)
6560:190          'm' ( temp highp 4X4 matrix of float)
6570:190          Constant:
6580:190            1.000000
6590:190            0.000000
6600:190            0.000000
6610:190            0.000000
6620:190            0.000000
6630:190            1.000000
6640:190            0.000000
6650:190            0.000000
6660:190            0.000000
6670:190            0.000000
6680:190            1.000000
6690:190            0.000000
6700:190            0.000000
6710:190            0.000000
6720:190            0.000000
6730:190            1.000000
6740:192      Sequence
6750:192        Sequence
6760:192          move second child to first child ( temp highp 3-component vector of float)
6770:192            'tt' ( temp highp 3-component vector of float)
6780:192            't' ( temp highp 3-component vector of float)
6790:193        add second child into first child ( temp highp float)
6800:193          direct index ( temp highp float)
6810:193            direct index ( temp highp 4-component vector of float)
6820:193              'm' ( temp highp 4X4 matrix of float)
6830:193              Constant:
6840:193                3 (const int)
6850:193            Constant:
6860:193              0 (const int)
6870:193          component-wise multiply ( temp highp float)
6880:193            direct index ( temp highp float)
6890:193              direct index ( temp highp 4-component vector of float)
6900:193                'm' ( temp highp 4X4 matrix of float)
6910:193                Constant:
6920:193                  0 (const int)
6930:193              Constant:
6940:193                0 (const int)
6950:193            direct index ( temp highp float)
6960:193              'tt' ( temp highp 3-component vector of float)
6970:193              Constant:
6980:193                0 (const int)
6990:194        add second child into first child ( temp highp float)
7000:194          direct index ( temp highp float)
7010:194            direct index ( temp highp 4-component vector of float)
7020:194              'm' ( temp highp 4X4 matrix of float)
7030:194              Constant:
7040:194                3 (const int)
7050:194            Constant:
7060:194              1 (const int)
7070:194          component-wise multiply ( temp highp float)
7080:194            direct index ( temp highp float)
7090:194              direct index ( temp highp 4-component vector of float)
7100:194                'm' ( temp highp 4X4 matrix of float)
7110:194                Constant:
7120:194                  0 (const int)
7130:194              Constant:
7140:194                1 (const int)
7150:194            direct index ( temp highp float)
7160:194              'tt' ( temp highp 3-component vector of float)
7170:194              Constant:
7180:194                0 (const int)
7190:195        add second child into first child ( temp highp float)
7200:195          direct index ( temp highp float)
7210:195            direct index ( temp highp 4-component vector of float)
7220:195              'm' ( temp highp 4X4 matrix of float)
7230:195              Constant:
7240:195                3 (const int)
7250:195            Constant:
7260:195              2 (const int)
7270:195          component-wise multiply ( temp highp float)
7280:195            direct index ( temp highp float)
7290:195              direct index ( temp highp 4-component vector of float)
7300:195                'm' ( temp highp 4X4 matrix of float)
7310:195                Constant:
7320:195                  0 (const int)
7330:195              Constant:
7340:195                2 (const int)
7350:195            direct index ( temp highp float)
7360:195              'tt' ( temp highp 3-component vector of float)
7370:195              Constant:
7380:195                0 (const int)
7390:196        add second child into first child ( temp highp float)
7400:196          direct index ( temp highp float)
7410:196            direct index ( temp highp 4-component vector of float)
7420:196              'm' ( temp highp 4X4 matrix of float)
7430:196              Constant:
7440:196                3 (const int)
7450:196            Constant:
7460:196              3 (const int)
7470:196          component-wise multiply ( temp highp float)
7480:196            direct index ( temp highp float)
7490:196              direct index ( temp highp 4-component vector of float)
7500:196                'm' ( temp highp 4X4 matrix of float)
7510:196                Constant:
7520:196                  0 (const int)
7530:196              Constant:
7540:196                3 (const int)
7550:196            direct index ( temp highp float)
7560:196              'tt' ( temp highp 3-component vector of float)
7570:196              Constant:
7580:196                0 (const int)
7590:197        add second child into first child ( temp highp float)
7600:197          direct index ( temp highp float)
7610:197            direct index ( temp highp 4-component vector of float)
7620:197              'm' ( temp highp 4X4 matrix of float)
7630:197              Constant:
7640:197                3 (const int)
7650:197            Constant:
7660:197              0 (const int)
7670:197          component-wise multiply ( temp highp float)
7680:197            direct index ( temp highp float)
7690:197              direct index ( temp highp 4-component vector of float)
7700:197                'm' ( temp highp 4X4 matrix of float)
7710:197                Constant:
7720:197                  1 (const int)
7730:197              Constant:
7740:197                0 (const int)
7750:197            direct index ( temp highp float)
7760:197              'tt' ( temp highp 3-component vector of float)
7770:197              Constant:
7780:197                1 (const int)
7790:198        add second child into first child ( temp highp float)
7800:198          direct index ( temp highp float)
7810:198            direct index ( temp highp 4-component vector of float)
7820:198              'm' ( temp highp 4X4 matrix of float)
7830:198              Constant:
7840:198                3 (const int)
7850:198            Constant:
7860:198              1 (const int)
7870:198          component-wise multiply ( temp highp float)
7880:198            direct index ( temp highp float)
7890:198              direct index ( temp highp 4-component vector of float)
7900:198                'm' ( temp highp 4X4 matrix of float)
7910:198                Constant:
7920:198                  1 (const int)
7930:198              Constant:
7940:198                1 (const int)
7950:198            direct index ( temp highp float)
7960:198              'tt' ( temp highp 3-component vector of float)
7970:198              Constant:
7980:198                1 (const int)
7990:199        add second child into first child ( temp highp float)
8000:199          direct index ( temp highp float)
8010:199            direct index ( temp highp 4-component vector of float)
8020:199              'm' ( temp highp 4X4 matrix of float)
8030:199              Constant:
8040:199                3 (const int)
8050:199            Constant:
8060:199              2 (const int)
8070:199          component-wise multiply ( temp highp float)
8080:199            direct index ( temp highp float)
8090:199              direct index ( temp highp 4-component vector of float)
8100:199                'm' ( temp highp 4X4 matrix of float)
8110:199                Constant:
8120:199                  1 (const int)
8130:199              Constant:
8140:199                2 (const int)
8150:199            direct index ( temp highp float)
8160:199              'tt' ( temp highp 3-component vector of float)
8170:199              Constant:
8180:199                1 (const int)
8190:200        add second child into first child ( temp highp float)
8200:200          direct index ( temp highp float)
8210:200            direct index ( temp highp 4-component vector of float)
8220:200              'm' ( temp highp 4X4 matrix of float)
8230:200              Constant:
8240:200                3 (const int)
8250:200            Constant:
8260:200              3 (const int)
8270:200          component-wise multiply ( temp highp float)
8280:200            direct index ( temp highp float)
8290:200              direct index ( temp highp 4-component vector of float)
8300:200                'm' ( temp highp 4X4 matrix of float)
8310:200                Constant:
8320:200                  1 (const int)
8330:200              Constant:
8340:200                3 (const int)
8350:200            direct index ( temp highp float)
8360:200              'tt' ( temp highp 3-component vector of float)
8370:200              Constant:
8380:200                1 (const int)
8390:201        add second child into first child ( temp highp float)
8400:201          direct index ( temp highp float)
8410:201            direct index ( temp highp 4-component vector of float)
8420:201              'm' ( temp highp 4X4 matrix of float)
8430:201              Constant:
8440:201                3 (const int)
8450:201            Constant:
8460:201              0 (const int)
8470:201          component-wise multiply ( temp highp float)
8480:201            direct index ( temp highp float)
8490:201              direct index ( temp highp 4-component vector of float)
8500:201                'm' ( temp highp 4X4 matrix of float)
8510:201                Constant:
8520:201                  2 (const int)
8530:201              Constant:
8540:201                0 (const int)
8550:201            direct index ( temp highp float)
8560:201              'tt' ( temp highp 3-component vector of float)
8570:201              Constant:
8580:201                2 (const int)
8590:202        add second child into first child ( temp highp float)
8600:202          direct index ( temp highp float)
8610:202            direct index ( temp highp 4-component vector of float)
8620:202              'm' ( temp highp 4X4 matrix of float)
8630:202              Constant:
8640:202                3 (const int)
8650:202            Constant:
8660:202              1 (const int)
8670:202          component-wise multiply ( temp highp float)
8680:202            direct index ( temp highp float)
8690:202              direct index ( temp highp 4-component vector of float)
8700:202                'm' ( temp highp 4X4 matrix of float)
8710:202                Constant:
8720:202                  2 (const int)
8730:202              Constant:
8740:202                1 (const int)
8750:202            direct index ( temp highp float)
8760:202              'tt' ( temp highp 3-component vector of float)
8770:202              Constant:
8780:202                2 (const int)
8790:203        add second child into first child ( temp highp float)
8800:203          direct index ( temp highp float)
8810:203            direct index ( temp highp 4-component vector of float)
8820:203              'm' ( temp highp 4X4 matrix of float)
8830:203              Constant:
8840:203                3 (const int)
8850:203            Constant:
8860:203              2 (const int)
8870:203          component-wise multiply ( temp highp float)
8880:203            direct index ( temp highp float)
8890:203              direct index ( temp highp 4-component vector of float)
8900:203                'm' ( temp highp 4X4 matrix of float)
8910:203                Constant:
8920:203                  2 (const int)
8930:203              Constant:
8940:203                2 (const int)
8950:203            direct index ( temp highp float)
8960:203              'tt' ( temp highp 3-component vector of float)
8970:203              Constant:
8980:203                2 (const int)
8990:204        add second child into first child ( temp highp float)
9000:204          direct index ( temp highp float)
9010:204            direct index ( temp highp 4-component vector of float)
9020:204              'm' ( temp highp 4X4 matrix of float)
9030:204              Constant:
9040:204                3 (const int)
9050:204            Constant:
9060:204              3 (const int)
9070:204          component-wise multiply ( temp highp float)
9080:204            direct index ( temp highp float)
9090:204              direct index ( temp highp 4-component vector of float)
9100:204                'm' ( temp highp 4X4 matrix of float)
9110:204                Constant:
9120:204                  2 (const int)
9130:204              Constant:
9140:204                3 (const int)
9150:204            direct index ( temp highp float)
9160:204              'tt' ( temp highp 3-component vector of float)
9170:204              Constant:
9180:204                2 (const int)
9190:206      Branch: Return with expression
9200:206        'm' ( temp highp 4X4 matrix of float)
9210:208  Function Definition: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
9220:208    Function Parameters: 
9230:208      'id' ( in highp int)
9240:209    Sequence
9250:209      Sequence
9260:209        move second child to first child ( temp highp 3X3 matrix of float)
9270:209          'm' ( temp highp 3X3 matrix of float)
9280:209          Constant:
9290:209            1.000000
9300:209            0.000000
9310:209            0.000000
9320:209            0.000000
9330:209            1.000000
9340:209            0.000000
9350:209            0.000000
9360:209            0.000000
9370:209            1.000000
9380:210      Branch: Return with expression
9390:210        'm' ( temp highp 3X3 matrix of float)
9400:212  Function Definition: TDInstanceMat3ForNorm(i1; ( global highp 3X3 matrix of float)
9410:212    Function Parameters: 
9420:212      'id' ( in highp int)
9430:213    Sequence
9440:213      Sequence
9450:213        move second child to first child ( temp highp 3X3 matrix of float)
9460:213          'm' ( temp highp 3X3 matrix of float)
9470:213          Function Call: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
9480:213            'id' ( in highp int)
9490:214      Branch: Return with expression
9500:214        'm' ( temp highp 3X3 matrix of float)
9510:216  Function Definition: TDInstanceColor(i1;vf4; ( global highp 4-component vector of float)
9520:216    Function Parameters: 
9530:216      'index' ( in highp int)
9540:216      'curColor' ( in highp 4-component vector of float)
9550:217    Sequence
9560:217      subtract second child into first child ( temp highp int)
9570:217        'index' ( in highp int)
9580:217        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
9590:217          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
9600:217          Constant:
9610:217            0 (const uint)
9620:219      Sequence
9630:219        move second child to first child ( temp highp int)
9640:219          'coord' ( temp highp int)
9650:219          'index' ( in highp int)
9660:220      Sequence
9670:220        move second child to first child ( temp highp 4-component vector of float)
9680:220          'samp' ( temp highp 4-component vector of float)
9690:220          textureFetch ( global highp 4-component vector of float)
9700:220            'sTDInstanceColor' (layout( binding=17) uniform highp samplerBuffer)
9710:220            'coord' ( temp highp int)
9720:221      move second child to first child ( temp highp float)
9730:221        direct index ( temp highp float)
9740:221          'v' ( temp highp 4-component vector of float)
9750:221          Constant:
9760:221            0 (const int)
9770:221        direct index ( temp highp float)
9780:221          'samp' ( temp highp 4-component vector of float)
9790:221          Constant:
9800:221            0 (const int)
9810:222      move second child to first child ( temp highp float)
9820:222        direct index ( temp highp float)
9830:222          'v' ( temp highp 4-component vector of float)
9840:222          Constant:
9850:222            1 (const int)
9860:222        direct index ( temp highp float)
9870:222          'samp' ( temp highp 4-component vector of float)
9880:222          Constant:
9890:222            1 (const int)
9900:223      move second child to first child ( temp highp float)
9910:223        direct index ( temp highp float)
9920:223          'v' ( temp highp 4-component vector of float)
9930:223          Constant:
9940:223            2 (const int)
9950:223        direct index ( temp highp float)
9960:223          'samp' ( temp highp 4-component vector of float)
9970:223          Constant:
9980:223            2 (const int)
9990:224      move second child to first child ( temp highp float)
10000:224        direct index ( temp highp float)
10010:224          'v' ( temp highp 4-component vector of float)
10020:224          Constant:
10030:224            3 (const int)
10040:224        Constant:
10050:224          1.000000
10060:225      move second child to first child ( temp highp float)
10070:225        direct index ( temp highp float)
10080:225          'curColor' ( in highp 4-component vector of float)
10090:225          Constant:
10100:225            0 (const int)
10110:225        direct index ( temp highp float)
10120:225          'v' ( temp highp 4-component vector of float)
10130:225          Constant:
10140:225            0 (const int)
10150:227      move second child to first child ( temp highp float)
10160:227        direct index ( temp highp float)
10170:227          'curColor' ( in highp 4-component vector of float)
10180:227          Constant:
10190:227            1 (const int)
10200:227        direct index ( temp highp float)
10210:227          'v' ( temp highp 4-component vector of float)
10220:227          Constant:
10230:227            1 (const int)
10240:229      move second child to first child ( temp highp float)
10250:229        direct index ( temp highp float)
10260:229          'curColor' ( in highp 4-component vector of float)
10270:229          Constant:
10280:229            2 (const int)
10290:229        direct index ( temp highp float)
10300:229          'v' ( temp highp 4-component vector of float)
10310:229          Constant:
10320:229            2 (const int)
10330:231      Branch: Return with expression
10340:231        'curColor' ( in highp 4-component vector of float)
10350:233  Function Definition: TDInstanceDeform(i1;vf4; ( global highp 4-component vector of float)
10360:233    Function Parameters: 
10370:233      'id' ( in highp int)
10380:233      'pos' ( in highp 4-component vector of float)
10390:234    Sequence
10400:234      move second child to first child ( temp highp 4-component vector of float)
10410:234        'pos' ( in highp 4-component vector of float)
10420:234        matrix-times-vector ( temp highp 4-component vector of float)
10430:234          Function Call: TDInstanceMat(i1; ( global highp 4X4 matrix of float)
10440:234            'id' ( in highp int)
10450:234          'pos' ( in highp 4-component vector of float)
10460:235      Branch: Return with expression
10470:235        matrix-times-vector ( temp highp 4-component vector of float)
10480:235          world: direct index for structure (layout( column_major std140) global highp 4X4 matrix of float)
10490:235            indirect index (layout( column_major std140 offset=0) temp structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
10500:235              uTDMats: direct index for structure (layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
10510:235                'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
10520:235                Constant:
10530:235                  0 (const uint)
10540:235              Function Call: TDCameraIndex( ( global highp int)
10550:235            Constant:
10560:235              0 (const int)
10570:235          'pos' ( in highp 4-component vector of float)
10580:238  Function Definition: TDInstanceDeformVec(i1;vf3; ( global highp 3-component vector of float)
10590:238    Function Parameters: 
10600:238      'id' ( in highp int)
10610:238      'vec' ( in highp 3-component vector of float)
10620:240    Sequence
10630:240      Sequence
10640:240        move second child to first child ( temp highp 3X3 matrix of float)
10650:240          'm' ( temp highp 3X3 matrix of float)
10660:240          Function Call: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
10670:240            'id' ( in highp int)
10680:241      Branch: Return with expression
10690:241        matrix-times-vector ( temp highp 3-component vector of float)
10700:241          Construct mat3 ( temp highp 3X3 matrix of float)
10710:241            world: direct index for structure (layout( column_major std140) global highp 4X4 matrix of float)
10720:241              indirect index (layout( column_major std140 offset=0) temp structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
10730:241                uTDMats: direct index for structure (layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
10740:241                  'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
10750:241                  Constant:
10760:241                    0 (const uint)
10770:241                Function Call: TDCameraIndex( ( global highp int)
10780:241              Constant:
10790:241                0 (const int)
10800:241          matrix-times-vector ( temp highp 3-component vector of float)
10810:241            'm' ( temp highp 3X3 matrix of float)
10820:241            'vec' ( in highp 3-component vector of float)
10830:243  Function Definition: TDInstanceDeformNorm(i1;vf3; ( global highp 3-component vector of float)
10840:243    Function Parameters: 
10850:243      'id' ( in highp int)
10860:243      'vec' ( in highp 3-component vector of float)
10870:245    Sequence
10880:245      Sequence
10890:245        move second child to first child ( temp highp 3X3 matrix of float)
10900:245          'm' ( temp highp 3X3 matrix of float)
10910:245          Function Call: TDInstanceMat3ForNorm(i1; ( global highp 3X3 matrix of float)
10920:245            'id' ( in highp int)
10930:246      Branch: Return with expression
10940:246        matrix-times-vector ( temp highp 3-component vector of float)
10950:246          Construct mat3 ( temp highp 3X3 matrix of float)
10960:246            worldForNormals: direct index for structure (layout( column_major std140) global highp 3X3 matrix of float)
10970:246              indirect index (layout( column_major std140 offset=0) temp structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
10980:246                uTDMats: direct index for structure (layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
10990:246                  'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
11000:246                  Constant:
11010:246                    0 (const uint)
11020:246                Function Call: TDCameraIndex( ( global highp int)
11030:246              Constant:
11040:246                13 (const int)
11050:246          matrix-times-vector ( temp highp 3-component vector of float)
11060:246            'm' ( temp highp 3X3 matrix of float)
11070:246            'vec' ( in highp 3-component vector of float)
11080:248  Function Definition: TDInstanceDeform(vf4; ( global highp 4-component vector of float)
11090:248    Function Parameters: 
11100:248      'pos' ( in highp 4-component vector of float)
11110:249    Sequence
11120:249      Branch: Return with expression
11130:249        Function Call: TDInstanceDeform(i1;vf4; ( global highp 4-component vector of float)
11140:249          Function Call: TDInstanceID( ( global highp int)
11150:249          'pos' ( in highp 4-component vector of float)
11160:251  Function Definition: TDInstanceDeformVec(vf3; ( global highp 3-component vector of float)
11170:251    Function Parameters: 
11180:251      'vec' ( in highp 3-component vector of float)
11190:252    Sequence
11200:252      Branch: Return with expression
11210:252        Function Call: TDInstanceDeformVec(i1;vf3; ( global highp 3-component vector of float)
11220:252          Function Call: TDInstanceID( ( global highp int)
11230:252          'vec' ( in highp 3-component vector of float)
11240:254  Function Definition: TDInstanceDeformNorm(vf3; ( global highp 3-component vector of float)
11250:254    Function Parameters: 
11260:254      'vec' ( in highp 3-component vector of float)
11270:255    Sequence
11280:255      Branch: Return with expression
11290:255        Function Call: TDInstanceDeformNorm(i1;vf3; ( global highp 3-component vector of float)
11300:255          Function Call: TDInstanceID( ( global highp int)
11310:255          'vec' ( in highp 3-component vector of float)
11320:257  Function Definition: TDInstanceActive( ( global bool)
11330:257    Function Parameters: 
11340:257    Sequence
11350:257      Branch: Return with expression
11360:257        Function Call: TDInstanceActive(i1; ( global bool)
11370:257          Function Call: TDInstanceID( ( global highp int)
11380:258  Function Definition: TDInstanceTranslate( ( global highp 3-component vector of float)
11390:258    Function Parameters: 
11400:258    Sequence
11410:258      Branch: Return with expression
11420:258        Function Call: TDInstanceTranslate(i1; ( global highp 3-component vector of float)
11430:258          Function Call: TDInstanceID( ( global highp int)
11440:259  Function Definition: TDInstanceRotateMat( ( global highp 3X3 matrix of float)
11450:259    Function Parameters: 
11460:259    Sequence
11470:259      Branch: Return with expression
11480:259        Function Call: TDInstanceRotateMat(i1; ( global highp 3X3 matrix of float)
11490:259          Function Call: TDInstanceID( ( global highp int)
11500:260  Function Definition: TDInstanceScale( ( global highp 3-component vector of float)
11510:260    Function Parameters: 
11520:260    Sequence
11530:260      Branch: Return with expression
11540:260        Function Call: TDInstanceScale(i1; ( global highp 3-component vector of float)
11550:260          Function Call: TDInstanceID( ( global highp int)
11560:261  Function Definition: TDInstanceMat( ( global highp 4X4 matrix of float)
11570:261    Function Parameters: 
11580:261    Sequence
11590:261      Branch: Return with expression
11600:261        Function Call: TDInstanceMat(i1; ( global highp 4X4 matrix of float)
11610:261          Function Call: TDInstanceID( ( global highp int)
11620:263  Function Definition: TDInstanceMat3( ( global highp 3X3 matrix of float)
11630:263    Function Parameters: 
11640:263    Sequence
11650:263      Branch: Return with expression
11660:263        Function Call: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
11670:263          Function Call: TDInstanceID( ( global highp int)
11680:265  Function Definition: TDInstanceTexCoord(vf3; ( global highp 3-component vector of float)
11690:265    Function Parameters: 
11700:265      't' ( in highp 3-component vector of float)
11710:266    Sequence
11720:266      Branch: Return with expression
11730:266        Function Call: TDInstanceTexCoord(i1;vf3; ( global highp 3-component vector of float)
11740:266          Function Call: TDInstanceID( ( global highp int)
11750:266          't' ( in highp 3-component vector of float)
11760:268  Function Definition: TDInstanceColor(vf4; ( global highp 4-component vector of float)
11770:268    Function Parameters: 
11780:268      'curColor' ( in highp 4-component vector of float)
11790:269    Sequence
11800:269      Branch: Return with expression
11810:269        Function Call: TDInstanceColor(i1;vf4; ( global highp 4-component vector of float)
11820:269          Function Call: TDInstanceID( ( global highp int)
11830:269          'curColor' ( in highp 4-component vector of float)
11840:271  Function Definition: TDSkinnedDeform(vf4; ( global highp 4-component vector of float)
11850:271    Function Parameters: 
11860:271      'pos' ( in highp 4-component vector of float)
11870:271    Sequence
11880:271      Branch: Return with expression
11890:271        'pos' ( in highp 4-component vector of float)
11900:273  Function Definition: TDSkinnedDeformVec(vf3; ( global highp 3-component vector of float)
11910:273    Function Parameters: 
11920:273      'vec' ( in highp 3-component vector of float)
11930:273    Sequence
11940:273      Branch: Return with expression
11950:273        'vec' ( in highp 3-component vector of float)
11960:275  Function Definition: TDFastDeformTangent(vf3;vf4;vf3; ( global highp 3-component vector of float)
11970:275    Function Parameters: 
11980:275      'oldNorm' ( in highp 3-component vector of float)
11990:275      'oldTangent' ( in highp 4-component vector of float)
12000:275      'deformedNorm' ( in highp 3-component vector of float)
12010:276    Sequence
12020:276      Branch: Return with expression
12030:276        vector swizzle ( temp highp 3-component vector of float)
12040:276          'oldTangent' ( in highp 4-component vector of float)
12050:276          Sequence
12060:276            Constant:
12070:276              0 (const int)
12080:276            Constant:
12090:276              1 (const int)
12100:276            Constant:
12110:276              2 (const int)
12120:277  Function Definition: TDBoneMat(i1; ( global highp 4X4 matrix of float)
12130:277    Function Parameters: 
12140:277      'index' ( in highp int)
12150:278    Sequence
12160:278      Branch: Return with expression
12170:278        Constant:
12180:278          1.000000
12190:278          0.000000
12200:278          0.000000
12210:278          0.000000
12220:278          0.000000
12230:278          1.000000
12240:278          0.000000
12250:278          0.000000
12260:278          0.000000
12270:278          0.000000
12280:278          1.000000
12290:278          0.000000
12300:278          0.000000
12310:278          0.000000
12320:278          0.000000
12330:278          1.000000
12340:280  Function Definition: TDDeform(vf4; ( global highp 4-component vector of float)
12350:280    Function Parameters: 
12360:280      'pos' ( in highp 4-component vector of float)
12370:281    Sequence
12380:281      move second child to first child ( temp highp 4-component vector of float)
12390:281        'pos' ( in highp 4-component vector of float)
12400:281        Function Call: TDSkinnedDeform(vf4; ( global highp 4-component vector of float)
12410:281          'pos' ( in highp 4-component vector of float)
12420:282      move second child to first child ( temp highp 4-component vector of float)
12430:282        'pos' ( in highp 4-component vector of float)
12440:282        Function Call: TDInstanceDeform(vf4; ( global highp 4-component vector of float)
12450:282          'pos' ( in highp 4-component vector of float)
12460:283      Branch: Return with expression
12470:283        'pos' ( in highp 4-component vector of float)
12480:286  Function Definition: TDDeform(i1;vf3; ( global highp 4-component vector of float)
12490:286    Function Parameters: 
12500:286      'instanceID' ( in highp int)
12510:286      'p' ( in highp 3-component vector of float)
12520:287    Sequence
12530:287      Sequence
12540:287        move second child to first child ( temp highp 4-component vector of float)
12550:287          'pos' ( temp highp 4-component vector of float)
12560:287          Construct vec4 ( temp highp 4-component vector of float)
12570:287            'p' ( in highp 3-component vector of float)
12580:287            Constant:
12590:287              1.000000
12600:288      move second child to first child ( temp highp 4-component vector of float)
12610:288        'pos' ( temp highp 4-component vector of float)
12620:288        Function Call: TDSkinnedDeform(vf4; ( global highp 4-component vector of float)
12630:288          'pos' ( temp highp 4-component vector of float)
12640:289      move second child to first child ( temp highp 4-component vector of float)
12650:289        'pos' ( temp highp 4-component vector of float)
12660:289        Function Call: TDInstanceDeform(i1;vf4; ( global highp 4-component vector of float)
12670:289          'instanceID' ( in highp int)
12680:289          'pos' ( temp highp 4-component vector of float)
12690:290      Branch: Return with expression
12700:290        'pos' ( temp highp 4-component vector of float)
12710:293  Function Definition: TDDeform(vf3; ( global highp 4-component vector of float)
12720:293    Function Parameters: 
12730:293      'pos' ( in highp 3-component vector of float)
12740:294    Sequence
12750:294      Branch: Return with expression
12760:294        Function Call: TDDeform(i1;vf3; ( global highp 4-component vector of float)
12770:294          Function Call: TDInstanceID( ( global highp int)
12780:294          'pos' ( in highp 3-component vector of float)
12790:297  Function Definition: TDDeformVec(i1;vf3; ( global highp 3-component vector of float)
12800:297    Function Parameters: 
12810:297      'instanceID' ( in highp int)
12820:297      'vec' ( in highp 3-component vector of float)
12830:298    Sequence
12840:298      move second child to first child ( temp highp 3-component vector of float)
12850:298        'vec' ( in highp 3-component vector of float)
12860:298        Function Call: TDSkinnedDeformVec(vf3; ( global highp 3-component vector of float)
12870:298          'vec' ( in highp 3-component vector of float)
12880:299      move second child to first child ( temp highp 3-component vector of float)
12890:299        'vec' ( in highp 3-component vector of float)
12900:299        Function Call: TDInstanceDeformVec(i1;vf3; ( global highp 3-component vector of float)
12910:299          'instanceID' ( in highp int)
12920:299          'vec' ( in highp 3-component vector of float)
12930:300      Branch: Return with expression
12940:300        'vec' ( in highp 3-component vector of float)
12950:303  Function Definition: TDDeformVec(vf3; ( global highp 3-component vector of float)
12960:303    Function Parameters: 
12970:303      'vec' ( in highp 3-component vector of float)
12980:304    Sequence
12990:304      Branch: Return with expression
13000:304        Function Call: TDDeformVec(i1;vf3; ( global highp 3-component vector of float)
13010:304          Function Call: TDInstanceID( ( global highp int)
13020:304          'vec' ( in highp 3-component vector of float)
13030:307  Function Definition: TDDeformNorm(i1;vf3; ( global highp 3-component vector of float)
13040:307    Function Parameters: 
13050:307      'instanceID' ( in highp int)
13060:307      'vec' ( in highp 3-component vector of float)
13070:308    Sequence
13080:308      move second child to first child ( temp highp 3-component vector of float)
13090:308        'vec' ( in highp 3-component vector of float)
13100:308        Function Call: TDSkinnedDeformVec(vf3; ( global highp 3-component vector of float)
13110:308          'vec' ( in highp 3-component vector of float)
13120:309      move second child to first child ( temp highp 3-component vector of float)
13130:309        'vec' ( in highp 3-component vector of float)
13140:309        Function Call: TDInstanceDeformNorm(i1;vf3; ( global highp 3-component vector of float)
13150:309          'instanceID' ( in highp int)
13160:309          'vec' ( in highp 3-component vector of float)
13170:310      Branch: Return with expression
13180:310        'vec' ( in highp 3-component vector of float)
13190:313  Function Definition: TDDeformNorm(vf3; ( global highp 3-component vector of float)
13200:313    Function Parameters: 
13210:313      'vec' ( in highp 3-component vector of float)
13220:314    Sequence
13230:314      Branch: Return with expression
13240:314        Function Call: TDDeformNorm(i1;vf3; ( global highp 3-component vector of float)
13250:314          Function Call: TDInstanceID( ( global highp int)
13260:314          'vec' ( in highp 3-component vector of float)
13270:317  Function Definition: TDSkinnedDeformNorm(vf3; ( global highp 3-component vector of float)
13280:317    Function Parameters: 
13290:317      'vec' ( in highp 3-component vector of float)
13300:318    Sequence
13310:318      move second child to first child ( temp highp 3-component vector of float)
13320:318        'vec' ( in highp 3-component vector of float)
13330:318        Function Call: TDSkinnedDeformVec(vf3; ( global highp 3-component vector of float)
13340:318          'vec' ( in highp 3-component vector of float)
13350:319      Branch: Return with expression
13360:319        'vec' ( in highp 3-component vector of float)
13370:?   Linker Objects
13380:?     'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
13390:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float position,  global highp 3-component vector of float direction,  global highp 3-component vector of float diffuse,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float lightSize,  global highp 4-component vector of float misc,  global highp 4-component vector of float coneLookupScaleBias,  global highp 4-component vector of float attenScaleBiasRoll, layout( column_major std140) global highp 4X4 matrix of float shadowMapMatrix, layout( column_major std140) global highp 4X4 matrix of float shadowMapCamMatrix,  global highp 4-component vector of float shadowMapRes, layout( column_major std140) global highp 4X4 matrix of float projMapMatrix} uTDLights})
13400:?     'anon@2' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 3-component vector of float color, layout( column_major std140) global highp 3X3 matrix of float rotate} uTDEnvLights})
13410:?     'uTDEnvLightBuffers' (layout( column_major std430) restrict readonly buffer 1-element array of block{layout( column_major std430 offset=0) restrict readonly buffer 9-element array of highp 3-component vector of float shCoeffs})
13420:?     'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
13430:?     'anon@4' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float nearFar,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor,  global highp int renderTOPCameraIndex} uTDCamInfos})
13440:?     'anon@5' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform structure{ global highp 4-component vector of float ambientColor,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float viewport,  global highp 4-component vector of float viewportRes,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor} uTDGeneral})
13450:?     'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
13460:?     'sTDInstanceTexCoord' (layout( binding=16) uniform highp samplerBuffer)
13470:?     'sTDInstanceColor' (layout( binding=17) uniform highp samplerBuffer)
13480:?     'gl_VertexIndex' ( in int VertexIndex)
13490:?     'gl_InstanceIndex' ( in int InstanceIndex)
1350
1351vk.relaxed.stagelink.0.0.frag
1352Shader version: 460
1353gl_FragCoord origin is upper left
13540:? Sequence
13550:95  Function Definition: main( ( global void)
13560:95    Function Parameters: 
13570:99    Sequence
13580:99      Function Call: TDCheckDiscard( ( global void)
13590:101      Sequence
13600:101        move second child to first child ( temp highp 4-component vector of float)
13610:101          'outcol' ( temp highp 4-component vector of float)
13620:101          Constant:
13630:101            0.000000
13640:101            0.000000
13650:101            0.000000
13660:101            0.000000
13670:103      Sequence
13680:103        move second child to first child ( temp highp 3-component vector of float)
13690:103          'texCoord0' ( temp highp 3-component vector of float)
13700:103          vector swizzle ( temp highp 3-component vector of float)
13710:103            texCoord0: direct index for structure ( in highp 3-component vector of float)
13720:103              'iVert' ( in block{ in highp 4-component vector of float color,  in highp 3-component vector of float worldSpacePos,  in highp 3-component vector of float texCoord0,  flat in highp int cameraIndex,  flat in highp int instance})
13730:103              Constant:
13740:103                2 (const int)
13750:103            Sequence
13760:103              Constant:
13770:103                0 (const int)
13780:103              Constant:
13790:103                1 (const int)
13800:103              Constant:
13810:103                2 (const int)
13820:104      Sequence
13830:104        move second child to first child ( temp highp float)
13840:104          'actualTexZ' ( temp highp float)
13850:104          mod ( global highp float)
13860:104            Convert int to float ( temp highp float)
13870:104              Convert float to int ( temp highp int)
13880:104                direct index ( temp highp float)
13890:104                  'texCoord0' ( temp highp 3-component vector of float)
13900:104                  Constant:
13910:104                    2 (const int)
13920:104            Constant:
13930:104              2048.000000
13940:105      Sequence
13950:105        move second child to first child ( temp highp float)
13960:105          'instanceLoop' ( temp highp float)
13970:105          Floor ( global highp float)
13980:105            Convert int to float ( temp highp float)
13990:105              divide ( temp highp int)
14000:105                Convert float to int ( temp highp int)
14010:105                  direct index ( temp highp float)
14020:105                    'texCoord0' ( temp highp 3-component vector of float)
14030:105                    Constant:
14040:105                      2 (const int)
14050:105                Constant:
14060:105                  2048 (const int)
14070:106      move second child to first child ( temp highp float)
14080:106        direct index ( temp highp float)
14090:106          'texCoord0' ( temp highp 3-component vector of float)
14100:106          Constant:
14110:106            2 (const int)
14120:106        'actualTexZ' ( temp highp float)
14130:107      Sequence
14140:107        move second child to first child ( temp highp 4-component vector of float)
14150:107          'colorMapColor' ( temp highp 4-component vector of float)
14160:107          texture ( global highp 4-component vector of float)
14170:107            'sColorMap' ( uniform highp sampler2DArray)
14180:107            vector swizzle ( temp highp 3-component vector of float)
14190:107              'texCoord0' ( temp highp 3-component vector of float)
14200:107              Sequence
14210:107                Constant:
14220:107                  0 (const int)
14230:107                Constant:
14240:107                  1 (const int)
14250:107                Constant:
14260:107                  2 (const int)
14270:109      Sequence
14280:109        move second child to first child ( temp highp float)
14290:109          'red' ( temp highp float)
14300:109          indirect index ( temp highp float)
14310:109            'colorMapColor' ( temp highp 4-component vector of float)
14320:109            Convert float to int ( temp highp int)
14330:109              'instanceLoop' ( temp highp float)
14340:110      move second child to first child ( temp highp 4-component vector of float)
14350:110        'colorMapColor' ( temp highp 4-component vector of float)
14360:110        Construct vec4 ( temp highp 4-component vector of float)
14370:110          'red' ( temp highp float)
14380:112      add second child into first child ( temp highp 3-component vector of float)
14390:112        vector swizzle ( temp highp 3-component vector of float)
14400:112          'outcol' ( temp highp 4-component vector of float)
14410:112          Sequence
14420:112            Constant:
14430:112              0 (const int)
14440:112            Constant:
14450:112              1 (const int)
14460:112            Constant:
14470:112              2 (const int)
14480:112        component-wise multiply ( temp highp 3-component vector of float)
14490:112          uConstant: direct index for structure ( uniform highp 3-component vector of float)
14500:112            'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
14510:112            Constant:
14520:112              3 (const uint)
14530:112          vector swizzle ( temp highp 3-component vector of float)
14540:112            color: direct index for structure ( in highp 4-component vector of float)
14550:112              'iVert' ( in block{ in highp 4-component vector of float color,  in highp 3-component vector of float worldSpacePos,  in highp 3-component vector of float texCoord0,  flat in highp int cameraIndex,  flat in highp int instance})
14560:112              Constant:
14570:112                0 (const int)
14580:112            Sequence
14590:112              Constant:
14600:112                0 (const int)
14610:112              Constant:
14620:112                1 (const int)
14630:112              Constant:
14640:112                2 (const int)
14650:114      multiply second child into first child ( temp highp 4-component vector of float)
14660:114        'outcol' ( temp highp 4-component vector of float)
14670:114        'colorMapColor' ( temp highp 4-component vector of float)
14680:117      Sequence
14690:117        move second child to first child ( temp highp float)
14700:117          'alpha' ( temp highp float)
14710:117          component-wise multiply ( temp highp float)
14720:117            direct index ( temp highp float)
14730:117              color: direct index for structure ( in highp 4-component vector of float)
14740:117                'iVert' ( in block{ in highp 4-component vector of float color,  in highp 3-component vector of float worldSpacePos,  in highp 3-component vector of float texCoord0,  flat in highp int cameraIndex,  flat in highp int instance})
14750:117                Constant:
14760:117                  0 (const int)
14770:117              Constant:
14780:117                3 (const int)
14790:117            direct index ( temp highp float)
14800:117              'colorMapColor' ( temp highp 4-component vector of float)
14810:117              Constant:
14820:117                3 (const int)
14830:120      move second child to first child ( temp highp 4-component vector of float)
14840:120        'outcol' ( temp highp 4-component vector of float)
14850:120        Function Call: TDDither(vf4; ( global highp 4-component vector of float)
14860:120          'outcol' ( temp highp 4-component vector of float)
14870:122      vector scale second child into first child ( temp highp 3-component vector of float)
14880:122        vector swizzle ( temp highp 3-component vector of float)
14890:122          'outcol' ( temp highp 4-component vector of float)
14900:122          Sequence
14910:122            Constant:
14920:122              0 (const int)
14930:122            Constant:
14940:122              1 (const int)
14950:122            Constant:
14960:122              2 (const int)
14970:122        'alpha' ( temp highp float)
14980:126      Function Call: TDAlphaTest(f1; ( global void)
14990:126        'alpha' ( temp highp float)
15000:128      move second child to first child ( temp highp float)
15010:128        direct index ( temp highp float)
15020:128          'outcol' ( temp highp 4-component vector of float)
15030:128          Constant:
15040:128            3 (const int)
15050:128        'alpha' ( temp highp float)
15060:129      move second child to first child ( temp highp 4-component vector of float)
15070:129        direct index (layout( location=0) temp highp 4-component vector of float)
15080:129          'oFragColor' (layout( location=0) out 1-element array of highp 4-component vector of float)
15090:129          Constant:
15100:129            0 (const int)
15110:129        Function Call: TDOutputSwizzle(vf4; ( global highp 4-component vector of float)
15120:129          'outcol' ( temp highp 4-component vector of float)
15130:135      Sequence
15140:135        Sequence
15150:135          move second child to first child ( temp highp int)
15160:135            'i' ( temp highp int)
15170:135            Constant:
15180:135              1 (const int)
15190:135        Loop with condition tested first
15200:135          Loop Condition
15210:135          Compare Less Than ( temp bool)
15220:135            'i' ( temp highp int)
15230:135            Constant:
15240:135              1 (const int)
15250:135          Loop Body
15260:137          Sequence
15270:137            move second child to first child ( temp highp 4-component vector of float)
15280:137              indirect index (layout( location=0) temp highp 4-component vector of float)
15290:137                'oFragColor' (layout( location=0) out 1-element array of highp 4-component vector of float)
15300:137                'i' ( temp highp int)
15310:137              Constant:
15320:137                0.000000
15330:137                0.000000
15340:137                0.000000
15350:137                0.000000
15360:135          Loop Terminal Expression
15370:135          Post-Increment ( temp highp int)
15380:135            'i' ( temp highp int)
15390:?   Linker Objects
15400:?     'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
15410:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
15420:?     'anon@2' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float nearFar,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor,  global highp int renderTOPCameraIndex} uTDCamInfos})
15430:?     'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform structure{ global highp 4-component vector of float ambientColor,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float viewport,  global highp 4-component vector of float viewportRes,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor} uTDGeneral})
15440:?     'sColorMap' ( uniform highp sampler2DArray)
15450:?     'iVert' ( in block{ in highp 4-component vector of float color,  in highp 3-component vector of float worldSpacePos,  in highp 3-component vector of float texCoord0,  flat in highp int cameraIndex,  flat in highp int instance})
15460:?     'oFragColor' (layout( location=0) out 1-element array of highp 4-component vector of float)
1547
1548vk.relaxed.stagelink.0.1.frag
1549Shader version: 460
1550gl_FragCoord origin is upper left
15510:? Sequence
15520:116  Function Definition: TDColor(vf4; ( global highp 4-component vector of float)
15530:116    Function Parameters: 
15540:116      'color' ( in highp 4-component vector of float)
15550:116    Sequence
15560:116      Branch: Return with expression
15570:116        'color' ( in highp 4-component vector of float)
15580:117  Function Definition: TDCheckOrderIndTrans( ( global void)
15590:117    Function Parameters: 
15600:119  Function Definition: TDCheckDiscard( ( global void)
15610:119    Function Parameters: 
15620:120    Sequence
15630:120      Function Call: TDCheckOrderIndTrans( ( global void)
15640:122  Function Definition: TDDither(vf4; ( global highp 4-component vector of float)
15650:122    Function Parameters: 
15660:122      'color' ( in highp 4-component vector of float)
15670:124    Sequence
15680:124      Sequence
15690:124        move second child to first child ( temp highp float)
15700:124          'd' ( temp highp float)
15710:125          direct index ( temp highp float)
15720:125            texture ( global highp 4-component vector of float)
15730:124              'sTDNoiseMap' ( uniform highp sampler2D)
15740:125              divide ( temp highp 2-component vector of float)
15750:125                vector swizzle ( temp highp 2-component vector of float)
15760:125                  'gl_FragCoord' ( gl_FragCoord highp 4-component vector of float FragCoord)
15770:125                  Sequence
15780:125                    Constant:
15790:125                      0 (const int)
15800:125                    Constant:
15810:125                      1 (const int)
15820:125                Constant:
15830:125                  256.000000
15840:125            Constant:
15850:125              0 (const int)
15860:126      subtract second child into first child ( temp highp float)
15870:126        'd' ( temp highp float)
15880:126        Constant:
15890:126          0.500000
15900:127      divide second child into first child ( temp highp float)
15910:127        'd' ( temp highp float)
15920:127        Constant:
15930:127          256.000000
15940:128      Branch: Return with expression
15950:128        Construct vec4 ( temp highp 4-component vector of float)
15960:128          add ( temp highp 3-component vector of float)
15970:128            vector swizzle ( temp highp 3-component vector of float)
15980:128              'color' ( in highp 4-component vector of float)
15990:128              Sequence
16000:128                Constant:
16010:128                  0 (const int)
16020:128                Constant:
16030:128                  1 (const int)
16040:128                Constant:
16050:128                  2 (const int)
16060:128            'd' ( temp highp float)
16070:128          direct index ( temp highp float)
16080:128            'color' ( in highp 4-component vector of float)
16090:128            Constant:
16100:128              3 (const int)
16110:130  Function Definition: TDFrontFacing(vf3;vf3; ( global bool)
16120:130    Function Parameters: 
16130:130      'pos' ( in highp 3-component vector of float)
16140:130      'normal' ( in highp 3-component vector of float)
16150:132    Sequence
16160:132      Branch: Return with expression
16170:132        'gl_FrontFacing' ( gl_FrontFacing bool Face)
16180:134  Function Definition: TDAttenuateLight(i1;f1; ( global highp float)
16190:134    Function Parameters: 
16200:134      'index' ( in highp int)
16210:134      'lightDist' ( in highp float)
16220:136    Sequence
16230:136      Branch: Return with expression
16240:136        Constant:
16250:136          1.000000
16260:138  Function Definition: TDAlphaTest(f1; ( global void)
16270:138    Function Parameters: 
16280:138      'alpha' ( in highp float)
16290:140  Function Definition: TDHardShadow(i1;vf3; ( global highp float)
16300:140    Function Parameters: 
16310:140      'lightIndex' ( in highp int)
16320:140      'worldSpacePos' ( in highp 3-component vector of float)
16330:141    Sequence
16340:141      Branch: Return with expression
16350:141        Constant:
16360:141          0.000000
16370:142  Function Definition: TDSoftShadow(i1;vf3;i1;i1; ( global highp float)
16380:142    Function Parameters: 
16390:142      'lightIndex' ( in highp int)
16400:142      'worldSpacePos' ( in highp 3-component vector of float)
16410:142      'samples' ( in highp int)
16420:142      'steps' ( in highp int)
16430:143    Sequence
16440:143      Branch: Return with expression
16450:143        Constant:
16460:143          0.000000
16470:144  Function Definition: TDSoftShadow(i1;vf3; ( global highp float)
16480:144    Function Parameters: 
16490:144      'lightIndex' ( in highp int)
16500:144      'worldSpacePos' ( in highp 3-component vector of float)
16510:145    Sequence
16520:145      Branch: Return with expression
16530:145        Constant:
16540:145          0.000000
16550:146  Function Definition: TDShadow(i1;vf3; ( global highp float)
16560:146    Function Parameters: 
16570:146      'lightIndex' ( in highp int)
16580:146      'worldSpacePos' ( in highp 3-component vector of float)
16590:147    Sequence
16600:147      Branch: Return with expression
16610:147        Constant:
16620:147          0.000000
16630:152  Function Definition: iTDRadicalInverse_VdC(u1; ( global highp float)
16640:152    Function Parameters: 
16650:152      'bits' ( in highp uint)
16660:154    Sequence
16670:154      move second child to first child ( temp highp uint)
16680:154        'bits' ( in highp uint)
16690:154        inclusive-or ( temp highp uint)
16700:154          left-shift ( temp highp uint)
16710:154            'bits' ( in highp uint)
16720:154            Constant:
16730:154              16 (const uint)
16740:154          right-shift ( temp highp uint)
16750:154            'bits' ( in highp uint)
16760:154            Constant:
16770:154              16 (const uint)
16780:155      move second child to first child ( temp highp uint)
16790:155        'bits' ( in highp uint)
16800:155        inclusive-or ( temp highp uint)
16810:155          left-shift ( temp highp uint)
16820:155            bitwise and ( temp highp uint)
16830:155              'bits' ( in highp uint)
16840:155              Constant:
16850:155                1431655765 (const uint)
16860:155            Constant:
16870:155              1 (const uint)
16880:155          right-shift ( temp highp uint)
16890:155            bitwise and ( temp highp uint)
16900:155              'bits' ( in highp uint)
16910:155              Constant:
16920:155                2863311530 (const uint)
16930:155            Constant:
16940:155              1 (const uint)
16950:156      move second child to first child ( temp highp uint)
16960:156        'bits' ( in highp uint)
16970:156        inclusive-or ( temp highp uint)
16980:156          left-shift ( temp highp uint)
16990:156            bitwise and ( temp highp uint)
17000:156              'bits' ( in highp uint)
17010:156              Constant:
17020:156                858993459 (const uint)
17030:156            Constant:
17040:156              2 (const uint)
17050:156          right-shift ( temp highp uint)
17060:156            bitwise and ( temp highp uint)
17070:156              'bits' ( in highp uint)
17080:156              Constant:
17090:156                3435973836 (const uint)
17100:156            Constant:
17110:156              2 (const uint)
17120:157      move second child to first child ( temp highp uint)
17130:157        'bits' ( in highp uint)
17140:157        inclusive-or ( temp highp uint)
17150:157          left-shift ( temp highp uint)
17160:157            bitwise and ( temp highp uint)
17170:157              'bits' ( in highp uint)
17180:157              Constant:
17190:157                252645135 (const uint)
17200:157            Constant:
17210:157              4 (const uint)
17220:157          right-shift ( temp highp uint)
17230:157            bitwise and ( temp highp uint)
17240:157              'bits' ( in highp uint)
17250:157              Constant:
17260:157                4042322160 (const uint)
17270:157            Constant:
17280:157              4 (const uint)
17290:158      move second child to first child ( temp highp uint)
17300:158        'bits' ( in highp uint)
17310:158        inclusive-or ( temp highp uint)
17320:158          left-shift ( temp highp uint)
17330:158            bitwise and ( temp highp uint)
17340:158              'bits' ( in highp uint)
17350:158              Constant:
17360:158                16711935 (const uint)
17370:158            Constant:
17380:158              8 (const uint)
17390:158          right-shift ( temp highp uint)
17400:158            bitwise and ( temp highp uint)
17410:158              'bits' ( in highp uint)
17420:158              Constant:
17430:158                4278255360 (const uint)
17440:158            Constant:
17450:158              8 (const uint)
17460:159      Branch: Return with expression
17470:159        component-wise multiply ( temp highp float)
17480:159          Convert uint to float ( temp highp float)
17490:159            'bits' ( in highp uint)
17500:159          Constant:
17510:159            2.3283064365387e-10
17520:161  Function Definition: iTDHammersley(u1;u1; ( global highp 2-component vector of float)
17530:161    Function Parameters: 
17540:161      'i' ( in highp uint)
17550:161      'N' ( in highp uint)
17560:163    Sequence
17570:163      Branch: Return with expression
17580:163        Construct vec2 ( temp highp 2-component vector of float)
17590:163          divide ( temp highp float)
17600:163            Convert uint to float ( temp highp float)
17610:163              'i' ( in highp uint)
17620:163            Convert uint to float ( temp highp float)
17630:163              'N' ( in highp uint)
17640:163          Function Call: iTDRadicalInverse_VdC(u1; ( global highp float)
17650:163            'i' ( in highp uint)
17660:165  Function Definition: iTDImportanceSampleGGX(vf2;f1;vf3; ( global highp 3-component vector of float)
17670:165    Function Parameters: 
17680:165      'Xi' ( in highp 2-component vector of float)
17690:165      'roughness2' ( in highp float)
17700:165      'N' ( in highp 3-component vector of float)
17710:167    Sequence
17720:167      Sequence
17730:167        move second child to first child ( temp highp float)
17740:167          'a' ( temp highp float)
17750:167          'roughness2' ( in highp float)
17760:168      Sequence
17770:168        move second child to first child ( temp highp float)
17780:168          'phi' ( temp highp float)
17790:168          component-wise multiply ( temp highp float)
17800:168            Constant:
17810:168              6.283185
17820:168            direct index ( temp highp float)
17830:168              'Xi' ( in highp 2-component vector of float)
17840:168              Constant:
17850:168                0 (const int)
17860:169      Sequence
17870:169        move second child to first child ( temp highp float)
17880:169          'cosTheta' ( temp highp float)
17890:169          sqrt ( global highp float)
17900:169            divide ( temp highp float)
17910:169              subtract ( temp highp float)
17920:169                Constant:
17930:169                  1.000000
17940:169                direct index ( temp highp float)
17950:169                  'Xi' ( in highp 2-component vector of float)
17960:169                  Constant:
17970:169                    1 (const int)
17980:169              add ( temp highp float)
17990:169                Constant:
18000:169                  1.000000
18010:169                component-wise multiply ( temp highp float)
18020:169                  subtract ( temp highp float)
18030:169                    component-wise multiply ( temp highp float)
18040:169                      'a' ( temp highp float)
18050:169                      'a' ( temp highp float)
18060:169                    Constant:
18070:169                      1.000000
18080:169                  direct index ( temp highp float)
18090:169                    'Xi' ( in highp 2-component vector of float)
18100:169                    Constant:
18110:169                      1 (const int)
18120:170      Sequence
18130:170        move second child to first child ( temp highp float)
18140:170          'sinTheta' ( temp highp float)
18150:170          sqrt ( global highp float)
18160:170            subtract ( temp highp float)
18170:170              Constant:
18180:170                1.000000
18190:170              component-wise multiply ( temp highp float)
18200:170                'cosTheta' ( temp highp float)
18210:170                'cosTheta' ( temp highp float)
18220:173      move second child to first child ( temp highp float)
18230:173        direct index ( temp highp float)
18240:173          'H' ( temp highp 3-component vector of float)
18250:173          Constant:
18260:173            0 (const int)
18270:173        component-wise multiply ( temp highp float)
18280:173          'sinTheta' ( temp highp float)
18290:173          cosine ( global highp float)
18300:173            'phi' ( temp highp float)
18310:174      move second child to first child ( temp highp float)
18320:174        direct index ( temp highp float)
18330:174          'H' ( temp highp 3-component vector of float)
18340:174          Constant:
18350:174            1 (const int)
18360:174        component-wise multiply ( temp highp float)
18370:174          'sinTheta' ( temp highp float)
18380:174          sine ( global highp float)
18390:174            'phi' ( temp highp float)
18400:175      move second child to first child ( temp highp float)
18410:175        direct index ( temp highp float)
18420:175          'H' ( temp highp 3-component vector of float)
18430:175          Constant:
18440:175            2 (const int)
18450:175        'cosTheta' ( temp highp float)
18460:177      Sequence
18470:177        move second child to first child ( temp highp 3-component vector of float)
18480:177          'upVector' ( temp highp 3-component vector of float)
18490:177          Test condition and select ( temp highp 3-component vector of float)
18500:177            Condition
18510:177            Compare Less Than ( temp bool)
18520:177              Absolute value ( global highp float)
18530:177                direct index ( temp highp float)
18540:177                  'N' ( in highp 3-component vector of float)
18550:177                  Constant:
18560:177                    2 (const int)
18570:177              Constant:
18580:177                0.999000
18590:177            true case
18600:177            Constant:
18610:177              0.000000
18620:177              0.000000
18630:177              1.000000
18640:177            false case
18650:177            Constant:
18660:177              1.000000
18670:177              0.000000
18680:177              0.000000
18690:178      Sequence
18700:178        move second child to first child ( temp highp 3-component vector of float)
18710:178          'tangentX' ( temp highp 3-component vector of float)
18720:178          normalize ( global highp 3-component vector of float)
18730:178            cross-product ( global highp 3-component vector of float)
18740:178              'upVector' ( temp highp 3-component vector of float)
18750:178              'N' ( in highp 3-component vector of float)
18760:179      Sequence
18770:179        move second child to first child ( temp highp 3-component vector of float)
18780:179          'tangentY' ( temp highp 3-component vector of float)
18790:179          cross-product ( global highp 3-component vector of float)
18800:179            'N' ( in highp 3-component vector of float)
18810:179            'tangentX' ( temp highp 3-component vector of float)
18820:182      Sequence
18830:182        move second child to first child ( temp highp 3-component vector of float)
18840:182          'worldResult' ( temp highp 3-component vector of float)
18850:182          add ( temp highp 3-component vector of float)
18860:182            add ( temp highp 3-component vector of float)
18870:182              vector-scale ( temp highp 3-component vector of float)
18880:182                'tangentX' ( temp highp 3-component vector of float)
18890:182                direct index ( temp highp float)
18900:182                  'H' ( temp highp 3-component vector of float)
18910:182                  Constant:
18920:182                    0 (const int)
18930:182              vector-scale ( temp highp 3-component vector of float)
18940:182                'tangentY' ( temp highp 3-component vector of float)
18950:182                direct index ( temp highp float)
18960:182                  'H' ( temp highp 3-component vector of float)
18970:182                  Constant:
18980:182                    1 (const int)
18990:182            vector-scale ( temp highp 3-component vector of float)
19000:182              'N' ( in highp 3-component vector of float)
19010:182              direct index ( temp highp float)
19020:182                'H' ( temp highp 3-component vector of float)
19030:182                Constant:
19040:182                  2 (const int)
19050:183      Branch: Return with expression
19060:183        'worldResult' ( temp highp 3-component vector of float)
19070:185  Function Definition: iTDDistributionGGX(vf3;vf3;f1; ( global highp float)
19080:185    Function Parameters: 
19090:185      'normal' ( in highp 3-component vector of float)
19100:185      'half_vector' ( in highp 3-component vector of float)
19110:185      'roughness2' ( in highp float)
19120:?     Sequence
19130:189      Sequence
19140:189        move second child to first child ( temp highp float)
19150:189          'NdotH' ( temp highp float)
19160:189          clamp ( global highp float)
19170:189            dot-product ( global highp float)
19180:189              'normal' ( in highp 3-component vector of float)
19190:189              'half_vector' ( in highp 3-component vector of float)
19200:189            Constant:
19210:189              1.0000000000000e-06
19220:189            Constant:
19230:189              1.000000
19240:191      Sequence
19250:191        move second child to first child ( temp highp float)
19260:191          'alpha2' ( temp highp float)
19270:191          component-wise multiply ( temp highp float)
19280:191            'roughness2' ( in highp float)
19290:191            'roughness2' ( in highp float)
19300:193      Sequence
19310:193        move second child to first child ( temp highp float)
19320:193          'denom' ( temp highp float)
19330:193          add ( temp highp float)
19340:193            component-wise multiply ( temp highp float)
19350:193              component-wise multiply ( temp highp float)
19360:193                'NdotH' ( temp highp float)
19370:193                'NdotH' ( temp highp float)
19380:193              subtract ( temp highp float)
19390:193                'alpha2' ( temp highp float)
19400:193                Constant:
19410:193                  1.000000
19420:193            Constant:
19430:193              1.000000
19440:194      move second child to first child ( temp highp float)
19450:194        'denom' ( temp highp float)
19460:194        max ( global highp float)
19470:194          Constant:
19480:194            1.0000000000000e-08
19490:194          'denom' ( temp highp float)
19500:195      Branch: Return with expression
19510:195        divide ( temp highp float)
19520:195          'alpha2' ( temp highp float)
19530:195          component-wise multiply ( temp highp float)
19540:195            component-wise multiply ( temp highp float)
19550:195              Constant:
19560:195                3.141593
19570:195              'denom' ( temp highp float)
19580:195            'denom' ( temp highp float)
19590:197  Function Definition: iTDCalcF(vf3;f1; ( global highp 3-component vector of float)
19600:197    Function Parameters: 
19610:197      'F0' ( in highp 3-component vector of float)
19620:197      'VdotH' ( in highp float)
19630:198    Sequence
19640:198      Branch: Return with expression
19650:198        add ( temp highp 3-component vector of float)
19660:198          'F0' ( in highp 3-component vector of float)
19670:198          vector-scale ( temp highp 3-component vector of float)
19680:198            subtract ( temp highp 3-component vector of float)
19690:198              Constant:
19700:198                1.000000
19710:198                1.000000
19720:198                1.000000
19730:198              'F0' ( in highp 3-component vector of float)
19740:198            pow ( global highp float)
19750:198              Constant:
19760:198                2.000000
19770:198              component-wise multiply ( temp highp float)
19780:198                subtract ( temp highp float)
19790:198                  component-wise multiply ( temp highp float)
19800:198                    Constant:
19810:198                      -5.554730
19820:198                    'VdotH' ( in highp float)
19830:198                  Constant:
19840:198                    6.983160
19850:198                'VdotH' ( in highp float)
19860:201  Function Definition: iTDCalcG(f1;f1;f1; ( global highp float)
19870:201    Function Parameters: 
19880:201      'NdotL' ( in highp float)
19890:201      'NdotV' ( in highp float)
19900:201      'k' ( in highp float)
19910:202    Sequence
19920:202      Sequence
19930:202        move second child to first child ( temp highp float)
19940:202          'Gl' ( temp highp float)
19950:202          divide ( temp highp float)
19960:202            Constant:
19970:202              1.000000
19980:202            add ( temp highp float)
19990:202              component-wise multiply ( temp highp float)
20000:202                'NdotL' ( in highp float)
20010:202                subtract ( temp highp float)
20020:202                  Constant:
20030:202                    1.000000
20040:202                  'k' ( in highp float)
20050:202              'k' ( in highp float)
20060:203      Sequence
20070:203        move second child to first child ( temp highp float)
20080:203          'Gv' ( temp highp float)
20090:203          divide ( temp highp float)
20100:203            Constant:
20110:203              1.000000
20120:203            add ( temp highp float)
20130:203              component-wise multiply ( temp highp float)
20140:203                'NdotV' ( in highp float)
20150:203                subtract ( temp highp float)
20160:203                  Constant:
20170:203                    1.000000
20180:203                  'k' ( in highp float)
20190:203              'k' ( in highp float)
20200:204      Branch: Return with expression
20210:204        component-wise multiply ( temp highp float)
20220:204          'Gl' ( temp highp float)
20230:204          'Gv' ( temp highp float)
20240:207  Function Definition: TDLightingPBR(i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
20250:207    Function Parameters: 
20260:207      'index' ( in highp int)
20270:207      'diffuseColor' ( in highp 3-component vector of float)
20280:207      'specularColor' ( in highp 3-component vector of float)
20290:207      'worldSpacePos' ( in highp 3-component vector of float)
20300:207      'normal' ( in highp 3-component vector of float)
20310:207      'shadowStrength' ( in highp float)
20320:207      'shadowColor' ( in highp 3-component vector of float)
20330:207      'camVector' ( in highp 3-component vector of float)
20340:207      'roughness' ( in highp float)
20350:?     Sequence
20360:210      Branch: Return with expression
20370:210        'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
20380:213  Function Definition: TDLightingPBR(vf3;vf3;f1;i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1; ( global void)
20390:213    Function Parameters: 
20400:213      'diffuseContrib' ( inout highp 3-component vector of float)
20410:213      'specularContrib' ( inout highp 3-component vector of float)
20420:213      'shadowStrengthOut' ( inout highp float)
20430:213      'index' ( in highp int)
20440:213      'diffuseColor' ( in highp 3-component vector of float)
20450:213      'specularColor' ( in highp 3-component vector of float)
20460:213      'worldSpacePos' ( in highp 3-component vector of float)
20470:213      'normal' ( in highp 3-component vector of float)
20480:213      'shadowStrength' ( in highp float)
20490:213      'shadowColor' ( in highp 3-component vector of float)
20500:213      'camVector' ( in highp 3-component vector of float)
20510:213      'roughness' ( in highp float)
20520:215    Sequence
20530:215      Sequence
20540:215        move second child to first child ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
20550:215          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
20560:215          Function Call: TDLightingPBR(i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
20570:215            'index' ( in highp int)
20580:215            'diffuseColor' ( in highp 3-component vector of float)
20590:215            'specularColor' ( in highp 3-component vector of float)
20600:215            'worldSpacePos' ( in highp 3-component vector of float)
20610:215            'normal' ( in highp 3-component vector of float)
20620:215            'shadowStrength' ( in highp float)
20630:215            'shadowColor' ( in highp 3-component vector of float)
20640:215            'camVector' ( in highp 3-component vector of float)
20650:215            'roughness' ( in highp float)
20660:215      move second child to first child ( temp highp 3-component vector of float)
20670:215        'diffuseContrib' ( inout highp 3-component vector of float)
20680:215        diffuse: direct index for structure ( global highp 3-component vector of float)
20690:215          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
20700:215          Constant:
20710:215            0 (const int)
20720:216      move second child to first child ( temp highp 3-component vector of float)
20730:216        'specularContrib' ( inout highp 3-component vector of float)
20740:216        specular: direct index for structure ( global highp 3-component vector of float)
20750:216          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
20760:216          Constant:
20770:216            1 (const int)
20780:217      move second child to first child ( temp highp float)
20790:217        'shadowStrengthOut' ( inout highp float)
20800:217        shadowStrength: direct index for structure ( global highp float)
20810:217          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
20820:217          Constant:
20830:217            2 (const int)
20840:220  Function Definition: TDLightingPBR(vf3;vf3;i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1; ( global void)
20850:220    Function Parameters: 
20860:220      'diffuseContrib' ( inout highp 3-component vector of float)
20870:220      'specularContrib' ( inout highp 3-component vector of float)
20880:220      'index' ( in highp int)
20890:220      'diffuseColor' ( in highp 3-component vector of float)
20900:220      'specularColor' ( in highp 3-component vector of float)
20910:220      'worldSpacePos' ( in highp 3-component vector of float)
20920:220      'normal' ( in highp 3-component vector of float)
20930:220      'shadowStrength' ( in highp float)
20940:220      'shadowColor' ( in highp 3-component vector of float)
20950:220      'camVector' ( in highp 3-component vector of float)
20960:220      'roughness' ( in highp float)
20970:222    Sequence
20980:222      Sequence
20990:222        move second child to first child ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21000:222          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21010:222          Function Call: TDLightingPBR(i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21020:222            'index' ( in highp int)
21030:222            'diffuseColor' ( in highp 3-component vector of float)
21040:222            'specularColor' ( in highp 3-component vector of float)
21050:222            'worldSpacePos' ( in highp 3-component vector of float)
21060:222            'normal' ( in highp 3-component vector of float)
21070:222            'shadowStrength' ( in highp float)
21080:222            'shadowColor' ( in highp 3-component vector of float)
21090:222            'camVector' ( in highp 3-component vector of float)
21100:222            'roughness' ( in highp float)
21110:222      move second child to first child ( temp highp 3-component vector of float)
21120:222        'diffuseContrib' ( inout highp 3-component vector of float)
21130:222        diffuse: direct index for structure ( global highp 3-component vector of float)
21140:222          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21150:222          Constant:
21160:222            0 (const int)
21170:223      move second child to first child ( temp highp 3-component vector of float)
21180:223        'specularContrib' ( inout highp 3-component vector of float)
21190:223        specular: direct index for structure ( global highp 3-component vector of float)
21200:223          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21210:223          Constant:
21220:223            1 (const int)
21230:226  Function Definition: TDEnvLightingPBR(i1;vf3;vf3;vf3;vf3;f1;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21240:226    Function Parameters: 
21250:226      'index' ( in highp int)
21260:226      'diffuseColor' ( in highp 3-component vector of float)
21270:226      'specularColor' ( in highp 3-component vector of float)
21280:226      'normal' ( in highp 3-component vector of float)
21290:226      'camVector' ( in highp 3-component vector of float)
21300:226      'roughness' ( in highp float)
21310:226      'ambientOcclusion' ( in highp float)
21320:?     Sequence
21330:229      Branch: Return with expression
21340:229        'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21350:232  Function Definition: TDEnvLightingPBR(vf3;vf3;i1;vf3;vf3;vf3;vf3;f1;f1; ( global void)
21360:232    Function Parameters: 
21370:232      'diffuseContrib' ( inout highp 3-component vector of float)
21380:232      'specularContrib' ( inout highp 3-component vector of float)
21390:232      'index' ( in highp int)
21400:232      'diffuseColor' ( in highp 3-component vector of float)
21410:232      'specularColor' ( in highp 3-component vector of float)
21420:232      'normal' ( in highp 3-component vector of float)
21430:232      'camVector' ( in highp 3-component vector of float)
21440:232      'roughness' ( in highp float)
21450:232      'ambientOcclusion' ( in highp float)
21460:234    Sequence
21470:234      Sequence
21480:234        move second child to first child ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21490:234          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21500:234          Function Call: TDEnvLightingPBR(i1;vf3;vf3;vf3;vf3;f1;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21510:234            'index' ( in highp int)
21520:234            'diffuseColor' ( in highp 3-component vector of float)
21530:234            'specularColor' ( in highp 3-component vector of float)
21540:234            'normal' ( in highp 3-component vector of float)
21550:234            'camVector' ( in highp 3-component vector of float)
21560:234            'roughness' ( in highp float)
21570:234            'ambientOcclusion' ( in highp float)
21580:235      move second child to first child ( temp highp 3-component vector of float)
21590:235        'diffuseContrib' ( inout highp 3-component vector of float)
21600:235        diffuse: direct index for structure ( global highp 3-component vector of float)
21610:235          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21620:235          Constant:
21630:235            0 (const int)
21640:236      move second child to first child ( temp highp 3-component vector of float)
21650:236        'specularContrib' ( inout highp 3-component vector of float)
21660:236        specular: direct index for structure ( global highp 3-component vector of float)
21670:236          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
21680:236          Constant:
21690:236            1 (const int)
21700:239  Function Definition: TDLighting(i1;vf3;vf3;f1;vf3;vf3;f1;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
21710:239    Function Parameters: 
21720:239      'index' ( in highp int)
21730:239      'worldSpacePos' ( in highp 3-component vector of float)
21740:239      'normal' ( in highp 3-component vector of float)
21750:239      'shadowStrength' ( in highp float)
21760:239      'shadowColor' ( in highp 3-component vector of float)
21770:239      'camVector' ( in highp 3-component vector of float)
21780:239      'shininess' ( in highp float)
21790:239      'shininess2' ( in highp float)
21800:?     Sequence
21810:242      switch
21820:242      condition
21830:242        'index' ( in highp int)
21840:242      body
21850:242        Sequence
21860:244          default: 
21870:?           Sequence
21880:245            move second child to first child ( temp highp 3-component vector of float)
21890:245              diffuse: direct index for structure ( global highp 3-component vector of float)
21900:245                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
21910:245                Constant:
21920:245                  0 (const int)
21930:245              Constant:
21940:245                0.000000
21950:245                0.000000
21960:245                0.000000
21970:246            move second child to first child ( temp highp 3-component vector of float)
21980:246              specular: direct index for structure ( global highp 3-component vector of float)
21990:246                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
22000:246                Constant:
22010:246                  1 (const int)
22020:246              Constant:
22030:246                0.000000
22040:246                0.000000
22050:246                0.000000
22060:247            move second child to first child ( temp highp 3-component vector of float)
22070:247              specular2: direct index for structure ( global highp 3-component vector of float)
22080:247                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
22090:247                Constant:
22100:247                  2 (const int)
22110:247              Constant:
22120:247                0.000000
22130:247                0.000000
22140:247                0.000000
22150:248            move second child to first child ( temp highp float)
22160:248              shadowStrength: direct index for structure ( global highp float)
22170:248                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
22180:248                Constant:
22190:248                  3 (const int)
22200:248              Constant:
22210:248                0.000000
22220:249            Branch: Break
22230:251      Branch: Return with expression
22240:251        'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
22250:254  Function Definition: TDLighting(vf3;vf3;vf3;f1;i1;vf3;vf3;f1;vf3;vf3;f1;f1; ( global void)
22260:254    Function Parameters: 
22270:254      'diffuseContrib' ( inout highp 3-component vector of float)
22280:254      'specularContrib' ( inout highp 3-component vector of float)
22290:254      'specularContrib2' ( inout highp 3-component vector of float)
22300:254      'shadowStrengthOut' ( inout highp float)
22310:254      'index' ( in highp int)
22320:254      'worldSpacePos' ( in highp 3-component vector of float)
22330:254      'normal' ( in highp 3-component vector of float)
22340:254      'shadowStrength' ( in highp float)
22350:254      'shadowColor' ( in highp 3-component vector of float)
22360:254      'camVector' ( in highp 3-component vector of float)
22370:254      'shininess' ( in highp float)
22380:254      'shininess2' ( in highp float)
22390:?     Sequence
22400:257      switch
22410:257      condition
22420:257        'index' ( in highp int)
22430:257      body
22440:257        Sequence
22450:259          default: 
22460:?           Sequence
22470:260            move second child to first child ( temp highp 3-component vector of float)
22480:260              diffuse: direct index for structure ( global highp 3-component vector of float)
22490:260                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
22500:260                Constant:
22510:260                  0 (const int)
22520:260              Constant:
22530:260                0.000000
22540:260                0.000000
22550:260                0.000000
22560:261            move second child to first child ( temp highp 3-component vector of float)
22570:261              specular: direct index for structure ( global highp 3-component vector of float)
22580:261                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
22590:261                Constant:
22600:261                  1 (const int)
22610:261              Constant:
22620:261                0.000000
22630:261                0.000000
22640:261                0.000000
22650:262            move second child to first child ( temp highp 3-component vector of float)
22660:262              specular2: direct index for structure ( global highp 3-component vector of float)
22670:262                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
22680:262                Constant:
22690:262                  2 (const int)
22700:262              Constant:
22710:262                0.000000
22720:262                0.000000
22730:262                0.000000
22740:263            move second child to first child ( temp highp float)
22750:263              shadowStrength: direct index for structure ( global highp float)
22760:263                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
22770:263                Constant:
22780:263                  3 (const int)
22790:263              Constant:
22800:263                0.000000
22810:264            Branch: Break
22820:266      move second child to first child ( temp highp 3-component vector of float)
22830:266        'diffuseContrib' ( inout highp 3-component vector of float)
22840:266        diffuse: direct index for structure ( global highp 3-component vector of float)
22850:266          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
22860:266          Constant:
22870:266            0 (const int)
22880:267      move second child to first child ( temp highp 3-component vector of float)
22890:267        'specularContrib' ( inout highp 3-component vector of float)
22900:267        specular: direct index for structure ( global highp 3-component vector of float)
22910:267          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
22920:267          Constant:
22930:267            1 (const int)
22940:268      move second child to first child ( temp highp 3-component vector of float)
22950:268        'specularContrib2' ( inout highp 3-component vector of float)
22960:268        specular2: direct index for structure ( global highp 3-component vector of float)
22970:268          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
22980:268          Constant:
22990:268            2 (const int)
23000:269      move second child to first child ( temp highp float)
23010:269        'shadowStrengthOut' ( inout highp float)
23020:269        shadowStrength: direct index for structure ( global highp float)
23030:269          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
23040:269          Constant:
23050:269            3 (const int)
23060:272  Function Definition: TDLighting(vf3;vf3;vf3;i1;vf3;vf3;f1;vf3;vf3;f1;f1; ( global void)
23070:272    Function Parameters: 
23080:272      'diffuseContrib' ( inout highp 3-component vector of float)
23090:272      'specularContrib' ( inout highp 3-component vector of float)
23100:272      'specularContrib2' ( inout highp 3-component vector of float)
23110:272      'index' ( in highp int)
23120:272      'worldSpacePos' ( in highp 3-component vector of float)
23130:272      'normal' ( in highp 3-component vector of float)
23140:272      'shadowStrength' ( in highp float)
23150:272      'shadowColor' ( in highp 3-component vector of float)
23160:272      'camVector' ( in highp 3-component vector of float)
23170:272      'shininess' ( in highp float)
23180:272      'shininess2' ( in highp float)
23190:?     Sequence
23200:275      switch
23210:275      condition
23220:275        'index' ( in highp int)
23230:275      body
23240:275        Sequence
23250:277          default: 
23260:?           Sequence
23270:278            move second child to first child ( temp highp 3-component vector of float)
23280:278              diffuse: direct index for structure ( global highp 3-component vector of float)
23290:278                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
23300:278                Constant:
23310:278                  0 (const int)
23320:278              Constant:
23330:278                0.000000
23340:278                0.000000
23350:278                0.000000
23360:279            move second child to first child ( temp highp 3-component vector of float)
23370:279              specular: direct index for structure ( global highp 3-component vector of float)
23380:279                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
23390:279                Constant:
23400:279                  1 (const int)
23410:279              Constant:
23420:279                0.000000
23430:279                0.000000
23440:279                0.000000
23450:280            move second child to first child ( temp highp 3-component vector of float)
23460:280              specular2: direct index for structure ( global highp 3-component vector of float)
23470:280                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
23480:280                Constant:
23490:280                  2 (const int)
23500:280              Constant:
23510:280                0.000000
23520:280                0.000000
23530:280                0.000000
23540:281            move second child to first child ( temp highp float)
23550:281              shadowStrength: direct index for structure ( global highp float)
23560:281                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
23570:281                Constant:
23580:281                  3 (const int)
23590:281              Constant:
23600:281                0.000000
23610:282            Branch: Break
23620:284      move second child to first child ( temp highp 3-component vector of float)
23630:284        'diffuseContrib' ( inout highp 3-component vector of float)
23640:284        diffuse: direct index for structure ( global highp 3-component vector of float)
23650:284          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
23660:284          Constant:
23670:284            0 (const int)
23680:285      move second child to first child ( temp highp 3-component vector of float)
23690:285        'specularContrib' ( inout highp 3-component vector of float)
23700:285        specular: direct index for structure ( global highp 3-component vector of float)
23710:285          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
23720:285          Constant:
23730:285            1 (const int)
23740:286      move second child to first child ( temp highp 3-component vector of float)
23750:286        'specularContrib2' ( inout highp 3-component vector of float)
23760:286        specular2: direct index for structure ( global highp 3-component vector of float)
23770:286          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
23780:286          Constant:
23790:286            2 (const int)
23800:289  Function Definition: TDLighting(vf3;vf3;i1;vf3;vf3;f1;vf3;vf3;f1; ( global void)
23810:289    Function Parameters: 
23820:289      'diffuseContrib' ( inout highp 3-component vector of float)
23830:289      'specularContrib' ( inout highp 3-component vector of float)
23840:289      'index' ( in highp int)
23850:289      'worldSpacePos' ( in highp 3-component vector of float)
23860:289      'normal' ( in highp 3-component vector of float)
23870:289      'shadowStrength' ( in highp float)
23880:289      'shadowColor' ( in highp 3-component vector of float)
23890:289      'camVector' ( in highp 3-component vector of float)
23900:289      'shininess' ( in highp float)
23910:?     Sequence
23920:292      switch
23930:292      condition
23940:292        'index' ( in highp int)
23950:292      body
23960:292        Sequence
23970:294          default: 
23980:?           Sequence
23990:295            move second child to first child ( temp highp 3-component vector of float)
24000:295              diffuse: direct index for structure ( global highp 3-component vector of float)
24010:295                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
24020:295                Constant:
24030:295                  0 (const int)
24040:295              Constant:
24050:295                0.000000
24060:295                0.000000
24070:295                0.000000
24080:296            move second child to first child ( temp highp 3-component vector of float)
24090:296              specular: direct index for structure ( global highp 3-component vector of float)
24100:296                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
24110:296                Constant:
24120:296                  1 (const int)
24130:296              Constant:
24140:296                0.000000
24150:296                0.000000
24160:296                0.000000
24170:297            move second child to first child ( temp highp 3-component vector of float)
24180:297              specular2: direct index for structure ( global highp 3-component vector of float)
24190:297                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
24200:297                Constant:
24210:297                  2 (const int)
24220:297              Constant:
24230:297                0.000000
24240:297                0.000000
24250:297                0.000000
24260:298            move second child to first child ( temp highp float)
24270:298              shadowStrength: direct index for structure ( global highp float)
24280:298                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
24290:298                Constant:
24300:298                  3 (const int)
24310:298              Constant:
24320:298                0.000000
24330:299            Branch: Break
24340:301      move second child to first child ( temp highp 3-component vector of float)
24350:301        'diffuseContrib' ( inout highp 3-component vector of float)
24360:301        diffuse: direct index for structure ( global highp 3-component vector of float)
24370:301          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
24380:301          Constant:
24390:301            0 (const int)
24400:302      move second child to first child ( temp highp 3-component vector of float)
24410:302        'specularContrib' ( inout highp 3-component vector of float)
24420:302        specular: direct index for structure ( global highp 3-component vector of float)
24430:302          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
24440:302          Constant:
24450:302            1 (const int)
24460:305  Function Definition: TDLighting(vf3;vf3;vf3;i1;vf3;vf3;vf3;f1;f1; ( global void)
24470:305    Function Parameters: 
24480:305      'diffuseContrib' ( inout highp 3-component vector of float)
24490:305      'specularContrib' ( inout highp 3-component vector of float)
24500:305      'specularContrib2' ( inout highp 3-component vector of float)
24510:305      'index' ( in highp int)
24520:305      'worldSpacePos' ( in highp 3-component vector of float)
24530:305      'normal' ( in highp 3-component vector of float)
24540:305      'camVector' ( in highp 3-component vector of float)
24550:305      'shininess' ( in highp float)
24560:305      'shininess2' ( in highp float)
24570:?     Sequence
24580:308      switch
24590:308      condition
24600:308        'index' ( in highp int)
24610:308      body
24620:308        Sequence
24630:310          default: 
24640:?           Sequence
24650:311            move second child to first child ( temp highp 3-component vector of float)
24660:311              diffuse: direct index for structure ( global highp 3-component vector of float)
24670:311                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
24680:311                Constant:
24690:311                  0 (const int)
24700:311              Constant:
24710:311                0.000000
24720:311                0.000000
24730:311                0.000000
24740:312            move second child to first child ( temp highp 3-component vector of float)
24750:312              specular: direct index for structure ( global highp 3-component vector of float)
24760:312                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
24770:312                Constant:
24780:312                  1 (const int)
24790:312              Constant:
24800:312                0.000000
24810:312                0.000000
24820:312                0.000000
24830:313            move second child to first child ( temp highp 3-component vector of float)
24840:313              specular2: direct index for structure ( global highp 3-component vector of float)
24850:313                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
24860:313                Constant:
24870:313                  2 (const int)
24880:313              Constant:
24890:313                0.000000
24900:313                0.000000
24910:313                0.000000
24920:314            move second child to first child ( temp highp float)
24930:314              shadowStrength: direct index for structure ( global highp float)
24940:314                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
24950:314                Constant:
24960:314                  3 (const int)
24970:314              Constant:
24980:314                0.000000
24990:315            Branch: Break
25000:317      move second child to first child ( temp highp 3-component vector of float)
25010:317        'diffuseContrib' ( inout highp 3-component vector of float)
25020:317        diffuse: direct index for structure ( global highp 3-component vector of float)
25030:317          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
25040:317          Constant:
25050:317            0 (const int)
25060:318      move second child to first child ( temp highp 3-component vector of float)
25070:318        'specularContrib' ( inout highp 3-component vector of float)
25080:318        specular: direct index for structure ( global highp 3-component vector of float)
25090:318          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
25100:318          Constant:
25110:318            1 (const int)
25120:319      move second child to first child ( temp highp 3-component vector of float)
25130:319        'specularContrib2' ( inout highp 3-component vector of float)
25140:319        specular2: direct index for structure ( global highp 3-component vector of float)
25150:319          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
25160:319          Constant:
25170:319            2 (const int)
25180:322  Function Definition: TDLighting(vf3;vf3;i1;vf3;vf3;vf3;f1; ( global void)
25190:322    Function Parameters: 
25200:322      'diffuseContrib' ( inout highp 3-component vector of float)
25210:322      'specularContrib' ( inout highp 3-component vector of float)
25220:322      'index' ( in highp int)
25230:322      'worldSpacePos' ( in highp 3-component vector of float)
25240:322      'normal' ( in highp 3-component vector of float)
25250:322      'camVector' ( in highp 3-component vector of float)
25260:322      'shininess' ( in highp float)
25270:?     Sequence
25280:325      switch
25290:325      condition
25300:325        'index' ( in highp int)
25310:325      body
25320:325        Sequence
25330:327          default: 
25340:?           Sequence
25350:328            move second child to first child ( temp highp 3-component vector of float)
25360:328              diffuse: direct index for structure ( global highp 3-component vector of float)
25370:328                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
25380:328                Constant:
25390:328                  0 (const int)
25400:328              Constant:
25410:328                0.000000
25420:328                0.000000
25430:328                0.000000
25440:329            move second child to first child ( temp highp 3-component vector of float)
25450:329              specular: direct index for structure ( global highp 3-component vector of float)
25460:329                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
25470:329                Constant:
25480:329                  1 (const int)
25490:329              Constant:
25500:329                0.000000
25510:329                0.000000
25520:329                0.000000
25530:330            move second child to first child ( temp highp 3-component vector of float)
25540:330              specular2: direct index for structure ( global highp 3-component vector of float)
25550:330                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
25560:330                Constant:
25570:330                  2 (const int)
25580:330              Constant:
25590:330                0.000000
25600:330                0.000000
25610:330                0.000000
25620:331            move second child to first child ( temp highp float)
25630:331              shadowStrength: direct index for structure ( global highp float)
25640:331                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
25650:331                Constant:
25660:331                  3 (const int)
25670:331              Constant:
25680:331                0.000000
25690:332            Branch: Break
25700:334      move second child to first child ( temp highp 3-component vector of float)
25710:334        'diffuseContrib' ( inout highp 3-component vector of float)
25720:334        diffuse: direct index for structure ( global highp 3-component vector of float)
25730:334          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
25740:334          Constant:
25750:334            0 (const int)
25760:335      move second child to first child ( temp highp 3-component vector of float)
25770:335        'specularContrib' ( inout highp 3-component vector of float)
25780:335        specular: direct index for structure ( global highp 3-component vector of float)
25790:335          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
25800:335          Constant:
25810:335            1 (const int)
25820:338  Function Definition: TDLighting(vf3;i1;vf3;vf3; ( global void)
25830:338    Function Parameters: 
25840:338      'diffuseContrib' ( inout highp 3-component vector of float)
25850:338      'index' ( in highp int)
25860:338      'worldSpacePos' ( in highp 3-component vector of float)
25870:338      'normal' ( in highp 3-component vector of float)
25880:?     Sequence
25890:341      switch
25900:341      condition
25910:341        'index' ( in highp int)
25920:341      body
25930:341        Sequence
25940:343          default: 
25950:?           Sequence
25960:344            move second child to first child ( temp highp 3-component vector of float)
25970:344              diffuse: direct index for structure ( global highp 3-component vector of float)
25980:344                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
25990:344                Constant:
26000:344                  0 (const int)
26010:344              Constant:
26020:344                0.000000
26030:344                0.000000
26040:344                0.000000
26050:345            move second child to first child ( temp highp 3-component vector of float)
26060:345              specular: direct index for structure ( global highp 3-component vector of float)
26070:345                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
26080:345                Constant:
26090:345                  1 (const int)
26100:345              Constant:
26110:345                0.000000
26120:345                0.000000
26130:345                0.000000
26140:346            move second child to first child ( temp highp 3-component vector of float)
26150:346              specular2: direct index for structure ( global highp 3-component vector of float)
26160:346                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
26170:346                Constant:
26180:346                  2 (const int)
26190:346              Constant:
26200:346                0.000000
26210:346                0.000000
26220:346                0.000000
26230:347            move second child to first child ( temp highp float)
26240:347              shadowStrength: direct index for structure ( global highp float)
26250:347                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
26260:347                Constant:
26270:347                  3 (const int)
26280:347              Constant:
26290:347                0.000000
26300:348            Branch: Break
26310:350      move second child to first child ( temp highp 3-component vector of float)
26320:350        'diffuseContrib' ( inout highp 3-component vector of float)
26330:350        diffuse: direct index for structure ( global highp 3-component vector of float)
26340:350          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
26350:350          Constant:
26360:350            0 (const int)
26370:353  Function Definition: TDLighting(vf3;i1;vf3;vf3;f1;vf3; ( global void)
26380:353    Function Parameters: 
26390:353      'diffuseContrib' ( inout highp 3-component vector of float)
26400:353      'index' ( in highp int)
26410:353      'worldSpacePos' ( in highp 3-component vector of float)
26420:353      'normal' ( in highp 3-component vector of float)
26430:353      'shadowStrength' ( in highp float)
26440:353      'shadowColor' ( in highp 3-component vector of float)
26450:?     Sequence
26460:356      switch
26470:356      condition
26480:356        'index' ( in highp int)
26490:356      body
26500:356        Sequence
26510:358          default: 
26520:?           Sequence
26530:359            move second child to first child ( temp highp 3-component vector of float)
26540:359              diffuse: direct index for structure ( global highp 3-component vector of float)
26550:359                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
26560:359                Constant:
26570:359                  0 (const int)
26580:359              Constant:
26590:359                0.000000
26600:359                0.000000
26610:359                0.000000
26620:360            move second child to first child ( temp highp 3-component vector of float)
26630:360              specular: direct index for structure ( global highp 3-component vector of float)
26640:360                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
26650:360                Constant:
26660:360                  1 (const int)
26670:360              Constant:
26680:360                0.000000
26690:360                0.000000
26700:360                0.000000
26710:361            move second child to first child ( temp highp 3-component vector of float)
26720:361              specular2: direct index for structure ( global highp 3-component vector of float)
26730:361                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
26740:361                Constant:
26750:361                  2 (const int)
26760:361              Constant:
26770:361                0.000000
26780:361                0.000000
26790:361                0.000000
26800:362            move second child to first child ( temp highp float)
26810:362              shadowStrength: direct index for structure ( global highp float)
26820:362                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
26830:362                Constant:
26840:362                  3 (const int)
26850:362              Constant:
26860:362                0.000000
26870:363            Branch: Break
26880:365      move second child to first child ( temp highp 3-component vector of float)
26890:365        'diffuseContrib' ( inout highp 3-component vector of float)
26900:365        diffuse: direct index for structure ( global highp 3-component vector of float)
26910:365          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
26920:365          Constant:
26930:365            0 (const int)
26940:367  Function Definition: TDProjMap(i1;vf3;vf4; ( global highp 4-component vector of float)
26950:367    Function Parameters: 
26960:367      'index' ( in highp int)
26970:367      'worldSpacePos' ( in highp 3-component vector of float)
26980:367      'defaultColor' ( in highp 4-component vector of float)
26990:368    Sequence
27000:368      switch
27010:368      condition
27020:368        'index' ( in highp int)
27030:368      body
27040:368        Sequence
27050:370          default: 
27060:?           Sequence
27070:370            Branch: Return with expression
27080:370              'defaultColor' ( in highp 4-component vector of float)
27090:373  Function Definition: TDFog(vf4;vf3;i1; ( global highp 4-component vector of float)
27100:373    Function Parameters: 
27110:373      'color' ( in highp 4-component vector of float)
27120:373      'lightingSpacePosition' ( in highp 3-component vector of float)
27130:373      'cameraIndex' ( in highp int)
27140:374    Sequence
27150:374      switch
27160:374      condition
27170:374        'cameraIndex' ( in highp int)
27180:374      body
27190:374        Sequence
27200:375          default: 
27210:376          case:  with expression
27220:376            Constant:
27230:376              0 (const int)
27240:?           Sequence
27250:378            Sequence
27260:378              Branch: Return with expression
27270:378                'color' ( in highp 4-component vector of float)
27280:382  Function Definition: TDFog(vf4;vf3; ( global highp 4-component vector of float)
27290:382    Function Parameters: 
27300:382      'color' ( in highp 4-component vector of float)
27310:382      'lightingSpacePosition' ( in highp 3-component vector of float)
27320:384    Sequence
27330:384      Branch: Return with expression
27340:384        Function Call: TDFog(vf4;vf3;i1; ( global highp 4-component vector of float)
27350:384          'color' ( in highp 4-component vector of float)
27360:384          'lightingSpacePosition' ( in highp 3-component vector of float)
27370:384          Constant:
27380:384            0 (const int)
27390:386  Function Definition: TDInstanceTexCoord(i1;vf3; ( global highp 3-component vector of float)
27400:386    Function Parameters: 
27410:386      'index' ( in highp int)
27420:386      't' ( in highp 3-component vector of float)
27430:?     Sequence
27440:388      Sequence
27450:388        move second child to first child ( temp highp int)
27460:388          'coord' ( temp highp int)
27470:388          'index' ( in highp int)
27480:389      Sequence
27490:389        move second child to first child ( temp highp 4-component vector of float)
27500:389          'samp' ( temp highp 4-component vector of float)
27510:389          textureFetch ( global highp 4-component vector of float)
27520:389            'sTDInstanceTexCoord' (layout( binding=16) uniform highp samplerBuffer)
27530:389            'coord' ( temp highp int)
27540:390      move second child to first child ( temp highp float)
27550:390        direct index ( temp highp float)
27560:390          'v' ( temp highp 3-component vector of float)
27570:390          Constant:
27580:390            0 (const int)
27590:390        direct index ( temp highp float)
27600:390          't' ( in highp 3-component vector of float)
27610:390          Constant:
27620:390            0 (const int)
27630:391      move second child to first child ( temp highp float)
27640:391        direct index ( temp highp float)
27650:391          'v' ( temp highp 3-component vector of float)
27660:391          Constant:
27670:391            1 (const int)
27680:391        direct index ( temp highp float)
27690:391          't' ( in highp 3-component vector of float)
27700:391          Constant:
27710:391            1 (const int)
27720:392      move second child to first child ( temp highp float)
27730:392        direct index ( temp highp float)
27740:392          'v' ( temp highp 3-component vector of float)
27750:392          Constant:
27760:392            2 (const int)
27770:392        direct index ( temp highp float)
27780:392          'samp' ( temp highp 4-component vector of float)
27790:392          Constant:
27800:392            0 (const int)
27810:393      move second child to first child ( temp highp 3-component vector of float)
27820:393        vector swizzle ( temp highp 3-component vector of float)
27830:393          't' ( in highp 3-component vector of float)
27840:393          Sequence
27850:393            Constant:
27860:393              0 (const int)
27870:393            Constant:
27880:393              1 (const int)
27890:393            Constant:
27900:393              2 (const int)
27910:393        vector swizzle ( temp highp 3-component vector of float)
27920:393          'v' ( temp highp 3-component vector of float)
27930:393          Sequence
27940:393            Constant:
27950:393              0 (const int)
27960:393            Constant:
27970:393              1 (const int)
27980:393            Constant:
27990:393              2 (const int)
28000:394      Branch: Return with expression
28010:394        't' ( in highp 3-component vector of float)
28020:396  Function Definition: TDInstanceActive(i1; ( global bool)
28030:396    Function Parameters: 
28040:396      'index' ( in highp int)
28050:397    Sequence
28060:397      subtract second child into first child ( temp highp int)
28070:397        'index' ( in highp int)
28080:397        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
28090:397          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
28100:397          Constant:
28110:397            0 (const uint)
28120:399      Sequence
28130:399        move second child to first child ( temp highp int)
28140:399          'coord' ( temp highp int)
28150:399          'index' ( in highp int)
28160:400      Sequence
28170:400        move second child to first child ( temp highp 4-component vector of float)
28180:400          'samp' ( temp highp 4-component vector of float)
28190:400          textureFetch ( global highp 4-component vector of float)
28200:400            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
28210:400            'coord' ( temp highp int)
28220:401      move second child to first child ( temp highp float)
28230:401        'v' ( temp highp float)
28240:401        direct index ( temp highp float)
28250:401          'samp' ( temp highp 4-component vector of float)
28260:401          Constant:
28270:401            0 (const int)
28280:402      Branch: Return with expression
28290:402        Compare Not Equal ( temp bool)
28300:402          'v' ( temp highp float)
28310:402          Constant:
28320:402            0.000000
28330:404  Function Definition: iTDInstanceTranslate(i1;b1; ( global highp 3-component vector of float)
28340:404    Function Parameters: 
28350:404      'index' ( in highp int)
28360:404      'instanceActive' ( out bool)
28370:405    Sequence
28380:405      Sequence
28390:405        move second child to first child ( temp highp int)
28400:405          'origIndex' ( temp highp int)
28410:405          'index' ( in highp int)
28420:406      subtract second child into first child ( temp highp int)
28430:406        'index' ( in highp int)
28440:406        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
28450:406          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
28460:406          Constant:
28470:406            0 (const uint)
28480:408      Sequence
28490:408        move second child to first child ( temp highp int)
28500:408          'coord' ( temp highp int)
28510:408          'index' ( in highp int)
28520:409      Sequence
28530:409        move second child to first child ( temp highp 4-component vector of float)
28540:409          'samp' ( temp highp 4-component vector of float)
28550:409          textureFetch ( global highp 4-component vector of float)
28560:409            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
28570:409            'coord' ( temp highp int)
28580:410      move second child to first child ( temp highp float)
28590:410        direct index ( temp highp float)
28600:410          'v' ( temp highp 3-component vector of float)
28610:410          Constant:
28620:410            0 (const int)
28630:410        direct index ( temp highp float)
28640:410          'samp' ( temp highp 4-component vector of float)
28650:410          Constant:
28660:410            1 (const int)
28670:411      move second child to first child ( temp highp float)
28680:411        direct index ( temp highp float)
28690:411          'v' ( temp highp 3-component vector of float)
28700:411          Constant:
28710:411            1 (const int)
28720:411        direct index ( temp highp float)
28730:411          'samp' ( temp highp 4-component vector of float)
28740:411          Constant:
28750:411            2 (const int)
28760:412      move second child to first child ( temp highp float)
28770:412        direct index ( temp highp float)
28780:412          'v' ( temp highp 3-component vector of float)
28790:412          Constant:
28800:412            2 (const int)
28810:412        direct index ( temp highp float)
28820:412          'samp' ( temp highp 4-component vector of float)
28830:412          Constant:
28840:412            3 (const int)
28850:413      move second child to first child ( temp bool)
28860:413        'instanceActive' ( out bool)
28870:413        Compare Not Equal ( temp bool)
28880:413          direct index ( temp highp float)
28890:413            'samp' ( temp highp 4-component vector of float)
28900:413            Constant:
28910:413              0 (const int)
28920:413          Constant:
28930:413            0.000000
28940:414      Branch: Return with expression
28950:414        'v' ( temp highp 3-component vector of float)
28960:416  Function Definition: TDInstanceTranslate(i1; ( global highp 3-component vector of float)
28970:416    Function Parameters: 
28980:416      'index' ( in highp int)
28990:417    Sequence
29000:417      subtract second child into first child ( temp highp int)
29010:417        'index' ( in highp int)
29020:417        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
29030:417          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
29040:417          Constant:
29050:417            0 (const uint)
29060:419      Sequence
29070:419        move second child to first child ( temp highp int)
29080:419          'coord' ( temp highp int)
29090:419          'index' ( in highp int)
29100:420      Sequence
29110:420        move second child to first child ( temp highp 4-component vector of float)
29120:420          'samp' ( temp highp 4-component vector of float)
29130:420          textureFetch ( global highp 4-component vector of float)
29140:420            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
29150:420            'coord' ( temp highp int)
29160:421      move second child to first child ( temp highp float)
29170:421        direct index ( temp highp float)
29180:421          'v' ( temp highp 3-component vector of float)
29190:421          Constant:
29200:421            0 (const int)
29210:421        direct index ( temp highp float)
29220:421          'samp' ( temp highp 4-component vector of float)
29230:421          Constant:
29240:421            1 (const int)
29250:422      move second child to first child ( temp highp float)
29260:422        direct index ( temp highp float)
29270:422          'v' ( temp highp 3-component vector of float)
29280:422          Constant:
29290:422            1 (const int)
29300:422        direct index ( temp highp float)
29310:422          'samp' ( temp highp 4-component vector of float)
29320:422          Constant:
29330:422            2 (const int)
29340:423      move second child to first child ( temp highp float)
29350:423        direct index ( temp highp float)
29360:423          'v' ( temp highp 3-component vector of float)
29370:423          Constant:
29380:423            2 (const int)
29390:423        direct index ( temp highp float)
29400:423          'samp' ( temp highp 4-component vector of float)
29410:423          Constant:
29420:423            3 (const int)
29430:424      Branch: Return with expression
29440:424        'v' ( temp highp 3-component vector of float)
29450:426  Function Definition: TDInstanceRotateMat(i1; ( global highp 3X3 matrix of float)
29460:426    Function Parameters: 
29470:426      'index' ( in highp int)
29480:427    Sequence
29490:427      subtract second child into first child ( temp highp int)
29500:427        'index' ( in highp int)
29510:427        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
29520:427          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
29530:427          Constant:
29540:427            0 (const uint)
29550:428      Sequence
29560:428        move second child to first child ( temp highp 3-component vector of float)
29570:428          'v' ( temp highp 3-component vector of float)
29580:428          Constant:
29590:428            0.000000
29600:428            0.000000
29610:428            0.000000
29620:429      Sequence
29630:429        move second child to first child ( temp highp 3X3 matrix of float)
29640:429          'm' ( temp highp 3X3 matrix of float)
29650:429          Constant:
29660:429            1.000000
29670:429            0.000000
29680:429            0.000000
29690:429            0.000000
29700:429            1.000000
29710:429            0.000000
29720:429            0.000000
29730:429            0.000000
29740:429            1.000000
29750:433      Branch: Return with expression
29760:433        'm' ( temp highp 3X3 matrix of float)
29770:435  Function Definition: TDInstanceScale(i1; ( global highp 3-component vector of float)
29780:435    Function Parameters: 
29790:435      'index' ( in highp int)
29800:436    Sequence
29810:436      subtract second child into first child ( temp highp int)
29820:436        'index' ( in highp int)
29830:436        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
29840:436          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
29850:436          Constant:
29860:436            0 (const uint)
29870:437      Sequence
29880:437        move second child to first child ( temp highp 3-component vector of float)
29890:437          'v' ( temp highp 3-component vector of float)
29900:437          Constant:
29910:437            1.000000
29920:437            1.000000
29930:437            1.000000
29940:438      Branch: Return with expression
29950:438        'v' ( temp highp 3-component vector of float)
29960:440  Function Definition: TDInstancePivot(i1; ( global highp 3-component vector of float)
29970:440    Function Parameters: 
29980:440      'index' ( in highp int)
29990:441    Sequence
30000:441      subtract second child into first child ( temp highp int)
30010:441        'index' ( in highp int)
30020:441        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
30030:441          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
30040:441          Constant:
30050:441            0 (const uint)
30060:442      Sequence
30070:442        move second child to first child ( temp highp 3-component vector of float)
30080:442          'v' ( temp highp 3-component vector of float)
30090:442          Constant:
30100:442            0.000000
30110:442            0.000000
30120:442            0.000000
30130:443      Branch: Return with expression
30140:443        'v' ( temp highp 3-component vector of float)
30150:445  Function Definition: TDInstanceRotTo(i1; ( global highp 3-component vector of float)
30160:445    Function Parameters: 
30170:445      'index' ( in highp int)
30180:446    Sequence
30190:446      subtract second child into first child ( temp highp int)
30200:446        'index' ( in highp int)
30210:446        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
30220:446          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
30230:446          Constant:
30240:446            0 (const uint)
30250:447      Sequence
30260:447        move second child to first child ( temp highp 3-component vector of float)
30270:447          'v' ( temp highp 3-component vector of float)
30280:447          Constant:
30290:447            0.000000
30300:447            0.000000
30310:447            1.000000
30320:448      Branch: Return with expression
30330:448        'v' ( temp highp 3-component vector of float)
30340:450  Function Definition: TDInstanceRotUp(i1; ( global highp 3-component vector of float)
30350:450    Function Parameters: 
30360:450      'index' ( in highp int)
30370:451    Sequence
30380:451      subtract second child into first child ( temp highp int)
30390:451        'index' ( in highp int)
30400:451        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
30410:451          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
30420:451          Constant:
30430:451            0 (const uint)
30440:452      Sequence
30450:452        move second child to first child ( temp highp 3-component vector of float)
30460:452          'v' ( temp highp 3-component vector of float)
30470:452          Constant:
30480:452            0.000000
30490:452            1.000000
30500:452            0.000000
30510:453      Branch: Return with expression
30520:453        'v' ( temp highp 3-component vector of float)
30530:455  Function Definition: TDInstanceMat(i1; ( global highp 4X4 matrix of float)
30540:455    Function Parameters: 
30550:455      'id' ( in highp int)
30560:456    Sequence
30570:456      Sequence
30580:456        move second child to first child ( temp bool)
30590:456          'instanceActive' ( temp bool)
30600:456          Constant:
30610:456            true (const bool)
30620:457      Sequence
30630:457        move second child to first child ( temp highp 3-component vector of float)
30640:457          't' ( temp highp 3-component vector of float)
30650:457          Function Call: iTDInstanceTranslate(i1;b1; ( global highp 3-component vector of float)
30660:457            'id' ( in highp int)
30670:457            'instanceActive' ( temp bool)
30680:458      Test condition and select ( temp void)
30690:458        Condition
30700:458        Negate conditional ( temp bool)
30710:458          'instanceActive' ( temp bool)
30720:458        true case
30730:460        Sequence
30740:460          Branch: Return with expression
30750:460            Constant:
30760:460              0.000000
30770:460              0.000000
30780:460              0.000000
30790:460              0.000000
30800:460              0.000000
30810:460              0.000000
30820:460              0.000000
30830:460              0.000000
30840:460              0.000000
30850:460              0.000000
30860:460              0.000000
30870:460              0.000000
30880:460              0.000000
30890:460              0.000000
30900:460              0.000000
30910:460              0.000000
30920:462      Sequence
30930:462        move second child to first child ( temp highp 4X4 matrix of float)
30940:462          'm' ( temp highp 4X4 matrix of float)
30950:462          Constant:
30960:462            1.000000
30970:462            0.000000
30980:462            0.000000
30990:462            0.000000
31000:462            0.000000
31010:462            1.000000
31020:462            0.000000
31030:462            0.000000
31040:462            0.000000
31050:462            0.000000
31060:462            1.000000
31070:462            0.000000
31080:462            0.000000
31090:462            0.000000
31100:462            0.000000
31110:462            1.000000
31120:464      Sequence
31130:464        Sequence
31140:464          move second child to first child ( temp highp 3-component vector of float)
31150:464            'tt' ( temp highp 3-component vector of float)
31160:464            't' ( temp highp 3-component vector of float)
31170:465        add second child into first child ( temp highp float)
31180:465          direct index ( temp highp float)
31190:465            direct index ( temp highp 4-component vector of float)
31200:465              'm' ( temp highp 4X4 matrix of float)
31210:465              Constant:
31220:465                3 (const int)
31230:465            Constant:
31240:465              0 (const int)
31250:465          component-wise multiply ( temp highp float)
31260:465            direct index ( temp highp float)
31270:465              direct index ( temp highp 4-component vector of float)
31280:465                'm' ( temp highp 4X4 matrix of float)
31290:465                Constant:
31300:465                  0 (const int)
31310:465              Constant:
31320:465                0 (const int)
31330:465            direct index ( temp highp float)
31340:465              'tt' ( temp highp 3-component vector of float)
31350:465              Constant:
31360:465                0 (const int)
31370:466        add second child into first child ( temp highp float)
31380:466          direct index ( temp highp float)
31390:466            direct index ( temp highp 4-component vector of float)
31400:466              'm' ( temp highp 4X4 matrix of float)
31410:466              Constant:
31420:466                3 (const int)
31430:466            Constant:
31440:466              1 (const int)
31450:466          component-wise multiply ( temp highp float)
31460:466            direct index ( temp highp float)
31470:466              direct index ( temp highp 4-component vector of float)
31480:466                'm' ( temp highp 4X4 matrix of float)
31490:466                Constant:
31500:466                  0 (const int)
31510:466              Constant:
31520:466                1 (const int)
31530:466            direct index ( temp highp float)
31540:466              'tt' ( temp highp 3-component vector of float)
31550:466              Constant:
31560:466                0 (const int)
31570:467        add second child into first child ( temp highp float)
31580:467          direct index ( temp highp float)
31590:467            direct index ( temp highp 4-component vector of float)
31600:467              'm' ( temp highp 4X4 matrix of float)
31610:467              Constant:
31620:467                3 (const int)
31630:467            Constant:
31640:467              2 (const int)
31650:467          component-wise multiply ( temp highp float)
31660:467            direct index ( temp highp float)
31670:467              direct index ( temp highp 4-component vector of float)
31680:467                'm' ( temp highp 4X4 matrix of float)
31690:467                Constant:
31700:467                  0 (const int)
31710:467              Constant:
31720:467                2 (const int)
31730:467            direct index ( temp highp float)
31740:467              'tt' ( temp highp 3-component vector of float)
31750:467              Constant:
31760:467                0 (const int)
31770:468        add second child into first child ( temp highp float)
31780:468          direct index ( temp highp float)
31790:468            direct index ( temp highp 4-component vector of float)
31800:468              'm' ( temp highp 4X4 matrix of float)
31810:468              Constant:
31820:468                3 (const int)
31830:468            Constant:
31840:468              3 (const int)
31850:468          component-wise multiply ( temp highp float)
31860:468            direct index ( temp highp float)
31870:468              direct index ( temp highp 4-component vector of float)
31880:468                'm' ( temp highp 4X4 matrix of float)
31890:468                Constant:
31900:468                  0 (const int)
31910:468              Constant:
31920:468                3 (const int)
31930:468            direct index ( temp highp float)
31940:468              'tt' ( temp highp 3-component vector of float)
31950:468              Constant:
31960:468                0 (const int)
31970:469        add second child into first child ( temp highp float)
31980:469          direct index ( temp highp float)
31990:469            direct index ( temp highp 4-component vector of float)
32000:469              'm' ( temp highp 4X4 matrix of float)
32010:469              Constant:
32020:469                3 (const int)
32030:469            Constant:
32040:469              0 (const int)
32050:469          component-wise multiply ( temp highp float)
32060:469            direct index ( temp highp float)
32070:469              direct index ( temp highp 4-component vector of float)
32080:469                'm' ( temp highp 4X4 matrix of float)
32090:469                Constant:
32100:469                  1 (const int)
32110:469              Constant:
32120:469                0 (const int)
32130:469            direct index ( temp highp float)
32140:469              'tt' ( temp highp 3-component vector of float)
32150:469              Constant:
32160:469                1 (const int)
32170:470        add second child into first child ( temp highp float)
32180:470          direct index ( temp highp float)
32190:470            direct index ( temp highp 4-component vector of float)
32200:470              'm' ( temp highp 4X4 matrix of float)
32210:470              Constant:
32220:470                3 (const int)
32230:470            Constant:
32240:470              1 (const int)
32250:470          component-wise multiply ( temp highp float)
32260:470            direct index ( temp highp float)
32270:470              direct index ( temp highp 4-component vector of float)
32280:470                'm' ( temp highp 4X4 matrix of float)
32290:470                Constant:
32300:470                  1 (const int)
32310:470              Constant:
32320:470                1 (const int)
32330:470            direct index ( temp highp float)
32340:470              'tt' ( temp highp 3-component vector of float)
32350:470              Constant:
32360:470                1 (const int)
32370:471        add second child into first child ( temp highp float)
32380:471          direct index ( temp highp float)
32390:471            direct index ( temp highp 4-component vector of float)
32400:471              'm' ( temp highp 4X4 matrix of float)
32410:471              Constant:
32420:471                3 (const int)
32430:471            Constant:
32440:471              2 (const int)
32450:471          component-wise multiply ( temp highp float)
32460:471            direct index ( temp highp float)
32470:471              direct index ( temp highp 4-component vector of float)
32480:471                'm' ( temp highp 4X4 matrix of float)
32490:471                Constant:
32500:471                  1 (const int)
32510:471              Constant:
32520:471                2 (const int)
32530:471            direct index ( temp highp float)
32540:471              'tt' ( temp highp 3-component vector of float)
32550:471              Constant:
32560:471                1 (const int)
32570:472        add second child into first child ( temp highp float)
32580:472          direct index ( temp highp float)
32590:472            direct index ( temp highp 4-component vector of float)
32600:472              'm' ( temp highp 4X4 matrix of float)
32610:472              Constant:
32620:472                3 (const int)
32630:472            Constant:
32640:472              3 (const int)
32650:472          component-wise multiply ( temp highp float)
32660:472            direct index ( temp highp float)
32670:472              direct index ( temp highp 4-component vector of float)
32680:472                'm' ( temp highp 4X4 matrix of float)
32690:472                Constant:
32700:472                  1 (const int)
32710:472              Constant:
32720:472                3 (const int)
32730:472            direct index ( temp highp float)
32740:472              'tt' ( temp highp 3-component vector of float)
32750:472              Constant:
32760:472                1 (const int)
32770:473        add second child into first child ( temp highp float)
32780:473          direct index ( temp highp float)
32790:473            direct index ( temp highp 4-component vector of float)
32800:473              'm' ( temp highp 4X4 matrix of float)
32810:473              Constant:
32820:473                3 (const int)
32830:473            Constant:
32840:473              0 (const int)
32850:473          component-wise multiply ( temp highp float)
32860:473            direct index ( temp highp float)
32870:473              direct index ( temp highp 4-component vector of float)
32880:473                'm' ( temp highp 4X4 matrix of float)
32890:473                Constant:
32900:473                  2 (const int)
32910:473              Constant:
32920:473                0 (const int)
32930:473            direct index ( temp highp float)
32940:473              'tt' ( temp highp 3-component vector of float)
32950:473              Constant:
32960:473                2 (const int)
32970:474        add second child into first child ( temp highp float)
32980:474          direct index ( temp highp float)
32990:474            direct index ( temp highp 4-component vector of float)
33000:474              'm' ( temp highp 4X4 matrix of float)
33010:474              Constant:
33020:474                3 (const int)
33030:474            Constant:
33040:474              1 (const int)
33050:474          component-wise multiply ( temp highp float)
33060:474            direct index ( temp highp float)
33070:474              direct index ( temp highp 4-component vector of float)
33080:474                'm' ( temp highp 4X4 matrix of float)
33090:474                Constant:
33100:474                  2 (const int)
33110:474              Constant:
33120:474                1 (const int)
33130:474            direct index ( temp highp float)
33140:474              'tt' ( temp highp 3-component vector of float)
33150:474              Constant:
33160:474                2 (const int)
33170:475        add second child into first child ( temp highp float)
33180:475          direct index ( temp highp float)
33190:475            direct index ( temp highp 4-component vector of float)
33200:475              'm' ( temp highp 4X4 matrix of float)
33210:475              Constant:
33220:475                3 (const int)
33230:475            Constant:
33240:475              2 (const int)
33250:475          component-wise multiply ( temp highp float)
33260:475            direct index ( temp highp float)
33270:475              direct index ( temp highp 4-component vector of float)
33280:475                'm' ( temp highp 4X4 matrix of float)
33290:475                Constant:
33300:475                  2 (const int)
33310:475              Constant:
33320:475                2 (const int)
33330:475            direct index ( temp highp float)
33340:475              'tt' ( temp highp 3-component vector of float)
33350:475              Constant:
33360:475                2 (const int)
33370:476        add second child into first child ( temp highp float)
33380:476          direct index ( temp highp float)
33390:476            direct index ( temp highp 4-component vector of float)
33400:476              'm' ( temp highp 4X4 matrix of float)
33410:476              Constant:
33420:476                3 (const int)
33430:476            Constant:
33440:476              3 (const int)
33450:476          component-wise multiply ( temp highp float)
33460:476            direct index ( temp highp float)
33470:476              direct index ( temp highp 4-component vector of float)
33480:476                'm' ( temp highp 4X4 matrix of float)
33490:476                Constant:
33500:476                  2 (const int)
33510:476              Constant:
33520:476                3 (const int)
33530:476            direct index ( temp highp float)
33540:476              'tt' ( temp highp 3-component vector of float)
33550:476              Constant:
33560:476                2 (const int)
33570:478      Branch: Return with expression
33580:478        'm' ( temp highp 4X4 matrix of float)
33590:480  Function Definition: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
33600:480    Function Parameters: 
33610:480      'id' ( in highp int)
33620:481    Sequence
33630:481      Sequence
33640:481        move second child to first child ( temp highp 3X3 matrix of float)
33650:481          'm' ( temp highp 3X3 matrix of float)
33660:481          Constant:
33670:481            1.000000
33680:481            0.000000
33690:481            0.000000
33700:481            0.000000
33710:481            1.000000
33720:481            0.000000
33730:481            0.000000
33740:481            0.000000
33750:481            1.000000
33760:482      Branch: Return with expression
33770:482        'm' ( temp highp 3X3 matrix of float)
33780:484  Function Definition: TDInstanceMat3ForNorm(i1; ( global highp 3X3 matrix of float)
33790:484    Function Parameters: 
33800:484      'id' ( in highp int)
33810:485    Sequence
33820:485      Sequence
33830:485        move second child to first child ( temp highp 3X3 matrix of float)
33840:485          'm' ( temp highp 3X3 matrix of float)
33850:485          Function Call: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
33860:485            'id' ( in highp int)
33870:486      Branch: Return with expression
33880:486        'm' ( temp highp 3X3 matrix of float)
33890:488  Function Definition: TDInstanceColor(i1;vf4; ( global highp 4-component vector of float)
33900:488    Function Parameters: 
33910:488      'index' ( in highp int)
33920:488      'curColor' ( in highp 4-component vector of float)
33930:489    Sequence
33940:489      subtract second child into first child ( temp highp int)
33950:489        'index' ( in highp int)
33960:489        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
33970:489          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
33980:489          Constant:
33990:489            0 (const uint)
34000:491      Sequence
34010:491        move second child to first child ( temp highp int)
34020:491          'coord' ( temp highp int)
34030:491          'index' ( in highp int)
34040:492      Sequence
34050:492        move second child to first child ( temp highp 4-component vector of float)
34060:492          'samp' ( temp highp 4-component vector of float)
34070:492          textureFetch ( global highp 4-component vector of float)
34080:492            'sTDInstanceColor' (layout( binding=17) uniform highp samplerBuffer)
34090:492            'coord' ( temp highp int)
34100:493      move second child to first child ( temp highp float)
34110:493        direct index ( temp highp float)
34120:493          'v' ( temp highp 4-component vector of float)
34130:493          Constant:
34140:493            0 (const int)
34150:493        direct index ( temp highp float)
34160:493          'samp' ( temp highp 4-component vector of float)
34170:493          Constant:
34180:493            0 (const int)
34190:494      move second child to first child ( temp highp float)
34200:494        direct index ( temp highp float)
34210:494          'v' ( temp highp 4-component vector of float)
34220:494          Constant:
34230:494            1 (const int)
34240:494        direct index ( temp highp float)
34250:494          'samp' ( temp highp 4-component vector of float)
34260:494          Constant:
34270:494            1 (const int)
34280:495      move second child to first child ( temp highp float)
34290:495        direct index ( temp highp float)
34300:495          'v' ( temp highp 4-component vector of float)
34310:495          Constant:
34320:495            2 (const int)
34330:495        direct index ( temp highp float)
34340:495          'samp' ( temp highp 4-component vector of float)
34350:495          Constant:
34360:495            2 (const int)
34370:496      move second child to first child ( temp highp float)
34380:496        direct index ( temp highp float)
34390:496          'v' ( temp highp 4-component vector of float)
34400:496          Constant:
34410:496            3 (const int)
34420:496        Constant:
34430:496          1.000000
34440:497      move second child to first child ( temp highp float)
34450:497        direct index ( temp highp float)
34460:497          'curColor' ( in highp 4-component vector of float)
34470:497          Constant:
34480:497            0 (const int)
34490:497        direct index ( temp highp float)
34500:497          'v' ( temp highp 4-component vector of float)
34510:497          Constant:
34520:497            0 (const int)
34530:499      move second child to first child ( temp highp float)
34540:499        direct index ( temp highp float)
34550:499          'curColor' ( in highp 4-component vector of float)
34560:499          Constant:
34570:499            1 (const int)
34580:499        direct index ( temp highp float)
34590:499          'v' ( temp highp 4-component vector of float)
34600:499          Constant:
34610:499            1 (const int)
34620:501      move second child to first child ( temp highp float)
34630:501        direct index ( temp highp float)
34640:501          'curColor' ( in highp 4-component vector of float)
34650:501          Constant:
34660:501            2 (const int)
34670:501        direct index ( temp highp float)
34680:501          'v' ( temp highp 4-component vector of float)
34690:501          Constant:
34700:501            2 (const int)
34710:503      Branch: Return with expression
34720:503        'curColor' ( in highp 4-component vector of float)
34730:?   Linker Objects
34740:?     'sTDNoiseMap' ( uniform highp sampler2D)
34750:?     'sTDSineLookup' ( uniform highp sampler1D)
34760:?     'sTDWhite2D' ( uniform highp sampler2D)
34770:?     'sTDWhite3D' ( uniform highp sampler3D)
34780:?     'sTDWhite2DArray' ( uniform highp sampler2DArray)
34790:?     'sTDWhiteCube' ( uniform highp samplerCube)
34800:?     'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
34810:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float position,  global highp 3-component vector of float direction,  global highp 3-component vector of float diffuse,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float lightSize,  global highp 4-component vector of float misc,  global highp 4-component vector of float coneLookupScaleBias,  global highp 4-component vector of float attenScaleBiasRoll, layout( column_major std140) global highp 4X4 matrix of float shadowMapMatrix, layout( column_major std140) global highp 4X4 matrix of float shadowMapCamMatrix,  global highp 4-component vector of float shadowMapRes, layout( column_major std140) global highp 4X4 matrix of float projMapMatrix} uTDLights})
34820:?     'anon@2' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 3-component vector of float color, layout( column_major std140) global highp 3X3 matrix of float rotate} uTDEnvLights})
34830:?     'uTDEnvLightBuffers' (layout( column_major std430) restrict readonly buffer 1-element array of block{layout( column_major std430 offset=0) restrict readonly buffer 9-element array of highp 3-component vector of float shCoeffs})
34840:?     'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
34850:?     'anon@4' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float nearFar,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor,  global highp int renderTOPCameraIndex} uTDCamInfos})
34860:?     'anon@5' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform structure{ global highp 4-component vector of float ambientColor,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float viewport,  global highp 4-component vector of float viewportRes,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor} uTDGeneral})
34870:?     'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
34880:?     'sTDInstanceTexCoord' (layout( binding=16) uniform highp samplerBuffer)
34890:?     'sTDInstanceColor' (layout( binding=17) uniform highp samplerBuffer)
3490
3491vk.relaxed.stagelink.0.2.frag
3492Shader version: 460
3493gl_FragCoord origin is upper left
34940:? Sequence
34950:2  Function Definition: TDOutputSwizzle(vf4; ( global highp 4-component vector of float)
34960:2    Function Parameters: 
34970:2      'c' ( in highp 4-component vector of float)
34980:4    Sequence
34990:4      Branch: Return with expression
35000:4        vector swizzle ( temp highp 4-component vector of float)
35010:4          'c' ( in highp 4-component vector of float)
35020:4          Sequence
35030:4            Constant:
35040:4              0 (const int)
35050:4            Constant:
35060:4              1 (const int)
35070:4            Constant:
35080:4              2 (const int)
35090:4            Constant:
35100:4              3 (const int)
35110:6  Function Definition: TDOutputSwizzle(vu4; ( global highp 4-component vector of uint)
35120:6    Function Parameters: 
35130:6      'c' ( in highp 4-component vector of uint)
35140:8    Sequence
35150:8      Branch: Return with expression
35160:8        vector swizzle ( temp highp 4-component vector of uint)
35170:8          'c' ( in highp 4-component vector of uint)
35180:8          Sequence
35190:8            Constant:
35200:8              0 (const int)
35210:8            Constant:
35220:8              1 (const int)
35230:8            Constant:
35240:8              2 (const int)
35250:8            Constant:
35260:8              3 (const int)
35270:?   Linker Objects
3528
3529
3530Linked vertex stage:
3531
3532
3533Linked fragment stage:
3534
3535
3536Shader version: 460
35370:? Sequence
35380:11  Function Definition: main( ( global void)
35390:11    Function Parameters: 
35400:15    Sequence
35410:15      Sequence
35420:15        Sequence
35430:15          move second child to first child ( temp highp 3-component vector of float)
35440:15            'texcoord' ( temp highp 3-component vector of float)
35450:15            Function Call: TDInstanceTexCoord(vf3; ( global highp 3-component vector of float)
35460:15              direct index (layout( location=3) temp highp 3-component vector of float)
35470:15                'uv' (layout( location=3) in 8-element array of highp 3-component vector of float)
35480:15                Constant:
35490:15                  0 (const int)
35500:16        move second child to first child ( temp highp 3-component vector of float)
35510:16          vector swizzle ( temp highp 3-component vector of float)
35520:16            texCoord0: direct index for structure ( out highp 3-component vector of float)
35530:16              'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
35540:16              Constant:
35550:16                2 (const int)
35560:16            Sequence
35570:16              Constant:
35580:16                0 (const int)
35590:16              Constant:
35600:16                1 (const int)
35610:16              Constant:
35620:16                2 (const int)
35630:16          vector swizzle ( temp highp 3-component vector of float)
35640:16            'texcoord' ( temp highp 3-component vector of float)
35650:16            Sequence
35660:16              Constant:
35670:16                0 (const int)
35680:16              Constant:
35690:16                1 (const int)
35700:16              Constant:
35710:16                2 (const int)
35720:20      move second child to first child ( temp highp int)
35730:20        instance: direct index for structure ( flat out highp int)
35740:20          'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
35750:20          Constant:
35760:20            4 (const int)
35770:20        Function Call: TDInstanceID( ( global highp int)
35780:21      Sequence
35790:21        move second child to first child ( temp highp 4-component vector of float)
35800:21          'worldSpacePos' ( temp highp 4-component vector of float)
35810:21          Function Call: TDDeform(vf3; ( global highp 4-component vector of float)
35820:21            'P' (layout( location=0) in highp 3-component vector of float)
35830:22      Sequence
35840:22        move second child to first child ( temp highp 3-component vector of float)
35850:22          'uvUnwrapCoord' ( temp highp 3-component vector of float)
35860:22          Function Call: TDInstanceTexCoord(vf3; ( global highp 3-component vector of float)
35870:22            Function Call: TDUVUnwrapCoord( ( global highp 3-component vector of float)
35880:23      move second child to first child ( temp highp 4-component vector of float)
35890:23        gl_Position: direct index for structure ( gl_Position highp 4-component vector of float Position)
35900:23          'anon@4' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance,  out 1-element array of float CullDistance gl_CullDistance})
35910:23          Constant:
35920:23            0 (const uint)
35930:23        Function Call: TDWorldToProj(vf4;vf3; ( global highp 4-component vector of float)
35940:23          'worldSpacePos' ( temp highp 4-component vector of float)
35950:23          'uvUnwrapCoord' ( temp highp 3-component vector of float)
35960:32      Sequence
35970:32        move second child to first child ( temp highp int)
35980:32          'cameraIndex' ( temp highp int)
35990:32          Function Call: TDCameraIndex( ( global highp int)
36000:33      move second child to first child ( temp highp int)
36010:33        cameraIndex: direct index for structure ( flat out highp int)
36020:33          'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
36030:33          Constant:
36040:33            3 (const int)
36050:33        'cameraIndex' ( temp highp int)
36060:34      move second child to first child ( temp highp 3-component vector of float)
36070:34        vector swizzle ( temp highp 3-component vector of float)
36080:34          worldSpacePos: direct index for structure ( out highp 3-component vector of float)
36090:34            'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
36100:34            Constant:
36110:34              1 (const int)
36120:34          Sequence
36130:34            Constant:
36140:34              0 (const int)
36150:34            Constant:
36160:34              1 (const int)
36170:34            Constant:
36180:34              2 (const int)
36190:34        vector swizzle ( temp highp 3-component vector of float)
36200:34          'worldSpacePos' ( temp highp 4-component vector of float)
36210:34          Sequence
36220:34            Constant:
36230:34              0 (const int)
36240:34            Constant:
36250:34              1 (const int)
36260:34            Constant:
36270:34              2 (const int)
36280:35      move second child to first child ( temp highp 4-component vector of float)
36290:35        color: direct index for structure ( out highp 4-component vector of float)
36300:35          'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
36310:35          Constant:
36320:35            0 (const int)
36330:35        Function Call: TDInstanceColor(vf4; ( global highp 4-component vector of float)
36340:35          'Cd' (layout( location=2) in highp 4-component vector of float)
36350:176  Function Definition: iTDCamToProj(vf4;vf3;i1;b1; ( global highp 4-component vector of float)
36360:176    Function Parameters: 
36370:176      'v' ( in highp 4-component vector of float)
36380:176      'uv' ( in highp 3-component vector of float)
36390:176      'cameraIndex' ( in highp int)
36400:176      'applyPickMod' ( in bool)
36410:178    Sequence
36420:178      Test condition and select ( temp void)
36430:178        Condition
36440:178        Negate conditional ( temp bool)
36450:178          Function Call: TDInstanceActive( ( global bool)
36460:178        true case
36470:179        Branch: Return with expression
36480:179          Constant:
36490:179            2.000000
36500:179            2.000000
36510:179            2.000000
36520:179            0.000000
36530:180      move second child to first child ( temp highp 4-component vector of float)
36540:180        'v' ( in highp 4-component vector of float)
36550:180        matrix-times-vector ( temp highp 4-component vector of float)
36560:180          proj: direct index for structure (layout( column_major std140) global highp 4X4 matrix of float)
36570:180            direct index (layout( column_major std140 offset=0) temp structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
36580:180              uTDMats: direct index for structure (layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
36590:180                'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
36600:180                Constant:
36610:180                  0 (const uint)
36620:180              Constant:
36630:180                0 (const int)
36640:180            Constant:
36650:180              8 (const int)
36660:180          'v' ( in highp 4-component vector of float)
36670:181      Branch: Return with expression
36680:181        'v' ( in highp 4-component vector of float)
36690:183  Function Definition: iTDWorldToProj(vf4;vf3;i1;b1; ( global highp 4-component vector of float)
36700:183    Function Parameters: 
36710:183      'v' ( in highp 4-component vector of float)
36720:183      'uv' ( in highp 3-component vector of float)
36730:183      'cameraIndex' ( in highp int)
36740:183      'applyPickMod' ( in bool)
36750:184    Sequence
36760:184      Test condition and select ( temp void)
36770:184        Condition
36780:184        Negate conditional ( temp bool)
36790:184          Function Call: TDInstanceActive( ( global bool)
36800:184        true case
36810:185        Branch: Return with expression
36820:185          Constant:
36830:185            2.000000
36840:185            2.000000
36850:185            2.000000
36860:185            0.000000
36870:186      move second child to first child ( temp highp 4-component vector of float)
36880:186        'v' ( in highp 4-component vector of float)
36890:186        matrix-times-vector ( temp highp 4-component vector of float)
36900:186          camProj: direct index for structure (layout( column_major std140) global highp 4X4 matrix of float)
36910:186            direct index (layout( column_major std140 offset=0) temp structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
36920:186              uTDMats: direct index for structure (layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
36930:186                'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
36940:186                Constant:
36950:186                  0 (const uint)
36960:186              Constant:
36970:186                0 (const int)
36980:186            Constant:
36990:186              6 (const int)
37000:186          'v' ( in highp 4-component vector of float)
37010:187      Branch: Return with expression
37020:187        'v' ( in highp 4-component vector of float)
37030:193  Function Definition: TDInstanceID( ( global highp int)
37040:193    Function Parameters: 
37050:194    Sequence
37060:194      Branch: Return with expression
37070:194        add ( temp highp int)
37080:194          'gl_InstanceIndex' ( in highp int InstanceIndex)
37090:194          uTDInstanceIDOffset: direct index for structure ( uniform highp int)
37100:194            'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
37110:194            Constant:
37120:194              0 (const uint)
37130:196  Function Definition: TDCameraIndex( ( global highp int)
37140:196    Function Parameters: 
37150:197    Sequence
37160:197      Branch: Return with expression
37170:197        Constant:
37180:197          0 (const int)
37190:199  Function Definition: TDUVUnwrapCoord( ( global highp 3-component vector of float)
37200:199    Function Parameters: 
37210:200    Sequence
37220:200      Branch: Return with expression
37230:200        direct index (layout( location=3) temp highp 3-component vector of float)
37240:200          'uv' (layout( location=3) in 8-element array of highp 3-component vector of float)
37250:200          Constant:
37260:200            0 (const int)
37270:205  Function Definition: TDPickID( ( global highp int)
37280:205    Function Parameters: 
37290:209    Sequence
37300:209      Branch: Return with expression
37310:209        Constant:
37320:209          0 (const int)
37330:212  Function Definition: iTDConvertPickId(i1; ( global highp float)
37340:212    Function Parameters: 
37350:212      'id' ( in highp int)
37360:213    Sequence
37370:213      or second child into first child ( temp highp int)
37380:213        'id' ( in highp int)
37390:213        Constant:
37400:213          1073741824 (const int)
37410:214      Branch: Return with expression
37420:214        intBitsToFloat ( global highp float)
37430:214          'id' ( in highp int)
37440:217  Function Definition: TDWritePickingValues( ( global void)
37450:217    Function Parameters: 
37460:224  Function Definition: TDWorldToProj(vf4;vf3; ( global highp 4-component vector of float)
37470:224    Function Parameters: 
37480:224      'v' ( in highp 4-component vector of float)
37490:224      'uv' ( in highp 3-component vector of float)
37500:226    Sequence
37510:226      Branch: Return with expression
37520:226        Function Call: iTDWorldToProj(vf4;vf3;i1;b1; ( global highp 4-component vector of float)
37530:226          'v' ( in highp 4-component vector of float)
37540:226          'uv' ( in highp 3-component vector of float)
37550:226          Function Call: TDCameraIndex( ( global highp int)
37560:226          Constant:
37570:226            true (const bool)
37580:228  Function Definition: TDWorldToProj(vf3;vf3; ( global highp 4-component vector of float)
37590:228    Function Parameters: 
37600:228      'v' ( in highp 3-component vector of float)
37610:228      'uv' ( in highp 3-component vector of float)
37620:230    Sequence
37630:230      Branch: Return with expression
37640:230        Function Call: TDWorldToProj(vf4;vf3; ( global highp 4-component vector of float)
37650:230          Construct vec4 ( temp highp 4-component vector of float)
37660:230            'v' ( in highp 3-component vector of float)
37670:230            Constant:
37680:230              1.000000
37690:230          'uv' ( in highp 3-component vector of float)
37700:232  Function Definition: TDWorldToProj(vf4; ( global highp 4-component vector of float)
37710:232    Function Parameters: 
37720:232      'v' ( in highp 4-component vector of float)
37730:234    Sequence
37740:234      Branch: Return with expression
37750:234        Function Call: TDWorldToProj(vf4;vf3; ( global highp 4-component vector of float)
37760:234          'v' ( in highp 4-component vector of float)
37770:234          Constant:
37780:234            0.000000
37790:234            0.000000
37800:234            0.000000
37810:236  Function Definition: TDWorldToProj(vf3; ( global highp 4-component vector of float)
37820:236    Function Parameters: 
37830:236      'v' ( in highp 3-component vector of float)
37840:238    Sequence
37850:238      Branch: Return with expression
37860:238        Function Call: TDWorldToProj(vf4; ( global highp 4-component vector of float)
37870:238          Construct vec4 ( temp highp 4-component vector of float)
37880:238            'v' ( in highp 3-component vector of float)
37890:238            Constant:
37900:238              1.000000
37910:240  Function Definition: TDPointColor( ( global highp 4-component vector of float)
37920:240    Function Parameters: 
37930:241    Sequence
37940:241      Branch: Return with expression
37950:241        'Cd' (layout( location=2) in highp 4-component vector of float)
37960:114  Function Definition: TDInstanceTexCoord(i1;vf3; ( global highp 3-component vector of float)
37970:114    Function Parameters: 
37980:114      'index' ( in highp int)
37990:114      't' ( in highp 3-component vector of float)
38000:?     Sequence
38010:116      Sequence
38020:116        move second child to first child ( temp highp int)
38030:116          'coord' ( temp highp int)
38040:116          'index' ( in highp int)
38050:117      Sequence
38060:117        move second child to first child ( temp highp 4-component vector of float)
38070:117          'samp' ( temp highp 4-component vector of float)
38080:117          textureFetch ( global highp 4-component vector of float)
38090:117            'sTDInstanceTexCoord' (layout( binding=16) uniform highp samplerBuffer)
38100:117            'coord' ( temp highp int)
38110:118      move second child to first child ( temp highp float)
38120:118        direct index ( temp highp float)
38130:118          'v' ( temp highp 3-component vector of float)
38140:118          Constant:
38150:118            0 (const int)
38160:118        direct index ( temp highp float)
38170:118          't' ( in highp 3-component vector of float)
38180:118          Constant:
38190:118            0 (const int)
38200:119      move second child to first child ( temp highp float)
38210:119        direct index ( temp highp float)
38220:119          'v' ( temp highp 3-component vector of float)
38230:119          Constant:
38240:119            1 (const int)
38250:119        direct index ( temp highp float)
38260:119          't' ( in highp 3-component vector of float)
38270:119          Constant:
38280:119            1 (const int)
38290:120      move second child to first child ( temp highp float)
38300:120        direct index ( temp highp float)
38310:120          'v' ( temp highp 3-component vector of float)
38320:120          Constant:
38330:120            2 (const int)
38340:120        direct index ( temp highp float)
38350:120          'samp' ( temp highp 4-component vector of float)
38360:120          Constant:
38370:120            0 (const int)
38380:121      move second child to first child ( temp highp 3-component vector of float)
38390:121        vector swizzle ( temp highp 3-component vector of float)
38400:121          't' ( in highp 3-component vector of float)
38410:121          Sequence
38420:121            Constant:
38430:121              0 (const int)
38440:121            Constant:
38450:121              1 (const int)
38460:121            Constant:
38470:121              2 (const int)
38480:121        vector swizzle ( temp highp 3-component vector of float)
38490:121          'v' ( temp highp 3-component vector of float)
38500:121          Sequence
38510:121            Constant:
38520:121              0 (const int)
38530:121            Constant:
38540:121              1 (const int)
38550:121            Constant:
38560:121              2 (const int)
38570:122      Branch: Return with expression
38580:122        't' ( in highp 3-component vector of float)
38590:124  Function Definition: TDInstanceActive(i1; ( global bool)
38600:124    Function Parameters: 
38610:124      'index' ( in highp int)
38620:125    Sequence
38630:125      subtract second child into first child ( temp highp int)
38640:125        'index' ( in highp int)
38650:125        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
38660:125          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
38670:125          Constant:
38680:125            0 (const uint)
38690:127      Sequence
38700:127        move second child to first child ( temp highp int)
38710:127          'coord' ( temp highp int)
38720:127          'index' ( in highp int)
38730:128      Sequence
38740:128        move second child to first child ( temp highp 4-component vector of float)
38750:128          'samp' ( temp highp 4-component vector of float)
38760:128          textureFetch ( global highp 4-component vector of float)
38770:128            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
38780:128            'coord' ( temp highp int)
38790:129      move second child to first child ( temp highp float)
38800:129        'v' ( temp highp float)
38810:129        direct index ( temp highp float)
38820:129          'samp' ( temp highp 4-component vector of float)
38830:129          Constant:
38840:129            0 (const int)
38850:130      Branch: Return with expression
38860:130        Compare Not Equal ( temp bool)
38870:130          'v' ( temp highp float)
38880:130          Constant:
38890:130            0.000000
38900:132  Function Definition: iTDInstanceTranslate(i1;b1; ( global highp 3-component vector of float)
38910:132    Function Parameters: 
38920:132      'index' ( in highp int)
38930:132      'instanceActive' ( out bool)
38940:133    Sequence
38950:133      Sequence
38960:133        move second child to first child ( temp highp int)
38970:133          'origIndex' ( temp highp int)
38980:133          'index' ( in highp int)
38990:134      subtract second child into first child ( temp highp int)
39000:134        'index' ( in highp int)
39010:134        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
39020:134          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
39030:134          Constant:
39040:134            0 (const uint)
39050:136      Sequence
39060:136        move second child to first child ( temp highp int)
39070:136          'coord' ( temp highp int)
39080:136          'index' ( in highp int)
39090:137      Sequence
39100:137        move second child to first child ( temp highp 4-component vector of float)
39110:137          'samp' ( temp highp 4-component vector of float)
39120:137          textureFetch ( global highp 4-component vector of float)
39130:137            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
39140:137            'coord' ( temp highp int)
39150:138      move second child to first child ( temp highp float)
39160:138        direct index ( temp highp float)
39170:138          'v' ( temp highp 3-component vector of float)
39180:138          Constant:
39190:138            0 (const int)
39200:138        direct index ( temp highp float)
39210:138          'samp' ( temp highp 4-component vector of float)
39220:138          Constant:
39230:138            1 (const int)
39240:139      move second child to first child ( temp highp float)
39250:139        direct index ( temp highp float)
39260:139          'v' ( temp highp 3-component vector of float)
39270:139          Constant:
39280:139            1 (const int)
39290:139        direct index ( temp highp float)
39300:139          'samp' ( temp highp 4-component vector of float)
39310:139          Constant:
39320:139            2 (const int)
39330:140      move second child to first child ( temp highp float)
39340:140        direct index ( temp highp float)
39350:140          'v' ( temp highp 3-component vector of float)
39360:140          Constant:
39370:140            2 (const int)
39380:140        direct index ( temp highp float)
39390:140          'samp' ( temp highp 4-component vector of float)
39400:140          Constant:
39410:140            3 (const int)
39420:141      move second child to first child ( temp bool)
39430:141        'instanceActive' ( out bool)
39440:141        Compare Not Equal ( temp bool)
39450:141          direct index ( temp highp float)
39460:141            'samp' ( temp highp 4-component vector of float)
39470:141            Constant:
39480:141              0 (const int)
39490:141          Constant:
39500:141            0.000000
39510:142      Branch: Return with expression
39520:142        'v' ( temp highp 3-component vector of float)
39530:144  Function Definition: TDInstanceTranslate(i1; ( global highp 3-component vector of float)
39540:144    Function Parameters: 
39550:144      'index' ( in highp int)
39560:145    Sequence
39570:145      subtract second child into first child ( temp highp int)
39580:145        'index' ( in highp int)
39590:145        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
39600:145          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
39610:145          Constant:
39620:145            0 (const uint)
39630:147      Sequence
39640:147        move second child to first child ( temp highp int)
39650:147          'coord' ( temp highp int)
39660:147          'index' ( in highp int)
39670:148      Sequence
39680:148        move second child to first child ( temp highp 4-component vector of float)
39690:148          'samp' ( temp highp 4-component vector of float)
39700:148          textureFetch ( global highp 4-component vector of float)
39710:148            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
39720:148            'coord' ( temp highp int)
39730:149      move second child to first child ( temp highp float)
39740:149        direct index ( temp highp float)
39750:149          'v' ( temp highp 3-component vector of float)
39760:149          Constant:
39770:149            0 (const int)
39780:149        direct index ( temp highp float)
39790:149          'samp' ( temp highp 4-component vector of float)
39800:149          Constant:
39810:149            1 (const int)
39820:150      move second child to first child ( temp highp float)
39830:150        direct index ( temp highp float)
39840:150          'v' ( temp highp 3-component vector of float)
39850:150          Constant:
39860:150            1 (const int)
39870:150        direct index ( temp highp float)
39880:150          'samp' ( temp highp 4-component vector of float)
39890:150          Constant:
39900:150            2 (const int)
39910:151      move second child to first child ( temp highp float)
39920:151        direct index ( temp highp float)
39930:151          'v' ( temp highp 3-component vector of float)
39940:151          Constant:
39950:151            2 (const int)
39960:151        direct index ( temp highp float)
39970:151          'samp' ( temp highp 4-component vector of float)
39980:151          Constant:
39990:151            3 (const int)
40000:152      Branch: Return with expression
40010:152        'v' ( temp highp 3-component vector of float)
40020:154  Function Definition: TDInstanceRotateMat(i1; ( global highp 3X3 matrix of float)
40030:154    Function Parameters: 
40040:154      'index' ( in highp int)
40050:155    Sequence
40060:155      subtract second child into first child ( temp highp int)
40070:155        'index' ( in highp int)
40080:155        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
40090:155          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
40100:155          Constant:
40110:155            0 (const uint)
40120:156      Sequence
40130:156        move second child to first child ( temp highp 3-component vector of float)
40140:156          'v' ( temp highp 3-component vector of float)
40150:156          Constant:
40160:156            0.000000
40170:156            0.000000
40180:156            0.000000
40190:157      Sequence
40200:157        move second child to first child ( temp highp 3X3 matrix of float)
40210:157          'm' ( temp highp 3X3 matrix of float)
40220:157          Constant:
40230:157            1.000000
40240:157            0.000000
40250:157            0.000000
40260:157            0.000000
40270:157            1.000000
40280:157            0.000000
40290:157            0.000000
40300:157            0.000000
40310:157            1.000000
40320:161      Branch: Return with expression
40330:161        'm' ( temp highp 3X3 matrix of float)
40340:163  Function Definition: TDInstanceScale(i1; ( global highp 3-component vector of float)
40350:163    Function Parameters: 
40360:163      'index' ( in highp int)
40370:164    Sequence
40380:164      subtract second child into first child ( temp highp int)
40390:164        'index' ( in highp int)
40400:164        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
40410:164          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
40420:164          Constant:
40430:164            0 (const uint)
40440:165      Sequence
40450:165        move second child to first child ( temp highp 3-component vector of float)
40460:165          'v' ( temp highp 3-component vector of float)
40470:165          Constant:
40480:165            1.000000
40490:165            1.000000
40500:165            1.000000
40510:166      Branch: Return with expression
40520:166        'v' ( temp highp 3-component vector of float)
40530:168  Function Definition: TDInstancePivot(i1; ( global highp 3-component vector of float)
40540:168    Function Parameters: 
40550:168      'index' ( in highp int)
40560:169    Sequence
40570:169      subtract second child into first child ( temp highp int)
40580:169        'index' ( in highp int)
40590:169        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
40600:169          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
40610:169          Constant:
40620:169            0 (const uint)
40630:170      Sequence
40640:170        move second child to first child ( temp highp 3-component vector of float)
40650:170          'v' ( temp highp 3-component vector of float)
40660:170          Constant:
40670:170            0.000000
40680:170            0.000000
40690:170            0.000000
40700:171      Branch: Return with expression
40710:171        'v' ( temp highp 3-component vector of float)
40720:173  Function Definition: TDInstanceRotTo(i1; ( global highp 3-component vector of float)
40730:173    Function Parameters: 
40740:173      'index' ( in highp int)
40750:174    Sequence
40760:174      subtract second child into first child ( temp highp int)
40770:174        'index' ( in highp int)
40780:174        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
40790:174          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
40800:174          Constant:
40810:174            0 (const uint)
40820:175      Sequence
40830:175        move second child to first child ( temp highp 3-component vector of float)
40840:175          'v' ( temp highp 3-component vector of float)
40850:175          Constant:
40860:175            0.000000
40870:175            0.000000
40880:175            1.000000
40890:176      Branch: Return with expression
40900:176        'v' ( temp highp 3-component vector of float)
40910:178  Function Definition: TDInstanceRotUp(i1; ( global highp 3-component vector of float)
40920:178    Function Parameters: 
40930:178      'index' ( in highp int)
40940:179    Sequence
40950:179      subtract second child into first child ( temp highp int)
40960:179        'index' ( in highp int)
40970:179        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
40980:179          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
40990:179          Constant:
41000:179            0 (const uint)
41010:180      Sequence
41020:180        move second child to first child ( temp highp 3-component vector of float)
41030:180          'v' ( temp highp 3-component vector of float)
41040:180          Constant:
41050:180            0.000000
41060:180            1.000000
41070:180            0.000000
41080:181      Branch: Return with expression
41090:181        'v' ( temp highp 3-component vector of float)
41100:183  Function Definition: TDInstanceMat(i1; ( global highp 4X4 matrix of float)
41110:183    Function Parameters: 
41120:183      'id' ( in highp int)
41130:184    Sequence
41140:184      Sequence
41150:184        move second child to first child ( temp bool)
41160:184          'instanceActive' ( temp bool)
41170:184          Constant:
41180:184            true (const bool)
41190:185      Sequence
41200:185        move second child to first child ( temp highp 3-component vector of float)
41210:185          't' ( temp highp 3-component vector of float)
41220:185          Function Call: iTDInstanceTranslate(i1;b1; ( global highp 3-component vector of float)
41230:185            'id' ( in highp int)
41240:185            'instanceActive' ( temp bool)
41250:186      Test condition and select ( temp void)
41260:186        Condition
41270:186        Negate conditional ( temp bool)
41280:186          'instanceActive' ( temp bool)
41290:186        true case
41300:188        Sequence
41310:188          Branch: Return with expression
41320:188            Constant:
41330:188              0.000000
41340:188              0.000000
41350:188              0.000000
41360:188              0.000000
41370:188              0.000000
41380:188              0.000000
41390:188              0.000000
41400:188              0.000000
41410:188              0.000000
41420:188              0.000000
41430:188              0.000000
41440:188              0.000000
41450:188              0.000000
41460:188              0.000000
41470:188              0.000000
41480:188              0.000000
41490:190      Sequence
41500:190        move second child to first child ( temp highp 4X4 matrix of float)
41510:190          'm' ( temp highp 4X4 matrix of float)
41520:190          Constant:
41530:190            1.000000
41540:190            0.000000
41550:190            0.000000
41560:190            0.000000
41570:190            0.000000
41580:190            1.000000
41590:190            0.000000
41600:190            0.000000
41610:190            0.000000
41620:190            0.000000
41630:190            1.000000
41640:190            0.000000
41650:190            0.000000
41660:190            0.000000
41670:190            0.000000
41680:190            1.000000
41690:192      Sequence
41700:192        Sequence
41710:192          move second child to first child ( temp highp 3-component vector of float)
41720:192            'tt' ( temp highp 3-component vector of float)
41730:192            't' ( temp highp 3-component vector of float)
41740:193        add second child into first child ( temp highp float)
41750:193          direct index ( temp highp float)
41760:193            direct index ( temp highp 4-component vector of float)
41770:193              'm' ( temp highp 4X4 matrix of float)
41780:193              Constant:
41790:193                3 (const int)
41800:193            Constant:
41810:193              0 (const int)
41820:193          component-wise multiply ( temp highp float)
41830:193            direct index ( temp highp float)
41840:193              direct index ( temp highp 4-component vector of float)
41850:193                'm' ( temp highp 4X4 matrix of float)
41860:193                Constant:
41870:193                  0 (const int)
41880:193              Constant:
41890:193                0 (const int)
41900:193            direct index ( temp highp float)
41910:193              'tt' ( temp highp 3-component vector of float)
41920:193              Constant:
41930:193                0 (const int)
41940:194        add second child into first child ( temp highp float)
41950:194          direct index ( temp highp float)
41960:194            direct index ( temp highp 4-component vector of float)
41970:194              'm' ( temp highp 4X4 matrix of float)
41980:194              Constant:
41990:194                3 (const int)
42000:194            Constant:
42010:194              1 (const int)
42020:194          component-wise multiply ( temp highp float)
42030:194            direct index ( temp highp float)
42040:194              direct index ( temp highp 4-component vector of float)
42050:194                'm' ( temp highp 4X4 matrix of float)
42060:194                Constant:
42070:194                  0 (const int)
42080:194              Constant:
42090:194                1 (const int)
42100:194            direct index ( temp highp float)
42110:194              'tt' ( temp highp 3-component vector of float)
42120:194              Constant:
42130:194                0 (const int)
42140:195        add second child into first child ( temp highp float)
42150:195          direct index ( temp highp float)
42160:195            direct index ( temp highp 4-component vector of float)
42170:195              'm' ( temp highp 4X4 matrix of float)
42180:195              Constant:
42190:195                3 (const int)
42200:195            Constant:
42210:195              2 (const int)
42220:195          component-wise multiply ( temp highp float)
42230:195            direct index ( temp highp float)
42240:195              direct index ( temp highp 4-component vector of float)
42250:195                'm' ( temp highp 4X4 matrix of float)
42260:195                Constant:
42270:195                  0 (const int)
42280:195              Constant:
42290:195                2 (const int)
42300:195            direct index ( temp highp float)
42310:195              'tt' ( temp highp 3-component vector of float)
42320:195              Constant:
42330:195                0 (const int)
42340:196        add second child into first child ( temp highp float)
42350:196          direct index ( temp highp float)
42360:196            direct index ( temp highp 4-component vector of float)
42370:196              'm' ( temp highp 4X4 matrix of float)
42380:196              Constant:
42390:196                3 (const int)
42400:196            Constant:
42410:196              3 (const int)
42420:196          component-wise multiply ( temp highp float)
42430:196            direct index ( temp highp float)
42440:196              direct index ( temp highp 4-component vector of float)
42450:196                'm' ( temp highp 4X4 matrix of float)
42460:196                Constant:
42470:196                  0 (const int)
42480:196              Constant:
42490:196                3 (const int)
42500:196            direct index ( temp highp float)
42510:196              'tt' ( temp highp 3-component vector of float)
42520:196              Constant:
42530:196                0 (const int)
42540:197        add second child into first child ( temp highp float)
42550:197          direct index ( temp highp float)
42560:197            direct index ( temp highp 4-component vector of float)
42570:197              'm' ( temp highp 4X4 matrix of float)
42580:197              Constant:
42590:197                3 (const int)
42600:197            Constant:
42610:197              0 (const int)
42620:197          component-wise multiply ( temp highp float)
42630:197            direct index ( temp highp float)
42640:197              direct index ( temp highp 4-component vector of float)
42650:197                'm' ( temp highp 4X4 matrix of float)
42660:197                Constant:
42670:197                  1 (const int)
42680:197              Constant:
42690:197                0 (const int)
42700:197            direct index ( temp highp float)
42710:197              'tt' ( temp highp 3-component vector of float)
42720:197              Constant:
42730:197                1 (const int)
42740:198        add second child into first child ( temp highp float)
42750:198          direct index ( temp highp float)
42760:198            direct index ( temp highp 4-component vector of float)
42770:198              'm' ( temp highp 4X4 matrix of float)
42780:198              Constant:
42790:198                3 (const int)
42800:198            Constant:
42810:198              1 (const int)
42820:198          component-wise multiply ( temp highp float)
42830:198            direct index ( temp highp float)
42840:198              direct index ( temp highp 4-component vector of float)
42850:198                'm' ( temp highp 4X4 matrix of float)
42860:198                Constant:
42870:198                  1 (const int)
42880:198              Constant:
42890:198                1 (const int)
42900:198            direct index ( temp highp float)
42910:198              'tt' ( temp highp 3-component vector of float)
42920:198              Constant:
42930:198                1 (const int)
42940:199        add second child into first child ( temp highp float)
42950:199          direct index ( temp highp float)
42960:199            direct index ( temp highp 4-component vector of float)
42970:199              'm' ( temp highp 4X4 matrix of float)
42980:199              Constant:
42990:199                3 (const int)
43000:199            Constant:
43010:199              2 (const int)
43020:199          component-wise multiply ( temp highp float)
43030:199            direct index ( temp highp float)
43040:199              direct index ( temp highp 4-component vector of float)
43050:199                'm' ( temp highp 4X4 matrix of float)
43060:199                Constant:
43070:199                  1 (const int)
43080:199              Constant:
43090:199                2 (const int)
43100:199            direct index ( temp highp float)
43110:199              'tt' ( temp highp 3-component vector of float)
43120:199              Constant:
43130:199                1 (const int)
43140:200        add second child into first child ( temp highp float)
43150:200          direct index ( temp highp float)
43160:200            direct index ( temp highp 4-component vector of float)
43170:200              'm' ( temp highp 4X4 matrix of float)
43180:200              Constant:
43190:200                3 (const int)
43200:200            Constant:
43210:200              3 (const int)
43220:200          component-wise multiply ( temp highp float)
43230:200            direct index ( temp highp float)
43240:200              direct index ( temp highp 4-component vector of float)
43250:200                'm' ( temp highp 4X4 matrix of float)
43260:200                Constant:
43270:200                  1 (const int)
43280:200              Constant:
43290:200                3 (const int)
43300:200            direct index ( temp highp float)
43310:200              'tt' ( temp highp 3-component vector of float)
43320:200              Constant:
43330:200                1 (const int)
43340:201        add second child into first child ( temp highp float)
43350:201          direct index ( temp highp float)
43360:201            direct index ( temp highp 4-component vector of float)
43370:201              'm' ( temp highp 4X4 matrix of float)
43380:201              Constant:
43390:201                3 (const int)
43400:201            Constant:
43410:201              0 (const int)
43420:201          component-wise multiply ( temp highp float)
43430:201            direct index ( temp highp float)
43440:201              direct index ( temp highp 4-component vector of float)
43450:201                'm' ( temp highp 4X4 matrix of float)
43460:201                Constant:
43470:201                  2 (const int)
43480:201              Constant:
43490:201                0 (const int)
43500:201            direct index ( temp highp float)
43510:201              'tt' ( temp highp 3-component vector of float)
43520:201              Constant:
43530:201                2 (const int)
43540:202        add second child into first child ( temp highp float)
43550:202          direct index ( temp highp float)
43560:202            direct index ( temp highp 4-component vector of float)
43570:202              'm' ( temp highp 4X4 matrix of float)
43580:202              Constant:
43590:202                3 (const int)
43600:202            Constant:
43610:202              1 (const int)
43620:202          component-wise multiply ( temp highp float)
43630:202            direct index ( temp highp float)
43640:202              direct index ( temp highp 4-component vector of float)
43650:202                'm' ( temp highp 4X4 matrix of float)
43660:202                Constant:
43670:202                  2 (const int)
43680:202              Constant:
43690:202                1 (const int)
43700:202            direct index ( temp highp float)
43710:202              'tt' ( temp highp 3-component vector of float)
43720:202              Constant:
43730:202                2 (const int)
43740:203        add second child into first child ( temp highp float)
43750:203          direct index ( temp highp float)
43760:203            direct index ( temp highp 4-component vector of float)
43770:203              'm' ( temp highp 4X4 matrix of float)
43780:203              Constant:
43790:203                3 (const int)
43800:203            Constant:
43810:203              2 (const int)
43820:203          component-wise multiply ( temp highp float)
43830:203            direct index ( temp highp float)
43840:203              direct index ( temp highp 4-component vector of float)
43850:203                'm' ( temp highp 4X4 matrix of float)
43860:203                Constant:
43870:203                  2 (const int)
43880:203              Constant:
43890:203                2 (const int)
43900:203            direct index ( temp highp float)
43910:203              'tt' ( temp highp 3-component vector of float)
43920:203              Constant:
43930:203                2 (const int)
43940:204        add second child into first child ( temp highp float)
43950:204          direct index ( temp highp float)
43960:204            direct index ( temp highp 4-component vector of float)
43970:204              'm' ( temp highp 4X4 matrix of float)
43980:204              Constant:
43990:204                3 (const int)
44000:204            Constant:
44010:204              3 (const int)
44020:204          component-wise multiply ( temp highp float)
44030:204            direct index ( temp highp float)
44040:204              direct index ( temp highp 4-component vector of float)
44050:204                'm' ( temp highp 4X4 matrix of float)
44060:204                Constant:
44070:204                  2 (const int)
44080:204              Constant:
44090:204                3 (const int)
44100:204            direct index ( temp highp float)
44110:204              'tt' ( temp highp 3-component vector of float)
44120:204              Constant:
44130:204                2 (const int)
44140:206      Branch: Return with expression
44150:206        'm' ( temp highp 4X4 matrix of float)
44160:208  Function Definition: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
44170:208    Function Parameters: 
44180:208      'id' ( in highp int)
44190:209    Sequence
44200:209      Sequence
44210:209        move second child to first child ( temp highp 3X3 matrix of float)
44220:209          'm' ( temp highp 3X3 matrix of float)
44230:209          Constant:
44240:209            1.000000
44250:209            0.000000
44260:209            0.000000
44270:209            0.000000
44280:209            1.000000
44290:209            0.000000
44300:209            0.000000
44310:209            0.000000
44320:209            1.000000
44330:210      Branch: Return with expression
44340:210        'm' ( temp highp 3X3 matrix of float)
44350:212  Function Definition: TDInstanceMat3ForNorm(i1; ( global highp 3X3 matrix of float)
44360:212    Function Parameters: 
44370:212      'id' ( in highp int)
44380:213    Sequence
44390:213      Sequence
44400:213        move second child to first child ( temp highp 3X3 matrix of float)
44410:213          'm' ( temp highp 3X3 matrix of float)
44420:213          Function Call: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
44430:213            'id' ( in highp int)
44440:214      Branch: Return with expression
44450:214        'm' ( temp highp 3X3 matrix of float)
44460:216  Function Definition: TDInstanceColor(i1;vf4; ( global highp 4-component vector of float)
44470:216    Function Parameters: 
44480:216      'index' ( in highp int)
44490:216      'curColor' ( in highp 4-component vector of float)
44500:217    Sequence
44510:217      subtract second child into first child ( temp highp int)
44520:217        'index' ( in highp int)
44530:217        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
44540:217          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
44550:217          Constant:
44560:217            0 (const uint)
44570:219      Sequence
44580:219        move second child to first child ( temp highp int)
44590:219          'coord' ( temp highp int)
44600:219          'index' ( in highp int)
44610:220      Sequence
44620:220        move second child to first child ( temp highp 4-component vector of float)
44630:220          'samp' ( temp highp 4-component vector of float)
44640:220          textureFetch ( global highp 4-component vector of float)
44650:220            'sTDInstanceColor' (layout( binding=17) uniform highp samplerBuffer)
44660:220            'coord' ( temp highp int)
44670:221      move second child to first child ( temp highp float)
44680:221        direct index ( temp highp float)
44690:221          'v' ( temp highp 4-component vector of float)
44700:221          Constant:
44710:221            0 (const int)
44720:221        direct index ( temp highp float)
44730:221          'samp' ( temp highp 4-component vector of float)
44740:221          Constant:
44750:221            0 (const int)
44760:222      move second child to first child ( temp highp float)
44770:222        direct index ( temp highp float)
44780:222          'v' ( temp highp 4-component vector of float)
44790:222          Constant:
44800:222            1 (const int)
44810:222        direct index ( temp highp float)
44820:222          'samp' ( temp highp 4-component vector of float)
44830:222          Constant:
44840:222            1 (const int)
44850:223      move second child to first child ( temp highp float)
44860:223        direct index ( temp highp float)
44870:223          'v' ( temp highp 4-component vector of float)
44880:223          Constant:
44890:223            2 (const int)
44900:223        direct index ( temp highp float)
44910:223          'samp' ( temp highp 4-component vector of float)
44920:223          Constant:
44930:223            2 (const int)
44940:224      move second child to first child ( temp highp float)
44950:224        direct index ( temp highp float)
44960:224          'v' ( temp highp 4-component vector of float)
44970:224          Constant:
44980:224            3 (const int)
44990:224        Constant:
45000:224          1.000000
45010:225      move second child to first child ( temp highp float)
45020:225        direct index ( temp highp float)
45030:225          'curColor' ( in highp 4-component vector of float)
45040:225          Constant:
45050:225            0 (const int)
45060:225        direct index ( temp highp float)
45070:225          'v' ( temp highp 4-component vector of float)
45080:225          Constant:
45090:225            0 (const int)
45100:227      move second child to first child ( temp highp float)
45110:227        direct index ( temp highp float)
45120:227          'curColor' ( in highp 4-component vector of float)
45130:227          Constant:
45140:227            1 (const int)
45150:227        direct index ( temp highp float)
45160:227          'v' ( temp highp 4-component vector of float)
45170:227          Constant:
45180:227            1 (const int)
45190:229      move second child to first child ( temp highp float)
45200:229        direct index ( temp highp float)
45210:229          'curColor' ( in highp 4-component vector of float)
45220:229          Constant:
45230:229            2 (const int)
45240:229        direct index ( temp highp float)
45250:229          'v' ( temp highp 4-component vector of float)
45260:229          Constant:
45270:229            2 (const int)
45280:231      Branch: Return with expression
45290:231        'curColor' ( in highp 4-component vector of float)
45300:233  Function Definition: TDInstanceDeform(i1;vf4; ( global highp 4-component vector of float)
45310:233    Function Parameters: 
45320:233      'id' ( in highp int)
45330:233      'pos' ( in highp 4-component vector of float)
45340:234    Sequence
45350:234      move second child to first child ( temp highp 4-component vector of float)
45360:234        'pos' ( in highp 4-component vector of float)
45370:234        matrix-times-vector ( temp highp 4-component vector of float)
45380:234          Function Call: TDInstanceMat(i1; ( global highp 4X4 matrix of float)
45390:234            'id' ( in highp int)
45400:234          'pos' ( in highp 4-component vector of float)
45410:235      Branch: Return with expression
45420:235        matrix-times-vector ( temp highp 4-component vector of float)
45430:235          world: direct index for structure (layout( column_major std140) global highp 4X4 matrix of float)
45440:235            indirect index (layout( column_major std140 offset=0) temp structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
45450:235              uTDMats: direct index for structure (layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
45460:235                'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
45470:235                Constant:
45480:235                  0 (const uint)
45490:235              Function Call: TDCameraIndex( ( global highp int)
45500:235            Constant:
45510:235              0 (const int)
45520:235          'pos' ( in highp 4-component vector of float)
45530:238  Function Definition: TDInstanceDeformVec(i1;vf3; ( global highp 3-component vector of float)
45540:238    Function Parameters: 
45550:238      'id' ( in highp int)
45560:238      'vec' ( in highp 3-component vector of float)
45570:240    Sequence
45580:240      Sequence
45590:240        move second child to first child ( temp highp 3X3 matrix of float)
45600:240          'm' ( temp highp 3X3 matrix of float)
45610:240          Function Call: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
45620:240            'id' ( in highp int)
45630:241      Branch: Return with expression
45640:241        matrix-times-vector ( temp highp 3-component vector of float)
45650:241          Construct mat3 ( temp highp 3X3 matrix of float)
45660:241            world: direct index for structure (layout( column_major std140) global highp 4X4 matrix of float)
45670:241              indirect index (layout( column_major std140 offset=0) temp structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
45680:241                uTDMats: direct index for structure (layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
45690:241                  'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
45700:241                  Constant:
45710:241                    0 (const uint)
45720:241                Function Call: TDCameraIndex( ( global highp int)
45730:241              Constant:
45740:241                0 (const int)
45750:241          matrix-times-vector ( temp highp 3-component vector of float)
45760:241            'm' ( temp highp 3X3 matrix of float)
45770:241            'vec' ( in highp 3-component vector of float)
45780:243  Function Definition: TDInstanceDeformNorm(i1;vf3; ( global highp 3-component vector of float)
45790:243    Function Parameters: 
45800:243      'id' ( in highp int)
45810:243      'vec' ( in highp 3-component vector of float)
45820:245    Sequence
45830:245      Sequence
45840:245        move second child to first child ( temp highp 3X3 matrix of float)
45850:245          'm' ( temp highp 3X3 matrix of float)
45860:245          Function Call: TDInstanceMat3ForNorm(i1; ( global highp 3X3 matrix of float)
45870:245            'id' ( in highp int)
45880:246      Branch: Return with expression
45890:246        matrix-times-vector ( temp highp 3-component vector of float)
45900:246          Construct mat3 ( temp highp 3X3 matrix of float)
45910:246            worldForNormals: direct index for structure (layout( column_major std140) global highp 3X3 matrix of float)
45920:246              indirect index (layout( column_major std140 offset=0) temp structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
45930:246                uTDMats: direct index for structure (layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals})
45940:246                  'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
45950:246                  Constant:
45960:246                    0 (const uint)
45970:246                Function Call: TDCameraIndex( ( global highp int)
45980:246              Constant:
45990:246                13 (const int)
46000:246          matrix-times-vector ( temp highp 3-component vector of float)
46010:246            'm' ( temp highp 3X3 matrix of float)
46020:246            'vec' ( in highp 3-component vector of float)
46030:248  Function Definition: TDInstanceDeform(vf4; ( global highp 4-component vector of float)
46040:248    Function Parameters: 
46050:248      'pos' ( in highp 4-component vector of float)
46060:249    Sequence
46070:249      Branch: Return with expression
46080:249        Function Call: TDInstanceDeform(i1;vf4; ( global highp 4-component vector of float)
46090:249          Function Call: TDInstanceID( ( global highp int)
46100:249          'pos' ( in highp 4-component vector of float)
46110:251  Function Definition: TDInstanceDeformVec(vf3; ( global highp 3-component vector of float)
46120:251    Function Parameters: 
46130:251      'vec' ( in highp 3-component vector of float)
46140:252    Sequence
46150:252      Branch: Return with expression
46160:252        Function Call: TDInstanceDeformVec(i1;vf3; ( global highp 3-component vector of float)
46170:252          Function Call: TDInstanceID( ( global highp int)
46180:252          'vec' ( in highp 3-component vector of float)
46190:254  Function Definition: TDInstanceDeformNorm(vf3; ( global highp 3-component vector of float)
46200:254    Function Parameters: 
46210:254      'vec' ( in highp 3-component vector of float)
46220:255    Sequence
46230:255      Branch: Return with expression
46240:255        Function Call: TDInstanceDeformNorm(i1;vf3; ( global highp 3-component vector of float)
46250:255          Function Call: TDInstanceID( ( global highp int)
46260:255          'vec' ( in highp 3-component vector of float)
46270:257  Function Definition: TDInstanceActive( ( global bool)
46280:257    Function Parameters: 
46290:257    Sequence
46300:257      Branch: Return with expression
46310:257        Function Call: TDInstanceActive(i1; ( global bool)
46320:257          Function Call: TDInstanceID( ( global highp int)
46330:258  Function Definition: TDInstanceTranslate( ( global highp 3-component vector of float)
46340:258    Function Parameters: 
46350:258    Sequence
46360:258      Branch: Return with expression
46370:258        Function Call: TDInstanceTranslate(i1; ( global highp 3-component vector of float)
46380:258          Function Call: TDInstanceID( ( global highp int)
46390:259  Function Definition: TDInstanceRotateMat( ( global highp 3X3 matrix of float)
46400:259    Function Parameters: 
46410:259    Sequence
46420:259      Branch: Return with expression
46430:259        Function Call: TDInstanceRotateMat(i1; ( global highp 3X3 matrix of float)
46440:259          Function Call: TDInstanceID( ( global highp int)
46450:260  Function Definition: TDInstanceScale( ( global highp 3-component vector of float)
46460:260    Function Parameters: 
46470:260    Sequence
46480:260      Branch: Return with expression
46490:260        Function Call: TDInstanceScale(i1; ( global highp 3-component vector of float)
46500:260          Function Call: TDInstanceID( ( global highp int)
46510:261  Function Definition: TDInstanceMat( ( global highp 4X4 matrix of float)
46520:261    Function Parameters: 
46530:261    Sequence
46540:261      Branch: Return with expression
46550:261        Function Call: TDInstanceMat(i1; ( global highp 4X4 matrix of float)
46560:261          Function Call: TDInstanceID( ( global highp int)
46570:263  Function Definition: TDInstanceMat3( ( global highp 3X3 matrix of float)
46580:263    Function Parameters: 
46590:263    Sequence
46600:263      Branch: Return with expression
46610:263        Function Call: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
46620:263          Function Call: TDInstanceID( ( global highp int)
46630:265  Function Definition: TDInstanceTexCoord(vf3; ( global highp 3-component vector of float)
46640:265    Function Parameters: 
46650:265      't' ( in highp 3-component vector of float)
46660:266    Sequence
46670:266      Branch: Return with expression
46680:266        Function Call: TDInstanceTexCoord(i1;vf3; ( global highp 3-component vector of float)
46690:266          Function Call: TDInstanceID( ( global highp int)
46700:266          't' ( in highp 3-component vector of float)
46710:268  Function Definition: TDInstanceColor(vf4; ( global highp 4-component vector of float)
46720:268    Function Parameters: 
46730:268      'curColor' ( in highp 4-component vector of float)
46740:269    Sequence
46750:269      Branch: Return with expression
46760:269        Function Call: TDInstanceColor(i1;vf4; ( global highp 4-component vector of float)
46770:269          Function Call: TDInstanceID( ( global highp int)
46780:269          'curColor' ( in highp 4-component vector of float)
46790:271  Function Definition: TDSkinnedDeform(vf4; ( global highp 4-component vector of float)
46800:271    Function Parameters: 
46810:271      'pos' ( in highp 4-component vector of float)
46820:271    Sequence
46830:271      Branch: Return with expression
46840:271        'pos' ( in highp 4-component vector of float)
46850:273  Function Definition: TDSkinnedDeformVec(vf3; ( global highp 3-component vector of float)
46860:273    Function Parameters: 
46870:273      'vec' ( in highp 3-component vector of float)
46880:273    Sequence
46890:273      Branch: Return with expression
46900:273        'vec' ( in highp 3-component vector of float)
46910:275  Function Definition: TDFastDeformTangent(vf3;vf4;vf3; ( global highp 3-component vector of float)
46920:275    Function Parameters: 
46930:275      'oldNorm' ( in highp 3-component vector of float)
46940:275      'oldTangent' ( in highp 4-component vector of float)
46950:275      'deformedNorm' ( in highp 3-component vector of float)
46960:276    Sequence
46970:276      Branch: Return with expression
46980:276        vector swizzle ( temp highp 3-component vector of float)
46990:276          'oldTangent' ( in highp 4-component vector of float)
47000:276          Sequence
47010:276            Constant:
47020:276              0 (const int)
47030:276            Constant:
47040:276              1 (const int)
47050:276            Constant:
47060:276              2 (const int)
47070:277  Function Definition: TDBoneMat(i1; ( global highp 4X4 matrix of float)
47080:277    Function Parameters: 
47090:277      'index' ( in highp int)
47100:278    Sequence
47110:278      Branch: Return with expression
47120:278        Constant:
47130:278          1.000000
47140:278          0.000000
47150:278          0.000000
47160:278          0.000000
47170:278          0.000000
47180:278          1.000000
47190:278          0.000000
47200:278          0.000000
47210:278          0.000000
47220:278          0.000000
47230:278          1.000000
47240:278          0.000000
47250:278          0.000000
47260:278          0.000000
47270:278          0.000000
47280:278          1.000000
47290:280  Function Definition: TDDeform(vf4; ( global highp 4-component vector of float)
47300:280    Function Parameters: 
47310:280      'pos' ( in highp 4-component vector of float)
47320:281    Sequence
47330:281      move second child to first child ( temp highp 4-component vector of float)
47340:281        'pos' ( in highp 4-component vector of float)
47350:281        Function Call: TDSkinnedDeform(vf4; ( global highp 4-component vector of float)
47360:281          'pos' ( in highp 4-component vector of float)
47370:282      move second child to first child ( temp highp 4-component vector of float)
47380:282        'pos' ( in highp 4-component vector of float)
47390:282        Function Call: TDInstanceDeform(vf4; ( global highp 4-component vector of float)
47400:282          'pos' ( in highp 4-component vector of float)
47410:283      Branch: Return with expression
47420:283        'pos' ( in highp 4-component vector of float)
47430:286  Function Definition: TDDeform(i1;vf3; ( global highp 4-component vector of float)
47440:286    Function Parameters: 
47450:286      'instanceID' ( in highp int)
47460:286      'p' ( in highp 3-component vector of float)
47470:287    Sequence
47480:287      Sequence
47490:287        move second child to first child ( temp highp 4-component vector of float)
47500:287          'pos' ( temp highp 4-component vector of float)
47510:287          Construct vec4 ( temp highp 4-component vector of float)
47520:287            'p' ( in highp 3-component vector of float)
47530:287            Constant:
47540:287              1.000000
47550:288      move second child to first child ( temp highp 4-component vector of float)
47560:288        'pos' ( temp highp 4-component vector of float)
47570:288        Function Call: TDSkinnedDeform(vf4; ( global highp 4-component vector of float)
47580:288          'pos' ( temp highp 4-component vector of float)
47590:289      move second child to first child ( temp highp 4-component vector of float)
47600:289        'pos' ( temp highp 4-component vector of float)
47610:289        Function Call: TDInstanceDeform(i1;vf4; ( global highp 4-component vector of float)
47620:289          'instanceID' ( in highp int)
47630:289          'pos' ( temp highp 4-component vector of float)
47640:290      Branch: Return with expression
47650:290        'pos' ( temp highp 4-component vector of float)
47660:293  Function Definition: TDDeform(vf3; ( global highp 4-component vector of float)
47670:293    Function Parameters: 
47680:293      'pos' ( in highp 3-component vector of float)
47690:294    Sequence
47700:294      Branch: Return with expression
47710:294        Function Call: TDDeform(i1;vf3; ( global highp 4-component vector of float)
47720:294          Function Call: TDInstanceID( ( global highp int)
47730:294          'pos' ( in highp 3-component vector of float)
47740:297  Function Definition: TDDeformVec(i1;vf3; ( global highp 3-component vector of float)
47750:297    Function Parameters: 
47760:297      'instanceID' ( in highp int)
47770:297      'vec' ( in highp 3-component vector of float)
47780:298    Sequence
47790:298      move second child to first child ( temp highp 3-component vector of float)
47800:298        'vec' ( in highp 3-component vector of float)
47810:298        Function Call: TDSkinnedDeformVec(vf3; ( global highp 3-component vector of float)
47820:298          'vec' ( in highp 3-component vector of float)
47830:299      move second child to first child ( temp highp 3-component vector of float)
47840:299        'vec' ( in highp 3-component vector of float)
47850:299        Function Call: TDInstanceDeformVec(i1;vf3; ( global highp 3-component vector of float)
47860:299          'instanceID' ( in highp int)
47870:299          'vec' ( in highp 3-component vector of float)
47880:300      Branch: Return with expression
47890:300        'vec' ( in highp 3-component vector of float)
47900:303  Function Definition: TDDeformVec(vf3; ( global highp 3-component vector of float)
47910:303    Function Parameters: 
47920:303      'vec' ( in highp 3-component vector of float)
47930:304    Sequence
47940:304      Branch: Return with expression
47950:304        Function Call: TDDeformVec(i1;vf3; ( global highp 3-component vector of float)
47960:304          Function Call: TDInstanceID( ( global highp int)
47970:304          'vec' ( in highp 3-component vector of float)
47980:307  Function Definition: TDDeformNorm(i1;vf3; ( global highp 3-component vector of float)
47990:307    Function Parameters: 
48000:307      'instanceID' ( in highp int)
48010:307      'vec' ( in highp 3-component vector of float)
48020:308    Sequence
48030:308      move second child to first child ( temp highp 3-component vector of float)
48040:308        'vec' ( in highp 3-component vector of float)
48050:308        Function Call: TDSkinnedDeformVec(vf3; ( global highp 3-component vector of float)
48060:308          'vec' ( in highp 3-component vector of float)
48070:309      move second child to first child ( temp highp 3-component vector of float)
48080:309        'vec' ( in highp 3-component vector of float)
48090:309        Function Call: TDInstanceDeformNorm(i1;vf3; ( global highp 3-component vector of float)
48100:309          'instanceID' ( in highp int)
48110:309          'vec' ( in highp 3-component vector of float)
48120:310      Branch: Return with expression
48130:310        'vec' ( in highp 3-component vector of float)
48140:313  Function Definition: TDDeformNorm(vf3; ( global highp 3-component vector of float)
48150:313    Function Parameters: 
48160:313      'vec' ( in highp 3-component vector of float)
48170:314    Sequence
48180:314      Branch: Return with expression
48190:314        Function Call: TDDeformNorm(i1;vf3; ( global highp 3-component vector of float)
48200:314          Function Call: TDInstanceID( ( global highp int)
48210:314          'vec' ( in highp 3-component vector of float)
48220:317  Function Definition: TDSkinnedDeformNorm(vf3; ( global highp 3-component vector of float)
48230:317    Function Parameters: 
48240:317      'vec' ( in highp 3-component vector of float)
48250:318    Sequence
48260:318      move second child to first child ( temp highp 3-component vector of float)
48270:318        'vec' ( in highp 3-component vector of float)
48280:318        Function Call: TDSkinnedDeformVec(vf3; ( global highp 3-component vector of float)
48290:318          'vec' ( in highp 3-component vector of float)
48300:319      Branch: Return with expression
48310:319        'vec' ( in highp 3-component vector of float)
48320:?   Linker Objects
48330:?     'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal})
48340:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
48350:?     'anon@2' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float nearFar,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor,  global highp int renderTOPCameraIndex} uTDCamInfos})
48360:?     'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform structure{ global highp 4-component vector of float ambientColor,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float viewport,  global highp 4-component vector of float viewportRes,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor} uTDGeneral})
48370:?     'P' (layout( location=0) in highp 3-component vector of float)
48380:?     'N' (layout( location=1) in highp 3-component vector of float)
48390:?     'Cd' (layout( location=2) in highp 4-component vector of float)
48400:?     'uv' (layout( location=3) in 8-element array of highp 3-component vector of float)
48410:?     'oVert' ( out block{ out highp 4-component vector of float color,  out highp 3-component vector of float worldSpacePos,  out highp 3-component vector of float texCoord0,  flat out highp int cameraIndex,  flat out highp int instance})
48420:?     'anon@4' ( out block{ gl_Position 4-component vector of float Position gl_Position,  gl_PointSize float PointSize gl_PointSize,  out 1-element array of float ClipDistance gl_ClipDistance,  out 1-element array of float CullDistance gl_CullDistance})
48430:?     'gl_VertexIndex' ( in int VertexIndex)
48440:?     'gl_InstanceIndex' ( in int InstanceIndex)
48450:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float position,  global highp 3-component vector of float direction,  global highp 3-component vector of float diffuse,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float lightSize,  global highp 4-component vector of float misc,  global highp 4-component vector of float coneLookupScaleBias,  global highp 4-component vector of float attenScaleBiasRoll, layout( column_major std140) global highp 4X4 matrix of float shadowMapMatrix, layout( column_major std140) global highp 4X4 matrix of float shadowMapCamMatrix,  global highp 4-component vector of float shadowMapRes, layout( column_major std140) global highp 4X4 matrix of float projMapMatrix} uTDLights})
48460:?     'anon@2' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 3-component vector of float color, layout( column_major std140) global highp 3X3 matrix of float rotate} uTDEnvLights})
48470:?     'uTDEnvLightBuffers' (layout( column_major std430) restrict readonly buffer 1-element array of block{layout( column_major std430 offset=0) restrict readonly buffer 9-element array of highp 3-component vector of float shCoeffs})
48480:?     'mTD2DImageOutputs' (layout( rgba8) uniform 1-element array of highp image2D)
48490:?     'mTD2DArrayImageOutputs' (layout( rgba8) uniform 1-element array of highp image2DArray)
48500:?     'mTD3DImageOutputs' (layout( rgba8) uniform 1-element array of highp image3D)
48510:?     'mTDCubeImageOutputs' (layout( rgba8) uniform 1-element array of highp imageCube)
48520:?     'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
48530:?     'sTDInstanceTexCoord' (layout( binding=16) uniform highp samplerBuffer)
48540:?     'sTDInstanceColor' (layout( binding=17) uniform highp samplerBuffer)
4855Shader version: 460
4856gl_FragCoord origin is upper left
48570:? Sequence
48580:95  Function Definition: main( ( global void)
48590:95    Function Parameters: 
48600:99    Sequence
48610:99      Function Call: TDCheckDiscard( ( global void)
48620:101      Sequence
48630:101        move second child to first child ( temp highp 4-component vector of float)
48640:101          'outcol' ( temp highp 4-component vector of float)
48650:101          Constant:
48660:101            0.000000
48670:101            0.000000
48680:101            0.000000
48690:101            0.000000
48700:103      Sequence
48710:103        move second child to first child ( temp highp 3-component vector of float)
48720:103          'texCoord0' ( temp highp 3-component vector of float)
48730:103          vector swizzle ( temp highp 3-component vector of float)
48740:103            texCoord0: direct index for structure ( in highp 3-component vector of float)
48750:103              'iVert' ( in block{ in highp 4-component vector of float color,  in highp 3-component vector of float worldSpacePos,  in highp 3-component vector of float texCoord0,  flat in highp int cameraIndex,  flat in highp int instance})
48760:103              Constant:
48770:103                2 (const int)
48780:103            Sequence
48790:103              Constant:
48800:103                0 (const int)
48810:103              Constant:
48820:103                1 (const int)
48830:103              Constant:
48840:103                2 (const int)
48850:104      Sequence
48860:104        move second child to first child ( temp highp float)
48870:104          'actualTexZ' ( temp highp float)
48880:104          mod ( global highp float)
48890:104            Convert int to float ( temp highp float)
48900:104              Convert float to int ( temp highp int)
48910:104                direct index ( temp highp float)
48920:104                  'texCoord0' ( temp highp 3-component vector of float)
48930:104                  Constant:
48940:104                    2 (const int)
48950:104            Constant:
48960:104              2048.000000
48970:105      Sequence
48980:105        move second child to first child ( temp highp float)
48990:105          'instanceLoop' ( temp highp float)
49000:105          Floor ( global highp float)
49010:105            Convert int to float ( temp highp float)
49020:105              divide ( temp highp int)
49030:105                Convert float to int ( temp highp int)
49040:105                  direct index ( temp highp float)
49050:105                    'texCoord0' ( temp highp 3-component vector of float)
49060:105                    Constant:
49070:105                      2 (const int)
49080:105                Constant:
49090:105                  2048 (const int)
49100:106      move second child to first child ( temp highp float)
49110:106        direct index ( temp highp float)
49120:106          'texCoord0' ( temp highp 3-component vector of float)
49130:106          Constant:
49140:106            2 (const int)
49150:106        'actualTexZ' ( temp highp float)
49160:107      Sequence
49170:107        move second child to first child ( temp highp 4-component vector of float)
49180:107          'colorMapColor' ( temp highp 4-component vector of float)
49190:107          texture ( global highp 4-component vector of float)
49200:107            'sColorMap' ( uniform highp sampler2DArray)
49210:107            vector swizzle ( temp highp 3-component vector of float)
49220:107              'texCoord0' ( temp highp 3-component vector of float)
49230:107              Sequence
49240:107                Constant:
49250:107                  0 (const int)
49260:107                Constant:
49270:107                  1 (const int)
49280:107                Constant:
49290:107                  2 (const int)
49300:109      Sequence
49310:109        move second child to first child ( temp highp float)
49320:109          'red' ( temp highp float)
49330:109          indirect index ( temp highp float)
49340:109            'colorMapColor' ( temp highp 4-component vector of float)
49350:109            Convert float to int ( temp highp int)
49360:109              'instanceLoop' ( temp highp float)
49370:110      move second child to first child ( temp highp 4-component vector of float)
49380:110        'colorMapColor' ( temp highp 4-component vector of float)
49390:110        Construct vec4 ( temp highp 4-component vector of float)
49400:110          'red' ( temp highp float)
49410:112      add second child into first child ( temp highp 3-component vector of float)
49420:112        vector swizzle ( temp highp 3-component vector of float)
49430:112          'outcol' ( temp highp 4-component vector of float)
49440:112          Sequence
49450:112            Constant:
49460:112              0 (const int)
49470:112            Constant:
49480:112              1 (const int)
49490:112            Constant:
49500:112              2 (const int)
49510:112        component-wise multiply ( temp highp 3-component vector of float)
49520:112          uConstant: direct index for structure ( uniform highp 3-component vector of float)
49530:112            'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
49540:112            Constant:
49550:112              3 (const uint)
49560:112          vector swizzle ( temp highp 3-component vector of float)
49570:112            color: direct index for structure ( in highp 4-component vector of float)
49580:112              'iVert' ( in block{ in highp 4-component vector of float color,  in highp 3-component vector of float worldSpacePos,  in highp 3-component vector of float texCoord0,  flat in highp int cameraIndex,  flat in highp int instance})
49590:112              Constant:
49600:112                0 (const int)
49610:112            Sequence
49620:112              Constant:
49630:112                0 (const int)
49640:112              Constant:
49650:112                1 (const int)
49660:112              Constant:
49670:112                2 (const int)
49680:114      multiply second child into first child ( temp highp 4-component vector of float)
49690:114        'outcol' ( temp highp 4-component vector of float)
49700:114        'colorMapColor' ( temp highp 4-component vector of float)
49710:117      Sequence
49720:117        move second child to first child ( temp highp float)
49730:117          'alpha' ( temp highp float)
49740:117          component-wise multiply ( temp highp float)
49750:117            direct index ( temp highp float)
49760:117              color: direct index for structure ( in highp 4-component vector of float)
49770:117                'iVert' ( in block{ in highp 4-component vector of float color,  in highp 3-component vector of float worldSpacePos,  in highp 3-component vector of float texCoord0,  flat in highp int cameraIndex,  flat in highp int instance})
49780:117                Constant:
49790:117                  0 (const int)
49800:117              Constant:
49810:117                3 (const int)
49820:117            direct index ( temp highp float)
49830:117              'colorMapColor' ( temp highp 4-component vector of float)
49840:117              Constant:
49850:117                3 (const int)
49860:120      move second child to first child ( temp highp 4-component vector of float)
49870:120        'outcol' ( temp highp 4-component vector of float)
49880:120        Function Call: TDDither(vf4; ( global highp 4-component vector of float)
49890:120          'outcol' ( temp highp 4-component vector of float)
49900:122      vector scale second child into first child ( temp highp 3-component vector of float)
49910:122        vector swizzle ( temp highp 3-component vector of float)
49920:122          'outcol' ( temp highp 4-component vector of float)
49930:122          Sequence
49940:122            Constant:
49950:122              0 (const int)
49960:122            Constant:
49970:122              1 (const int)
49980:122            Constant:
49990:122              2 (const int)
50000:122        'alpha' ( temp highp float)
50010:126      Function Call: TDAlphaTest(f1; ( global void)
50020:126        'alpha' ( temp highp float)
50030:128      move second child to first child ( temp highp float)
50040:128        direct index ( temp highp float)
50050:128          'outcol' ( temp highp 4-component vector of float)
50060:128          Constant:
50070:128            3 (const int)
50080:128        'alpha' ( temp highp float)
50090:129      move second child to first child ( temp highp 4-component vector of float)
50100:129        direct index (layout( location=0) temp highp 4-component vector of float)
50110:129          'oFragColor' (layout( location=0) out 1-element array of highp 4-component vector of float)
50120:129          Constant:
50130:129            0 (const int)
50140:129        Function Call: TDOutputSwizzle(vf4; ( global highp 4-component vector of float)
50150:129          'outcol' ( temp highp 4-component vector of float)
50160:135      Sequence
50170:135        Sequence
50180:135          move second child to first child ( temp highp int)
50190:135            'i' ( temp highp int)
50200:135            Constant:
50210:135              1 (const int)
50220:135        Loop with condition tested first
50230:135          Loop Condition
50240:135          Compare Less Than ( temp bool)
50250:135            'i' ( temp highp int)
50260:135            Constant:
50270:135              1 (const int)
50280:135          Loop Body
50290:137          Sequence
50300:137            move second child to first child ( temp highp 4-component vector of float)
50310:137              indirect index (layout( location=0) temp highp 4-component vector of float)
50320:137                'oFragColor' (layout( location=0) out 1-element array of highp 4-component vector of float)
50330:137                'i' ( temp highp int)
50340:137              Constant:
50350:137                0.000000
50360:137                0.000000
50370:137                0.000000
50380:137                0.000000
50390:135          Loop Terminal Expression
50400:135          Post-Increment ( temp highp int)
50410:135            'i' ( temp highp int)
50420:116  Function Definition: TDColor(vf4; ( global highp 4-component vector of float)
50430:116    Function Parameters: 
50440:116      'color' ( in highp 4-component vector of float)
50450:116    Sequence
50460:116      Branch: Return with expression
50470:116        'color' ( in highp 4-component vector of float)
50480:117  Function Definition: TDCheckOrderIndTrans( ( global void)
50490:117    Function Parameters: 
50500:119  Function Definition: TDCheckDiscard( ( global void)
50510:119    Function Parameters: 
50520:120    Sequence
50530:120      Function Call: TDCheckOrderIndTrans( ( global void)
50540:122  Function Definition: TDDither(vf4; ( global highp 4-component vector of float)
50550:122    Function Parameters: 
50560:122      'color' ( in highp 4-component vector of float)
50570:124    Sequence
50580:124      Sequence
50590:124        move second child to first child ( temp highp float)
50600:124          'd' ( temp highp float)
50610:125          direct index ( temp highp float)
50620:125            texture ( global highp 4-component vector of float)
50630:124              'sTDNoiseMap' ( uniform highp sampler2D)
50640:125              divide ( temp highp 2-component vector of float)
50650:125                vector swizzle ( temp highp 2-component vector of float)
50660:125                  'gl_FragCoord' ( gl_FragCoord highp 4-component vector of float FragCoord)
50670:125                  Sequence
50680:125                    Constant:
50690:125                      0 (const int)
50700:125                    Constant:
50710:125                      1 (const int)
50720:125                Constant:
50730:125                  256.000000
50740:125            Constant:
50750:125              0 (const int)
50760:126      subtract second child into first child ( temp highp float)
50770:126        'd' ( temp highp float)
50780:126        Constant:
50790:126          0.500000
50800:127      divide second child into first child ( temp highp float)
50810:127        'd' ( temp highp float)
50820:127        Constant:
50830:127          256.000000
50840:128      Branch: Return with expression
50850:128        Construct vec4 ( temp highp 4-component vector of float)
50860:128          add ( temp highp 3-component vector of float)
50870:128            vector swizzle ( temp highp 3-component vector of float)
50880:128              'color' ( in highp 4-component vector of float)
50890:128              Sequence
50900:128                Constant:
50910:128                  0 (const int)
50920:128                Constant:
50930:128                  1 (const int)
50940:128                Constant:
50950:128                  2 (const int)
50960:128            'd' ( temp highp float)
50970:128          direct index ( temp highp float)
50980:128            'color' ( in highp 4-component vector of float)
50990:128            Constant:
51000:128              3 (const int)
51010:130  Function Definition: TDFrontFacing(vf3;vf3; ( global bool)
51020:130    Function Parameters: 
51030:130      'pos' ( in highp 3-component vector of float)
51040:130      'normal' ( in highp 3-component vector of float)
51050:132    Sequence
51060:132      Branch: Return with expression
51070:132        'gl_FrontFacing' ( gl_FrontFacing bool Face)
51080:134  Function Definition: TDAttenuateLight(i1;f1; ( global highp float)
51090:134    Function Parameters: 
51100:134      'index' ( in highp int)
51110:134      'lightDist' ( in highp float)
51120:136    Sequence
51130:136      Branch: Return with expression
51140:136        Constant:
51150:136          1.000000
51160:138  Function Definition: TDAlphaTest(f1; ( global void)
51170:138    Function Parameters: 
51180:138      'alpha' ( in highp float)
51190:140  Function Definition: TDHardShadow(i1;vf3; ( global highp float)
51200:140    Function Parameters: 
51210:140      'lightIndex' ( in highp int)
51220:140      'worldSpacePos' ( in highp 3-component vector of float)
51230:141    Sequence
51240:141      Branch: Return with expression
51250:141        Constant:
51260:141          0.000000
51270:142  Function Definition: TDSoftShadow(i1;vf3;i1;i1; ( global highp float)
51280:142    Function Parameters: 
51290:142      'lightIndex' ( in highp int)
51300:142      'worldSpacePos' ( in highp 3-component vector of float)
51310:142      'samples' ( in highp int)
51320:142      'steps' ( in highp int)
51330:143    Sequence
51340:143      Branch: Return with expression
51350:143        Constant:
51360:143          0.000000
51370:144  Function Definition: TDSoftShadow(i1;vf3; ( global highp float)
51380:144    Function Parameters: 
51390:144      'lightIndex' ( in highp int)
51400:144      'worldSpacePos' ( in highp 3-component vector of float)
51410:145    Sequence
51420:145      Branch: Return with expression
51430:145        Constant:
51440:145          0.000000
51450:146  Function Definition: TDShadow(i1;vf3; ( global highp float)
51460:146    Function Parameters: 
51470:146      'lightIndex' ( in highp int)
51480:146      'worldSpacePos' ( in highp 3-component vector of float)
51490:147    Sequence
51500:147      Branch: Return with expression
51510:147        Constant:
51520:147          0.000000
51530:152  Function Definition: iTDRadicalInverse_VdC(u1; ( global highp float)
51540:152    Function Parameters: 
51550:152      'bits' ( in highp uint)
51560:154    Sequence
51570:154      move second child to first child ( temp highp uint)
51580:154        'bits' ( in highp uint)
51590:154        inclusive-or ( temp highp uint)
51600:154          left-shift ( temp highp uint)
51610:154            'bits' ( in highp uint)
51620:154            Constant:
51630:154              16 (const uint)
51640:154          right-shift ( temp highp uint)
51650:154            'bits' ( in highp uint)
51660:154            Constant:
51670:154              16 (const uint)
51680:155      move second child to first child ( temp highp uint)
51690:155        'bits' ( in highp uint)
51700:155        inclusive-or ( temp highp uint)
51710:155          left-shift ( temp highp uint)
51720:155            bitwise and ( temp highp uint)
51730:155              'bits' ( in highp uint)
51740:155              Constant:
51750:155                1431655765 (const uint)
51760:155            Constant:
51770:155              1 (const uint)
51780:155          right-shift ( temp highp uint)
51790:155            bitwise and ( temp highp uint)
51800:155              'bits' ( in highp uint)
51810:155              Constant:
51820:155                2863311530 (const uint)
51830:155            Constant:
51840:155              1 (const uint)
51850:156      move second child to first child ( temp highp uint)
51860:156        'bits' ( in highp uint)
51870:156        inclusive-or ( temp highp uint)
51880:156          left-shift ( temp highp uint)
51890:156            bitwise and ( temp highp uint)
51900:156              'bits' ( in highp uint)
51910:156              Constant:
51920:156                858993459 (const uint)
51930:156            Constant:
51940:156              2 (const uint)
51950:156          right-shift ( temp highp uint)
51960:156            bitwise and ( temp highp uint)
51970:156              'bits' ( in highp uint)
51980:156              Constant:
51990:156                3435973836 (const uint)
52000:156            Constant:
52010:156              2 (const uint)
52020:157      move second child to first child ( temp highp uint)
52030:157        'bits' ( in highp uint)
52040:157        inclusive-or ( temp highp uint)
52050:157          left-shift ( temp highp uint)
52060:157            bitwise and ( temp highp uint)
52070:157              'bits' ( in highp uint)
52080:157              Constant:
52090:157                252645135 (const uint)
52100:157            Constant:
52110:157              4 (const uint)
52120:157          right-shift ( temp highp uint)
52130:157            bitwise and ( temp highp uint)
52140:157              'bits' ( in highp uint)
52150:157              Constant:
52160:157                4042322160 (const uint)
52170:157            Constant:
52180:157              4 (const uint)
52190:158      move second child to first child ( temp highp uint)
52200:158        'bits' ( in highp uint)
52210:158        inclusive-or ( temp highp uint)
52220:158          left-shift ( temp highp uint)
52230:158            bitwise and ( temp highp uint)
52240:158              'bits' ( in highp uint)
52250:158              Constant:
52260:158                16711935 (const uint)
52270:158            Constant:
52280:158              8 (const uint)
52290:158          right-shift ( temp highp uint)
52300:158            bitwise and ( temp highp uint)
52310:158              'bits' ( in highp uint)
52320:158              Constant:
52330:158                4278255360 (const uint)
52340:158            Constant:
52350:158              8 (const uint)
52360:159      Branch: Return with expression
52370:159        component-wise multiply ( temp highp float)
52380:159          Convert uint to float ( temp highp float)
52390:159            'bits' ( in highp uint)
52400:159          Constant:
52410:159            2.3283064365387e-10
52420:161  Function Definition: iTDHammersley(u1;u1; ( global highp 2-component vector of float)
52430:161    Function Parameters: 
52440:161      'i' ( in highp uint)
52450:161      'N' ( in highp uint)
52460:163    Sequence
52470:163      Branch: Return with expression
52480:163        Construct vec2 ( temp highp 2-component vector of float)
52490:163          divide ( temp highp float)
52500:163            Convert uint to float ( temp highp float)
52510:163              'i' ( in highp uint)
52520:163            Convert uint to float ( temp highp float)
52530:163              'N' ( in highp uint)
52540:163          Function Call: iTDRadicalInverse_VdC(u1; ( global highp float)
52550:163            'i' ( in highp uint)
52560:165  Function Definition: iTDImportanceSampleGGX(vf2;f1;vf3; ( global highp 3-component vector of float)
52570:165    Function Parameters: 
52580:165      'Xi' ( in highp 2-component vector of float)
52590:165      'roughness2' ( in highp float)
52600:165      'N' ( in highp 3-component vector of float)
52610:167    Sequence
52620:167      Sequence
52630:167        move second child to first child ( temp highp float)
52640:167          'a' ( temp highp float)
52650:167          'roughness2' ( in highp float)
52660:168      Sequence
52670:168        move second child to first child ( temp highp float)
52680:168          'phi' ( temp highp float)
52690:168          component-wise multiply ( temp highp float)
52700:168            Constant:
52710:168              6.283185
52720:168            direct index ( temp highp float)
52730:168              'Xi' ( in highp 2-component vector of float)
52740:168              Constant:
52750:168                0 (const int)
52760:169      Sequence
52770:169        move second child to first child ( temp highp float)
52780:169          'cosTheta' ( temp highp float)
52790:169          sqrt ( global highp float)
52800:169            divide ( temp highp float)
52810:169              subtract ( temp highp float)
52820:169                Constant:
52830:169                  1.000000
52840:169                direct index ( temp highp float)
52850:169                  'Xi' ( in highp 2-component vector of float)
52860:169                  Constant:
52870:169                    1 (const int)
52880:169              add ( temp highp float)
52890:169                Constant:
52900:169                  1.000000
52910:169                component-wise multiply ( temp highp float)
52920:169                  subtract ( temp highp float)
52930:169                    component-wise multiply ( temp highp float)
52940:169                      'a' ( temp highp float)
52950:169                      'a' ( temp highp float)
52960:169                    Constant:
52970:169                      1.000000
52980:169                  direct index ( temp highp float)
52990:169                    'Xi' ( in highp 2-component vector of float)
53000:169                    Constant:
53010:169                      1 (const int)
53020:170      Sequence
53030:170        move second child to first child ( temp highp float)
53040:170          'sinTheta' ( temp highp float)
53050:170          sqrt ( global highp float)
53060:170            subtract ( temp highp float)
53070:170              Constant:
53080:170                1.000000
53090:170              component-wise multiply ( temp highp float)
53100:170                'cosTheta' ( temp highp float)
53110:170                'cosTheta' ( temp highp float)
53120:173      move second child to first child ( temp highp float)
53130:173        direct index ( temp highp float)
53140:173          'H' ( temp highp 3-component vector of float)
53150:173          Constant:
53160:173            0 (const int)
53170:173        component-wise multiply ( temp highp float)
53180:173          'sinTheta' ( temp highp float)
53190:173          cosine ( global highp float)
53200:173            'phi' ( temp highp float)
53210:174      move second child to first child ( temp highp float)
53220:174        direct index ( temp highp float)
53230:174          'H' ( temp highp 3-component vector of float)
53240:174          Constant:
53250:174            1 (const int)
53260:174        component-wise multiply ( temp highp float)
53270:174          'sinTheta' ( temp highp float)
53280:174          sine ( global highp float)
53290:174            'phi' ( temp highp float)
53300:175      move second child to first child ( temp highp float)
53310:175        direct index ( temp highp float)
53320:175          'H' ( temp highp 3-component vector of float)
53330:175          Constant:
53340:175            2 (const int)
53350:175        'cosTheta' ( temp highp float)
53360:177      Sequence
53370:177        move second child to first child ( temp highp 3-component vector of float)
53380:177          'upVector' ( temp highp 3-component vector of float)
53390:177          Test condition and select ( temp highp 3-component vector of float)
53400:177            Condition
53410:177            Compare Less Than ( temp bool)
53420:177              Absolute value ( global highp float)
53430:177                direct index ( temp highp float)
53440:177                  'N' ( in highp 3-component vector of float)
53450:177                  Constant:
53460:177                    2 (const int)
53470:177              Constant:
53480:177                0.999000
53490:177            true case
53500:177            Constant:
53510:177              0.000000
53520:177              0.000000
53530:177              1.000000
53540:177            false case
53550:177            Constant:
53560:177              1.000000
53570:177              0.000000
53580:177              0.000000
53590:178      Sequence
53600:178        move second child to first child ( temp highp 3-component vector of float)
53610:178          'tangentX' ( temp highp 3-component vector of float)
53620:178          normalize ( global highp 3-component vector of float)
53630:178            cross-product ( global highp 3-component vector of float)
53640:178              'upVector' ( temp highp 3-component vector of float)
53650:178              'N' ( in highp 3-component vector of float)
53660:179      Sequence
53670:179        move second child to first child ( temp highp 3-component vector of float)
53680:179          'tangentY' ( temp highp 3-component vector of float)
53690:179          cross-product ( global highp 3-component vector of float)
53700:179            'N' ( in highp 3-component vector of float)
53710:179            'tangentX' ( temp highp 3-component vector of float)
53720:182      Sequence
53730:182        move second child to first child ( temp highp 3-component vector of float)
53740:182          'worldResult' ( temp highp 3-component vector of float)
53750:182          add ( temp highp 3-component vector of float)
53760:182            add ( temp highp 3-component vector of float)
53770:182              vector-scale ( temp highp 3-component vector of float)
53780:182                'tangentX' ( temp highp 3-component vector of float)
53790:182                direct index ( temp highp float)
53800:182                  'H' ( temp highp 3-component vector of float)
53810:182                  Constant:
53820:182                    0 (const int)
53830:182              vector-scale ( temp highp 3-component vector of float)
53840:182                'tangentY' ( temp highp 3-component vector of float)
53850:182                direct index ( temp highp float)
53860:182                  'H' ( temp highp 3-component vector of float)
53870:182                  Constant:
53880:182                    1 (const int)
53890:182            vector-scale ( temp highp 3-component vector of float)
53900:182              'N' ( in highp 3-component vector of float)
53910:182              direct index ( temp highp float)
53920:182                'H' ( temp highp 3-component vector of float)
53930:182                Constant:
53940:182                  2 (const int)
53950:183      Branch: Return with expression
53960:183        'worldResult' ( temp highp 3-component vector of float)
53970:185  Function Definition: iTDDistributionGGX(vf3;vf3;f1; ( global highp float)
53980:185    Function Parameters: 
53990:185      'normal' ( in highp 3-component vector of float)
54000:185      'half_vector' ( in highp 3-component vector of float)
54010:185      'roughness2' ( in highp float)
54020:?     Sequence
54030:189      Sequence
54040:189        move second child to first child ( temp highp float)
54050:189          'NdotH' ( temp highp float)
54060:189          clamp ( global highp float)
54070:189            dot-product ( global highp float)
54080:189              'normal' ( in highp 3-component vector of float)
54090:189              'half_vector' ( in highp 3-component vector of float)
54100:189            Constant:
54110:189              1.0000000000000e-06
54120:189            Constant:
54130:189              1.000000
54140:191      Sequence
54150:191        move second child to first child ( temp highp float)
54160:191          'alpha2' ( temp highp float)
54170:191          component-wise multiply ( temp highp float)
54180:191            'roughness2' ( in highp float)
54190:191            'roughness2' ( in highp float)
54200:193      Sequence
54210:193        move second child to first child ( temp highp float)
54220:193          'denom' ( temp highp float)
54230:193          add ( temp highp float)
54240:193            component-wise multiply ( temp highp float)
54250:193              component-wise multiply ( temp highp float)
54260:193                'NdotH' ( temp highp float)
54270:193                'NdotH' ( temp highp float)
54280:193              subtract ( temp highp float)
54290:193                'alpha2' ( temp highp float)
54300:193                Constant:
54310:193                  1.000000
54320:193            Constant:
54330:193              1.000000
54340:194      move second child to first child ( temp highp float)
54350:194        'denom' ( temp highp float)
54360:194        max ( global highp float)
54370:194          Constant:
54380:194            1.0000000000000e-08
54390:194          'denom' ( temp highp float)
54400:195      Branch: Return with expression
54410:195        divide ( temp highp float)
54420:195          'alpha2' ( temp highp float)
54430:195          component-wise multiply ( temp highp float)
54440:195            component-wise multiply ( temp highp float)
54450:195              Constant:
54460:195                3.141593
54470:195              'denom' ( temp highp float)
54480:195            'denom' ( temp highp float)
54490:197  Function Definition: iTDCalcF(vf3;f1; ( global highp 3-component vector of float)
54500:197    Function Parameters: 
54510:197      'F0' ( in highp 3-component vector of float)
54520:197      'VdotH' ( in highp float)
54530:198    Sequence
54540:198      Branch: Return with expression
54550:198        add ( temp highp 3-component vector of float)
54560:198          'F0' ( in highp 3-component vector of float)
54570:198          vector-scale ( temp highp 3-component vector of float)
54580:198            subtract ( temp highp 3-component vector of float)
54590:198              Constant:
54600:198                1.000000
54610:198                1.000000
54620:198                1.000000
54630:198              'F0' ( in highp 3-component vector of float)
54640:198            pow ( global highp float)
54650:198              Constant:
54660:198                2.000000
54670:198              component-wise multiply ( temp highp float)
54680:198                subtract ( temp highp float)
54690:198                  component-wise multiply ( temp highp float)
54700:198                    Constant:
54710:198                      -5.554730
54720:198                    'VdotH' ( in highp float)
54730:198                  Constant:
54740:198                    6.983160
54750:198                'VdotH' ( in highp float)
54760:201  Function Definition: iTDCalcG(f1;f1;f1; ( global highp float)
54770:201    Function Parameters: 
54780:201      'NdotL' ( in highp float)
54790:201      'NdotV' ( in highp float)
54800:201      'k' ( in highp float)
54810:202    Sequence
54820:202      Sequence
54830:202        move second child to first child ( temp highp float)
54840:202          'Gl' ( temp highp float)
54850:202          divide ( temp highp float)
54860:202            Constant:
54870:202              1.000000
54880:202            add ( temp highp float)
54890:202              component-wise multiply ( temp highp float)
54900:202                'NdotL' ( in highp float)
54910:202                subtract ( temp highp float)
54920:202                  Constant:
54930:202                    1.000000
54940:202                  'k' ( in highp float)
54950:202              'k' ( in highp float)
54960:203      Sequence
54970:203        move second child to first child ( temp highp float)
54980:203          'Gv' ( temp highp float)
54990:203          divide ( temp highp float)
55000:203            Constant:
55010:203              1.000000
55020:203            add ( temp highp float)
55030:203              component-wise multiply ( temp highp float)
55040:203                'NdotV' ( in highp float)
55050:203                subtract ( temp highp float)
55060:203                  Constant:
55070:203                    1.000000
55080:203                  'k' ( in highp float)
55090:203              'k' ( in highp float)
55100:204      Branch: Return with expression
55110:204        component-wise multiply ( temp highp float)
55120:204          'Gl' ( temp highp float)
55130:204          'Gv' ( temp highp float)
55140:207  Function Definition: TDLightingPBR(i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
55150:207    Function Parameters: 
55160:207      'index' ( in highp int)
55170:207      'diffuseColor' ( in highp 3-component vector of float)
55180:207      'specularColor' ( in highp 3-component vector of float)
55190:207      'worldSpacePos' ( in highp 3-component vector of float)
55200:207      'normal' ( in highp 3-component vector of float)
55210:207      'shadowStrength' ( in highp float)
55220:207      'shadowColor' ( in highp 3-component vector of float)
55230:207      'camVector' ( in highp 3-component vector of float)
55240:207      'roughness' ( in highp float)
55250:?     Sequence
55260:210      Branch: Return with expression
55270:210        'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
55280:213  Function Definition: TDLightingPBR(vf3;vf3;f1;i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1; ( global void)
55290:213    Function Parameters: 
55300:213      'diffuseContrib' ( inout highp 3-component vector of float)
55310:213      'specularContrib' ( inout highp 3-component vector of float)
55320:213      'shadowStrengthOut' ( inout highp float)
55330:213      'index' ( in highp int)
55340:213      'diffuseColor' ( in highp 3-component vector of float)
55350:213      'specularColor' ( in highp 3-component vector of float)
55360:213      'worldSpacePos' ( in highp 3-component vector of float)
55370:213      'normal' ( in highp 3-component vector of float)
55380:213      'shadowStrength' ( in highp float)
55390:213      'shadowColor' ( in highp 3-component vector of float)
55400:213      'camVector' ( in highp 3-component vector of float)
55410:213      'roughness' ( in highp float)
55420:215    Sequence
55430:215      Sequence
55440:215        move second child to first child ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
55450:215          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
55460:215          Function Call: TDLightingPBR(i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
55470:215            'index' ( in highp int)
55480:215            'diffuseColor' ( in highp 3-component vector of float)
55490:215            'specularColor' ( in highp 3-component vector of float)
55500:215            'worldSpacePos' ( in highp 3-component vector of float)
55510:215            'normal' ( in highp 3-component vector of float)
55520:215            'shadowStrength' ( in highp float)
55530:215            'shadowColor' ( in highp 3-component vector of float)
55540:215            'camVector' ( in highp 3-component vector of float)
55550:215            'roughness' ( in highp float)
55560:215      move second child to first child ( temp highp 3-component vector of float)
55570:215        'diffuseContrib' ( inout highp 3-component vector of float)
55580:215        diffuse: direct index for structure ( global highp 3-component vector of float)
55590:215          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
55600:215          Constant:
55610:215            0 (const int)
55620:216      move second child to first child ( temp highp 3-component vector of float)
55630:216        'specularContrib' ( inout highp 3-component vector of float)
55640:216        specular: direct index for structure ( global highp 3-component vector of float)
55650:216          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
55660:216          Constant:
55670:216            1 (const int)
55680:217      move second child to first child ( temp highp float)
55690:217        'shadowStrengthOut' ( inout highp float)
55700:217        shadowStrength: direct index for structure ( global highp float)
55710:217          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
55720:217          Constant:
55730:217            2 (const int)
55740:220  Function Definition: TDLightingPBR(vf3;vf3;i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1; ( global void)
55750:220    Function Parameters: 
55760:220      'diffuseContrib' ( inout highp 3-component vector of float)
55770:220      'specularContrib' ( inout highp 3-component vector of float)
55780:220      'index' ( in highp int)
55790:220      'diffuseColor' ( in highp 3-component vector of float)
55800:220      'specularColor' ( in highp 3-component vector of float)
55810:220      'worldSpacePos' ( in highp 3-component vector of float)
55820:220      'normal' ( in highp 3-component vector of float)
55830:220      'shadowStrength' ( in highp float)
55840:220      'shadowColor' ( in highp 3-component vector of float)
55850:220      'camVector' ( in highp 3-component vector of float)
55860:220      'roughness' ( in highp float)
55870:222    Sequence
55880:222      Sequence
55890:222        move second child to first child ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
55900:222          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
55910:222          Function Call: TDLightingPBR(i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
55920:222            'index' ( in highp int)
55930:222            'diffuseColor' ( in highp 3-component vector of float)
55940:222            'specularColor' ( in highp 3-component vector of float)
55950:222            'worldSpacePos' ( in highp 3-component vector of float)
55960:222            'normal' ( in highp 3-component vector of float)
55970:222            'shadowStrength' ( in highp float)
55980:222            'shadowColor' ( in highp 3-component vector of float)
55990:222            'camVector' ( in highp 3-component vector of float)
56000:222            'roughness' ( in highp float)
56010:222      move second child to first child ( temp highp 3-component vector of float)
56020:222        'diffuseContrib' ( inout highp 3-component vector of float)
56030:222        diffuse: direct index for structure ( global highp 3-component vector of float)
56040:222          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
56050:222          Constant:
56060:222            0 (const int)
56070:223      move second child to first child ( temp highp 3-component vector of float)
56080:223        'specularContrib' ( inout highp 3-component vector of float)
56090:223        specular: direct index for structure ( global highp 3-component vector of float)
56100:223          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
56110:223          Constant:
56120:223            1 (const int)
56130:226  Function Definition: TDEnvLightingPBR(i1;vf3;vf3;vf3;vf3;f1;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
56140:226    Function Parameters: 
56150:226      'index' ( in highp int)
56160:226      'diffuseColor' ( in highp 3-component vector of float)
56170:226      'specularColor' ( in highp 3-component vector of float)
56180:226      'normal' ( in highp 3-component vector of float)
56190:226      'camVector' ( in highp 3-component vector of float)
56200:226      'roughness' ( in highp float)
56210:226      'ambientOcclusion' ( in highp float)
56220:?     Sequence
56230:229      Branch: Return with expression
56240:229        'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
56250:232  Function Definition: TDEnvLightingPBR(vf3;vf3;i1;vf3;vf3;vf3;vf3;f1;f1; ( global void)
56260:232    Function Parameters: 
56270:232      'diffuseContrib' ( inout highp 3-component vector of float)
56280:232      'specularContrib' ( inout highp 3-component vector of float)
56290:232      'index' ( in highp int)
56300:232      'diffuseColor' ( in highp 3-component vector of float)
56310:232      'specularColor' ( in highp 3-component vector of float)
56320:232      'normal' ( in highp 3-component vector of float)
56330:232      'camVector' ( in highp 3-component vector of float)
56340:232      'roughness' ( in highp float)
56350:232      'ambientOcclusion' ( in highp float)
56360:234    Sequence
56370:234      Sequence
56380:234        move second child to first child ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
56390:234          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
56400:234          Function Call: TDEnvLightingPBR(i1;vf3;vf3;vf3;vf3;f1;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
56410:234            'index' ( in highp int)
56420:234            'diffuseColor' ( in highp 3-component vector of float)
56430:234            'specularColor' ( in highp 3-component vector of float)
56440:234            'normal' ( in highp 3-component vector of float)
56450:234            'camVector' ( in highp 3-component vector of float)
56460:234            'roughness' ( in highp float)
56470:234            'ambientOcclusion' ( in highp float)
56480:235      move second child to first child ( temp highp 3-component vector of float)
56490:235        'diffuseContrib' ( inout highp 3-component vector of float)
56500:235        diffuse: direct index for structure ( global highp 3-component vector of float)
56510:235          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
56520:235          Constant:
56530:235            0 (const int)
56540:236      move second child to first child ( temp highp 3-component vector of float)
56550:236        'specularContrib' ( inout highp 3-component vector of float)
56560:236        specular: direct index for structure ( global highp 3-component vector of float)
56570:236          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp float shadowStrength})
56580:236          Constant:
56590:236            1 (const int)
56600:239  Function Definition: TDLighting(i1;vf3;vf3;f1;vf3;vf3;f1;f1; ( global structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
56610:239    Function Parameters: 
56620:239      'index' ( in highp int)
56630:239      'worldSpacePos' ( in highp 3-component vector of float)
56640:239      'normal' ( in highp 3-component vector of float)
56650:239      'shadowStrength' ( in highp float)
56660:239      'shadowColor' ( in highp 3-component vector of float)
56670:239      'camVector' ( in highp 3-component vector of float)
56680:239      'shininess' ( in highp float)
56690:239      'shininess2' ( in highp float)
56700:?     Sequence
56710:242      switch
56720:242      condition
56730:242        'index' ( in highp int)
56740:242      body
56750:242        Sequence
56760:244          default: 
56770:?           Sequence
56780:245            move second child to first child ( temp highp 3-component vector of float)
56790:245              diffuse: direct index for structure ( global highp 3-component vector of float)
56800:245                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
56810:245                Constant:
56820:245                  0 (const int)
56830:245              Constant:
56840:245                0.000000
56850:245                0.000000
56860:245                0.000000
56870:246            move second child to first child ( temp highp 3-component vector of float)
56880:246              specular: direct index for structure ( global highp 3-component vector of float)
56890:246                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
56900:246                Constant:
56910:246                  1 (const int)
56920:246              Constant:
56930:246                0.000000
56940:246                0.000000
56950:246                0.000000
56960:247            move second child to first child ( temp highp 3-component vector of float)
56970:247              specular2: direct index for structure ( global highp 3-component vector of float)
56980:247                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
56990:247                Constant:
57000:247                  2 (const int)
57010:247              Constant:
57020:247                0.000000
57030:247                0.000000
57040:247                0.000000
57050:248            move second child to first child ( temp highp float)
57060:248              shadowStrength: direct index for structure ( global highp float)
57070:248                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
57080:248                Constant:
57090:248                  3 (const int)
57100:248              Constant:
57110:248                0.000000
57120:249            Branch: Break
57130:251      Branch: Return with expression
57140:251        'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
57150:254  Function Definition: TDLighting(vf3;vf3;vf3;f1;i1;vf3;vf3;f1;vf3;vf3;f1;f1; ( global void)
57160:254    Function Parameters: 
57170:254      'diffuseContrib' ( inout highp 3-component vector of float)
57180:254      'specularContrib' ( inout highp 3-component vector of float)
57190:254      'specularContrib2' ( inout highp 3-component vector of float)
57200:254      'shadowStrengthOut' ( inout highp float)
57210:254      'index' ( in highp int)
57220:254      'worldSpacePos' ( in highp 3-component vector of float)
57230:254      'normal' ( in highp 3-component vector of float)
57240:254      'shadowStrength' ( in highp float)
57250:254      'shadowColor' ( in highp 3-component vector of float)
57260:254      'camVector' ( in highp 3-component vector of float)
57270:254      'shininess' ( in highp float)
57280:254      'shininess2' ( in highp float)
57290:?     Sequence
57300:257      switch
57310:257      condition
57320:257        'index' ( in highp int)
57330:257      body
57340:257        Sequence
57350:259          default: 
57360:?           Sequence
57370:260            move second child to first child ( temp highp 3-component vector of float)
57380:260              diffuse: direct index for structure ( global highp 3-component vector of float)
57390:260                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
57400:260                Constant:
57410:260                  0 (const int)
57420:260              Constant:
57430:260                0.000000
57440:260                0.000000
57450:260                0.000000
57460:261            move second child to first child ( temp highp 3-component vector of float)
57470:261              specular: direct index for structure ( global highp 3-component vector of float)
57480:261                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
57490:261                Constant:
57500:261                  1 (const int)
57510:261              Constant:
57520:261                0.000000
57530:261                0.000000
57540:261                0.000000
57550:262            move second child to first child ( temp highp 3-component vector of float)
57560:262              specular2: direct index for structure ( global highp 3-component vector of float)
57570:262                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
57580:262                Constant:
57590:262                  2 (const int)
57600:262              Constant:
57610:262                0.000000
57620:262                0.000000
57630:262                0.000000
57640:263            move second child to first child ( temp highp float)
57650:263              shadowStrength: direct index for structure ( global highp float)
57660:263                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
57670:263                Constant:
57680:263                  3 (const int)
57690:263              Constant:
57700:263                0.000000
57710:264            Branch: Break
57720:266      move second child to first child ( temp highp 3-component vector of float)
57730:266        'diffuseContrib' ( inout highp 3-component vector of float)
57740:266        diffuse: direct index for structure ( global highp 3-component vector of float)
57750:266          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
57760:266          Constant:
57770:266            0 (const int)
57780:267      move second child to first child ( temp highp 3-component vector of float)
57790:267        'specularContrib' ( inout highp 3-component vector of float)
57800:267        specular: direct index for structure ( global highp 3-component vector of float)
57810:267          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
57820:267          Constant:
57830:267            1 (const int)
57840:268      move second child to first child ( temp highp 3-component vector of float)
57850:268        'specularContrib2' ( inout highp 3-component vector of float)
57860:268        specular2: direct index for structure ( global highp 3-component vector of float)
57870:268          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
57880:268          Constant:
57890:268            2 (const int)
57900:269      move second child to first child ( temp highp float)
57910:269        'shadowStrengthOut' ( inout highp float)
57920:269        shadowStrength: direct index for structure ( global highp float)
57930:269          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
57940:269          Constant:
57950:269            3 (const int)
57960:272  Function Definition: TDLighting(vf3;vf3;vf3;i1;vf3;vf3;f1;vf3;vf3;f1;f1; ( global void)
57970:272    Function Parameters: 
57980:272      'diffuseContrib' ( inout highp 3-component vector of float)
57990:272      'specularContrib' ( inout highp 3-component vector of float)
58000:272      'specularContrib2' ( inout highp 3-component vector of float)
58010:272      'index' ( in highp int)
58020:272      'worldSpacePos' ( in highp 3-component vector of float)
58030:272      'normal' ( in highp 3-component vector of float)
58040:272      'shadowStrength' ( in highp float)
58050:272      'shadowColor' ( in highp 3-component vector of float)
58060:272      'camVector' ( in highp 3-component vector of float)
58070:272      'shininess' ( in highp float)
58080:272      'shininess2' ( in highp float)
58090:?     Sequence
58100:275      switch
58110:275      condition
58120:275        'index' ( in highp int)
58130:275      body
58140:275        Sequence
58150:277          default: 
58160:?           Sequence
58170:278            move second child to first child ( temp highp 3-component vector of float)
58180:278              diffuse: direct index for structure ( global highp 3-component vector of float)
58190:278                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
58200:278                Constant:
58210:278                  0 (const int)
58220:278              Constant:
58230:278                0.000000
58240:278                0.000000
58250:278                0.000000
58260:279            move second child to first child ( temp highp 3-component vector of float)
58270:279              specular: direct index for structure ( global highp 3-component vector of float)
58280:279                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
58290:279                Constant:
58300:279                  1 (const int)
58310:279              Constant:
58320:279                0.000000
58330:279                0.000000
58340:279                0.000000
58350:280            move second child to first child ( temp highp 3-component vector of float)
58360:280              specular2: direct index for structure ( global highp 3-component vector of float)
58370:280                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
58380:280                Constant:
58390:280                  2 (const int)
58400:280              Constant:
58410:280                0.000000
58420:280                0.000000
58430:280                0.000000
58440:281            move second child to first child ( temp highp float)
58450:281              shadowStrength: direct index for structure ( global highp float)
58460:281                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
58470:281                Constant:
58480:281                  3 (const int)
58490:281              Constant:
58500:281                0.000000
58510:282            Branch: Break
58520:284      move second child to first child ( temp highp 3-component vector of float)
58530:284        'diffuseContrib' ( inout highp 3-component vector of float)
58540:284        diffuse: direct index for structure ( global highp 3-component vector of float)
58550:284          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
58560:284          Constant:
58570:284            0 (const int)
58580:285      move second child to first child ( temp highp 3-component vector of float)
58590:285        'specularContrib' ( inout highp 3-component vector of float)
58600:285        specular: direct index for structure ( global highp 3-component vector of float)
58610:285          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
58620:285          Constant:
58630:285            1 (const int)
58640:286      move second child to first child ( temp highp 3-component vector of float)
58650:286        'specularContrib2' ( inout highp 3-component vector of float)
58660:286        specular2: direct index for structure ( global highp 3-component vector of float)
58670:286          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
58680:286          Constant:
58690:286            2 (const int)
58700:289  Function Definition: TDLighting(vf3;vf3;i1;vf3;vf3;f1;vf3;vf3;f1; ( global void)
58710:289    Function Parameters: 
58720:289      'diffuseContrib' ( inout highp 3-component vector of float)
58730:289      'specularContrib' ( inout highp 3-component vector of float)
58740:289      'index' ( in highp int)
58750:289      'worldSpacePos' ( in highp 3-component vector of float)
58760:289      'normal' ( in highp 3-component vector of float)
58770:289      'shadowStrength' ( in highp float)
58780:289      'shadowColor' ( in highp 3-component vector of float)
58790:289      'camVector' ( in highp 3-component vector of float)
58800:289      'shininess' ( in highp float)
58810:?     Sequence
58820:292      switch
58830:292      condition
58840:292        'index' ( in highp int)
58850:292      body
58860:292        Sequence
58870:294          default: 
58880:?           Sequence
58890:295            move second child to first child ( temp highp 3-component vector of float)
58900:295              diffuse: direct index for structure ( global highp 3-component vector of float)
58910:295                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
58920:295                Constant:
58930:295                  0 (const int)
58940:295              Constant:
58950:295                0.000000
58960:295                0.000000
58970:295                0.000000
58980:296            move second child to first child ( temp highp 3-component vector of float)
58990:296              specular: direct index for structure ( global highp 3-component vector of float)
59000:296                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
59010:296                Constant:
59020:296                  1 (const int)
59030:296              Constant:
59040:296                0.000000
59050:296                0.000000
59060:296                0.000000
59070:297            move second child to first child ( temp highp 3-component vector of float)
59080:297              specular2: direct index for structure ( global highp 3-component vector of float)
59090:297                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
59100:297                Constant:
59110:297                  2 (const int)
59120:297              Constant:
59130:297                0.000000
59140:297                0.000000
59150:297                0.000000
59160:298            move second child to first child ( temp highp float)
59170:298              shadowStrength: direct index for structure ( global highp float)
59180:298                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
59190:298                Constant:
59200:298                  3 (const int)
59210:298              Constant:
59220:298                0.000000
59230:299            Branch: Break
59240:301      move second child to first child ( temp highp 3-component vector of float)
59250:301        'diffuseContrib' ( inout highp 3-component vector of float)
59260:301        diffuse: direct index for structure ( global highp 3-component vector of float)
59270:301          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
59280:301          Constant:
59290:301            0 (const int)
59300:302      move second child to first child ( temp highp 3-component vector of float)
59310:302        'specularContrib' ( inout highp 3-component vector of float)
59320:302        specular: direct index for structure ( global highp 3-component vector of float)
59330:302          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
59340:302          Constant:
59350:302            1 (const int)
59360:305  Function Definition: TDLighting(vf3;vf3;vf3;i1;vf3;vf3;vf3;f1;f1; ( global void)
59370:305    Function Parameters: 
59380:305      'diffuseContrib' ( inout highp 3-component vector of float)
59390:305      'specularContrib' ( inout highp 3-component vector of float)
59400:305      'specularContrib2' ( inout highp 3-component vector of float)
59410:305      'index' ( in highp int)
59420:305      'worldSpacePos' ( in highp 3-component vector of float)
59430:305      'normal' ( in highp 3-component vector of float)
59440:305      'camVector' ( in highp 3-component vector of float)
59450:305      'shininess' ( in highp float)
59460:305      'shininess2' ( in highp float)
59470:?     Sequence
59480:308      switch
59490:308      condition
59500:308        'index' ( in highp int)
59510:308      body
59520:308        Sequence
59530:310          default: 
59540:?           Sequence
59550:311            move second child to first child ( temp highp 3-component vector of float)
59560:311              diffuse: direct index for structure ( global highp 3-component vector of float)
59570:311                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
59580:311                Constant:
59590:311                  0 (const int)
59600:311              Constant:
59610:311                0.000000
59620:311                0.000000
59630:311                0.000000
59640:312            move second child to first child ( temp highp 3-component vector of float)
59650:312              specular: direct index for structure ( global highp 3-component vector of float)
59660:312                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
59670:312                Constant:
59680:312                  1 (const int)
59690:312              Constant:
59700:312                0.000000
59710:312                0.000000
59720:312                0.000000
59730:313            move second child to first child ( temp highp 3-component vector of float)
59740:313              specular2: direct index for structure ( global highp 3-component vector of float)
59750:313                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
59760:313                Constant:
59770:313                  2 (const int)
59780:313              Constant:
59790:313                0.000000
59800:313                0.000000
59810:313                0.000000
59820:314            move second child to first child ( temp highp float)
59830:314              shadowStrength: direct index for structure ( global highp float)
59840:314                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
59850:314                Constant:
59860:314                  3 (const int)
59870:314              Constant:
59880:314                0.000000
59890:315            Branch: Break
59900:317      move second child to first child ( temp highp 3-component vector of float)
59910:317        'diffuseContrib' ( inout highp 3-component vector of float)
59920:317        diffuse: direct index for structure ( global highp 3-component vector of float)
59930:317          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
59940:317          Constant:
59950:317            0 (const int)
59960:318      move second child to first child ( temp highp 3-component vector of float)
59970:318        'specularContrib' ( inout highp 3-component vector of float)
59980:318        specular: direct index for structure ( global highp 3-component vector of float)
59990:318          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
60000:318          Constant:
60010:318            1 (const int)
60020:319      move second child to first child ( temp highp 3-component vector of float)
60030:319        'specularContrib2' ( inout highp 3-component vector of float)
60040:319        specular2: direct index for structure ( global highp 3-component vector of float)
60050:319          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
60060:319          Constant:
60070:319            2 (const int)
60080:322  Function Definition: TDLighting(vf3;vf3;i1;vf3;vf3;vf3;f1; ( global void)
60090:322    Function Parameters: 
60100:322      'diffuseContrib' ( inout highp 3-component vector of float)
60110:322      'specularContrib' ( inout highp 3-component vector of float)
60120:322      'index' ( in highp int)
60130:322      'worldSpacePos' ( in highp 3-component vector of float)
60140:322      'normal' ( in highp 3-component vector of float)
60150:322      'camVector' ( in highp 3-component vector of float)
60160:322      'shininess' ( in highp float)
60170:?     Sequence
60180:325      switch
60190:325      condition
60200:325        'index' ( in highp int)
60210:325      body
60220:325        Sequence
60230:327          default: 
60240:?           Sequence
60250:328            move second child to first child ( temp highp 3-component vector of float)
60260:328              diffuse: direct index for structure ( global highp 3-component vector of float)
60270:328                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
60280:328                Constant:
60290:328                  0 (const int)
60300:328              Constant:
60310:328                0.000000
60320:328                0.000000
60330:328                0.000000
60340:329            move second child to first child ( temp highp 3-component vector of float)
60350:329              specular: direct index for structure ( global highp 3-component vector of float)
60360:329                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
60370:329                Constant:
60380:329                  1 (const int)
60390:329              Constant:
60400:329                0.000000
60410:329                0.000000
60420:329                0.000000
60430:330            move second child to first child ( temp highp 3-component vector of float)
60440:330              specular2: direct index for structure ( global highp 3-component vector of float)
60450:330                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
60460:330                Constant:
60470:330                  2 (const int)
60480:330              Constant:
60490:330                0.000000
60500:330                0.000000
60510:330                0.000000
60520:331            move second child to first child ( temp highp float)
60530:331              shadowStrength: direct index for structure ( global highp float)
60540:331                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
60550:331                Constant:
60560:331                  3 (const int)
60570:331              Constant:
60580:331                0.000000
60590:332            Branch: Break
60600:334      move second child to first child ( temp highp 3-component vector of float)
60610:334        'diffuseContrib' ( inout highp 3-component vector of float)
60620:334        diffuse: direct index for structure ( global highp 3-component vector of float)
60630:334          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
60640:334          Constant:
60650:334            0 (const int)
60660:335      move second child to first child ( temp highp 3-component vector of float)
60670:335        'specularContrib' ( inout highp 3-component vector of float)
60680:335        specular: direct index for structure ( global highp 3-component vector of float)
60690:335          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
60700:335          Constant:
60710:335            1 (const int)
60720:338  Function Definition: TDLighting(vf3;i1;vf3;vf3; ( global void)
60730:338    Function Parameters: 
60740:338      'diffuseContrib' ( inout highp 3-component vector of float)
60750:338      'index' ( in highp int)
60760:338      'worldSpacePos' ( in highp 3-component vector of float)
60770:338      'normal' ( in highp 3-component vector of float)
60780:?     Sequence
60790:341      switch
60800:341      condition
60810:341        'index' ( in highp int)
60820:341      body
60830:341        Sequence
60840:343          default: 
60850:?           Sequence
60860:344            move second child to first child ( temp highp 3-component vector of float)
60870:344              diffuse: direct index for structure ( global highp 3-component vector of float)
60880:344                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
60890:344                Constant:
60900:344                  0 (const int)
60910:344              Constant:
60920:344                0.000000
60930:344                0.000000
60940:344                0.000000
60950:345            move second child to first child ( temp highp 3-component vector of float)
60960:345              specular: direct index for structure ( global highp 3-component vector of float)
60970:345                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
60980:345                Constant:
60990:345                  1 (const int)
61000:345              Constant:
61010:345                0.000000
61020:345                0.000000
61030:345                0.000000
61040:346            move second child to first child ( temp highp 3-component vector of float)
61050:346              specular2: direct index for structure ( global highp 3-component vector of float)
61060:346                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
61070:346                Constant:
61080:346                  2 (const int)
61090:346              Constant:
61100:346                0.000000
61110:346                0.000000
61120:346                0.000000
61130:347            move second child to first child ( temp highp float)
61140:347              shadowStrength: direct index for structure ( global highp float)
61150:347                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
61160:347                Constant:
61170:347                  3 (const int)
61180:347              Constant:
61190:347                0.000000
61200:348            Branch: Break
61210:350      move second child to first child ( temp highp 3-component vector of float)
61220:350        'diffuseContrib' ( inout highp 3-component vector of float)
61230:350        diffuse: direct index for structure ( global highp 3-component vector of float)
61240:350          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
61250:350          Constant:
61260:350            0 (const int)
61270:353  Function Definition: TDLighting(vf3;i1;vf3;vf3;f1;vf3; ( global void)
61280:353    Function Parameters: 
61290:353      'diffuseContrib' ( inout highp 3-component vector of float)
61300:353      'index' ( in highp int)
61310:353      'worldSpacePos' ( in highp 3-component vector of float)
61320:353      'normal' ( in highp 3-component vector of float)
61330:353      'shadowStrength' ( in highp float)
61340:353      'shadowColor' ( in highp 3-component vector of float)
61350:?     Sequence
61360:356      switch
61370:356      condition
61380:356        'index' ( in highp int)
61390:356      body
61400:356        Sequence
61410:358          default: 
61420:?           Sequence
61430:359            move second child to first child ( temp highp 3-component vector of float)
61440:359              diffuse: direct index for structure ( global highp 3-component vector of float)
61450:359                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
61460:359                Constant:
61470:359                  0 (const int)
61480:359              Constant:
61490:359                0.000000
61500:359                0.000000
61510:359                0.000000
61520:360            move second child to first child ( temp highp 3-component vector of float)
61530:360              specular: direct index for structure ( global highp 3-component vector of float)
61540:360                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
61550:360                Constant:
61560:360                  1 (const int)
61570:360              Constant:
61580:360                0.000000
61590:360                0.000000
61600:360                0.000000
61610:361            move second child to first child ( temp highp 3-component vector of float)
61620:361              specular2: direct index for structure ( global highp 3-component vector of float)
61630:361                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
61640:361                Constant:
61650:361                  2 (const int)
61660:361              Constant:
61670:361                0.000000
61680:361                0.000000
61690:361                0.000000
61700:362            move second child to first child ( temp highp float)
61710:362              shadowStrength: direct index for structure ( global highp float)
61720:362                'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
61730:362                Constant:
61740:362                  3 (const int)
61750:362              Constant:
61760:362                0.000000
61770:363            Branch: Break
61780:365      move second child to first child ( temp highp 3-component vector of float)
61790:365        'diffuseContrib' ( inout highp 3-component vector of float)
61800:365        diffuse: direct index for structure ( global highp 3-component vector of float)
61810:365          'res' ( temp structure{ global highp 3-component vector of float diffuse,  global highp 3-component vector of float specular,  global highp 3-component vector of float specular2,  global highp float shadowStrength})
61820:365          Constant:
61830:365            0 (const int)
61840:367  Function Definition: TDProjMap(i1;vf3;vf4; ( global highp 4-component vector of float)
61850:367    Function Parameters: 
61860:367      'index' ( in highp int)
61870:367      'worldSpacePos' ( in highp 3-component vector of float)
61880:367      'defaultColor' ( in highp 4-component vector of float)
61890:368    Sequence
61900:368      switch
61910:368      condition
61920:368        'index' ( in highp int)
61930:368      body
61940:368        Sequence
61950:370          default: 
61960:?           Sequence
61970:370            Branch: Return with expression
61980:370              'defaultColor' ( in highp 4-component vector of float)
61990:373  Function Definition: TDFog(vf4;vf3;i1; ( global highp 4-component vector of float)
62000:373    Function Parameters: 
62010:373      'color' ( in highp 4-component vector of float)
62020:373      'lightingSpacePosition' ( in highp 3-component vector of float)
62030:373      'cameraIndex' ( in highp int)
62040:374    Sequence
62050:374      switch
62060:374      condition
62070:374        'cameraIndex' ( in highp int)
62080:374      body
62090:374        Sequence
62100:375          default: 
62110:376          case:  with expression
62120:376            Constant:
62130:376              0 (const int)
62140:?           Sequence
62150:378            Sequence
62160:378              Branch: Return with expression
62170:378                'color' ( in highp 4-component vector of float)
62180:382  Function Definition: TDFog(vf4;vf3; ( global highp 4-component vector of float)
62190:382    Function Parameters: 
62200:382      'color' ( in highp 4-component vector of float)
62210:382      'lightingSpacePosition' ( in highp 3-component vector of float)
62220:384    Sequence
62230:384      Branch: Return with expression
62240:384        Function Call: TDFog(vf4;vf3;i1; ( global highp 4-component vector of float)
62250:384          'color' ( in highp 4-component vector of float)
62260:384          'lightingSpacePosition' ( in highp 3-component vector of float)
62270:384          Constant:
62280:384            0 (const int)
62290:386  Function Definition: TDInstanceTexCoord(i1;vf3; ( global highp 3-component vector of float)
62300:386    Function Parameters: 
62310:386      'index' ( in highp int)
62320:386      't' ( in highp 3-component vector of float)
62330:?     Sequence
62340:388      Sequence
62350:388        move second child to first child ( temp highp int)
62360:388          'coord' ( temp highp int)
62370:388          'index' ( in highp int)
62380:389      Sequence
62390:389        move second child to first child ( temp highp 4-component vector of float)
62400:389          'samp' ( temp highp 4-component vector of float)
62410:389          textureFetch ( global highp 4-component vector of float)
62420:389            'sTDInstanceTexCoord' (layout( binding=16) uniform highp samplerBuffer)
62430:389            'coord' ( temp highp int)
62440:390      move second child to first child ( temp highp float)
62450:390        direct index ( temp highp float)
62460:390          'v' ( temp highp 3-component vector of float)
62470:390          Constant:
62480:390            0 (const int)
62490:390        direct index ( temp highp float)
62500:390          't' ( in highp 3-component vector of float)
62510:390          Constant:
62520:390            0 (const int)
62530:391      move second child to first child ( temp highp float)
62540:391        direct index ( temp highp float)
62550:391          'v' ( temp highp 3-component vector of float)
62560:391          Constant:
62570:391            1 (const int)
62580:391        direct index ( temp highp float)
62590:391          't' ( in highp 3-component vector of float)
62600:391          Constant:
62610:391            1 (const int)
62620:392      move second child to first child ( temp highp float)
62630:392        direct index ( temp highp float)
62640:392          'v' ( temp highp 3-component vector of float)
62650:392          Constant:
62660:392            2 (const int)
62670:392        direct index ( temp highp float)
62680:392          'samp' ( temp highp 4-component vector of float)
62690:392          Constant:
62700:392            0 (const int)
62710:393      move second child to first child ( temp highp 3-component vector of float)
62720:393        vector swizzle ( temp highp 3-component vector of float)
62730:393          't' ( in highp 3-component vector of float)
62740:393          Sequence
62750:393            Constant:
62760:393              0 (const int)
62770:393            Constant:
62780:393              1 (const int)
62790:393            Constant:
62800:393              2 (const int)
62810:393        vector swizzle ( temp highp 3-component vector of float)
62820:393          'v' ( temp highp 3-component vector of float)
62830:393          Sequence
62840:393            Constant:
62850:393              0 (const int)
62860:393            Constant:
62870:393              1 (const int)
62880:393            Constant:
62890:393              2 (const int)
62900:394      Branch: Return with expression
62910:394        't' ( in highp 3-component vector of float)
62920:396  Function Definition: TDInstanceActive(i1; ( global bool)
62930:396    Function Parameters: 
62940:396      'index' ( in highp int)
62950:397    Sequence
62960:397      subtract second child into first child ( temp highp int)
62970:397        'index' ( in highp int)
62980:397        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
62990:397          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
63000:397          Constant:
63010:397            0 (const uint)
63020:399      Sequence
63030:399        move second child to first child ( temp highp int)
63040:399          'coord' ( temp highp int)
63050:399          'index' ( in highp int)
63060:400      Sequence
63070:400        move second child to first child ( temp highp 4-component vector of float)
63080:400          'samp' ( temp highp 4-component vector of float)
63090:400          textureFetch ( global highp 4-component vector of float)
63100:400            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
63110:400            'coord' ( temp highp int)
63120:401      move second child to first child ( temp highp float)
63130:401        'v' ( temp highp float)
63140:401        direct index ( temp highp float)
63150:401          'samp' ( temp highp 4-component vector of float)
63160:401          Constant:
63170:401            0 (const int)
63180:402      Branch: Return with expression
63190:402        Compare Not Equal ( temp bool)
63200:402          'v' ( temp highp float)
63210:402          Constant:
63220:402            0.000000
63230:404  Function Definition: iTDInstanceTranslate(i1;b1; ( global highp 3-component vector of float)
63240:404    Function Parameters: 
63250:404      'index' ( in highp int)
63260:404      'instanceActive' ( out bool)
63270:405    Sequence
63280:405      Sequence
63290:405        move second child to first child ( temp highp int)
63300:405          'origIndex' ( temp highp int)
63310:405          'index' ( in highp int)
63320:406      subtract second child into first child ( temp highp int)
63330:406        'index' ( in highp int)
63340:406        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
63350:406          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
63360:406          Constant:
63370:406            0 (const uint)
63380:408      Sequence
63390:408        move second child to first child ( temp highp int)
63400:408          'coord' ( temp highp int)
63410:408          'index' ( in highp int)
63420:409      Sequence
63430:409        move second child to first child ( temp highp 4-component vector of float)
63440:409          'samp' ( temp highp 4-component vector of float)
63450:409          textureFetch ( global highp 4-component vector of float)
63460:409            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
63470:409            'coord' ( temp highp int)
63480:410      move second child to first child ( temp highp float)
63490:410        direct index ( temp highp float)
63500:410          'v' ( temp highp 3-component vector of float)
63510:410          Constant:
63520:410            0 (const int)
63530:410        direct index ( temp highp float)
63540:410          'samp' ( temp highp 4-component vector of float)
63550:410          Constant:
63560:410            1 (const int)
63570:411      move second child to first child ( temp highp float)
63580:411        direct index ( temp highp float)
63590:411          'v' ( temp highp 3-component vector of float)
63600:411          Constant:
63610:411            1 (const int)
63620:411        direct index ( temp highp float)
63630:411          'samp' ( temp highp 4-component vector of float)
63640:411          Constant:
63650:411            2 (const int)
63660:412      move second child to first child ( temp highp float)
63670:412        direct index ( temp highp float)
63680:412          'v' ( temp highp 3-component vector of float)
63690:412          Constant:
63700:412            2 (const int)
63710:412        direct index ( temp highp float)
63720:412          'samp' ( temp highp 4-component vector of float)
63730:412          Constant:
63740:412            3 (const int)
63750:413      move second child to first child ( temp bool)
63760:413        'instanceActive' ( out bool)
63770:413        Compare Not Equal ( temp bool)
63780:413          direct index ( temp highp float)
63790:413            'samp' ( temp highp 4-component vector of float)
63800:413            Constant:
63810:413              0 (const int)
63820:413          Constant:
63830:413            0.000000
63840:414      Branch: Return with expression
63850:414        'v' ( temp highp 3-component vector of float)
63860:416  Function Definition: TDInstanceTranslate(i1; ( global highp 3-component vector of float)
63870:416    Function Parameters: 
63880:416      'index' ( in highp int)
63890:417    Sequence
63900:417      subtract second child into first child ( temp highp int)
63910:417        'index' ( in highp int)
63920:417        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
63930:417          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
63940:417          Constant:
63950:417            0 (const uint)
63960:419      Sequence
63970:419        move second child to first child ( temp highp int)
63980:419          'coord' ( temp highp int)
63990:419          'index' ( in highp int)
64000:420      Sequence
64010:420        move second child to first child ( temp highp 4-component vector of float)
64020:420          'samp' ( temp highp 4-component vector of float)
64030:420          textureFetch ( global highp 4-component vector of float)
64040:420            'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
64050:420            'coord' ( temp highp int)
64060:421      move second child to first child ( temp highp float)
64070:421        direct index ( temp highp float)
64080:421          'v' ( temp highp 3-component vector of float)
64090:421          Constant:
64100:421            0 (const int)
64110:421        direct index ( temp highp float)
64120:421          'samp' ( temp highp 4-component vector of float)
64130:421          Constant:
64140:421            1 (const int)
64150:422      move second child to first child ( temp highp float)
64160:422        direct index ( temp highp float)
64170:422          'v' ( temp highp 3-component vector of float)
64180:422          Constant:
64190:422            1 (const int)
64200:422        direct index ( temp highp float)
64210:422          'samp' ( temp highp 4-component vector of float)
64220:422          Constant:
64230:422            2 (const int)
64240:423      move second child to first child ( temp highp float)
64250:423        direct index ( temp highp float)
64260:423          'v' ( temp highp 3-component vector of float)
64270:423          Constant:
64280:423            2 (const int)
64290:423        direct index ( temp highp float)
64300:423          'samp' ( temp highp 4-component vector of float)
64310:423          Constant:
64320:423            3 (const int)
64330:424      Branch: Return with expression
64340:424        'v' ( temp highp 3-component vector of float)
64350:426  Function Definition: TDInstanceRotateMat(i1; ( global highp 3X3 matrix of float)
64360:426    Function Parameters: 
64370:426      'index' ( in highp int)
64380:427    Sequence
64390:427      subtract second child into first child ( temp highp int)
64400:427        'index' ( in highp int)
64410:427        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
64420:427          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
64430:427          Constant:
64440:427            0 (const uint)
64450:428      Sequence
64460:428        move second child to first child ( temp highp 3-component vector of float)
64470:428          'v' ( temp highp 3-component vector of float)
64480:428          Constant:
64490:428            0.000000
64500:428            0.000000
64510:428            0.000000
64520:429      Sequence
64530:429        move second child to first child ( temp highp 3X3 matrix of float)
64540:429          'm' ( temp highp 3X3 matrix of float)
64550:429          Constant:
64560:429            1.000000
64570:429            0.000000
64580:429            0.000000
64590:429            0.000000
64600:429            1.000000
64610:429            0.000000
64620:429            0.000000
64630:429            0.000000
64640:429            1.000000
64650:433      Branch: Return with expression
64660:433        'm' ( temp highp 3X3 matrix of float)
64670:435  Function Definition: TDInstanceScale(i1; ( global highp 3-component vector of float)
64680:435    Function Parameters: 
64690:435      'index' ( in highp int)
64700:436    Sequence
64710:436      subtract second child into first child ( temp highp int)
64720:436        'index' ( in highp int)
64730:436        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
64740:436          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
64750:436          Constant:
64760:436            0 (const uint)
64770:437      Sequence
64780:437        move second child to first child ( temp highp 3-component vector of float)
64790:437          'v' ( temp highp 3-component vector of float)
64800:437          Constant:
64810:437            1.000000
64820:437            1.000000
64830:437            1.000000
64840:438      Branch: Return with expression
64850:438        'v' ( temp highp 3-component vector of float)
64860:440  Function Definition: TDInstancePivot(i1; ( global highp 3-component vector of float)
64870:440    Function Parameters: 
64880:440      'index' ( in highp int)
64890:441    Sequence
64900:441      subtract second child into first child ( temp highp int)
64910:441        'index' ( in highp int)
64920:441        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
64930:441          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
64940:441          Constant:
64950:441            0 (const uint)
64960:442      Sequence
64970:442        move second child to first child ( temp highp 3-component vector of float)
64980:442          'v' ( temp highp 3-component vector of float)
64990:442          Constant:
65000:442            0.000000
65010:442            0.000000
65020:442            0.000000
65030:443      Branch: Return with expression
65040:443        'v' ( temp highp 3-component vector of float)
65050:445  Function Definition: TDInstanceRotTo(i1; ( global highp 3-component vector of float)
65060:445    Function Parameters: 
65070:445      'index' ( in highp int)
65080:446    Sequence
65090:446      subtract second child into first child ( temp highp int)
65100:446        'index' ( in highp int)
65110:446        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
65120:446          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
65130:446          Constant:
65140:446            0 (const uint)
65150:447      Sequence
65160:447        move second child to first child ( temp highp 3-component vector of float)
65170:447          'v' ( temp highp 3-component vector of float)
65180:447          Constant:
65190:447            0.000000
65200:447            0.000000
65210:447            1.000000
65220:448      Branch: Return with expression
65230:448        'v' ( temp highp 3-component vector of float)
65240:450  Function Definition: TDInstanceRotUp(i1; ( global highp 3-component vector of float)
65250:450    Function Parameters: 
65260:450      'index' ( in highp int)
65270:451    Sequence
65280:451      subtract second child into first child ( temp highp int)
65290:451        'index' ( in highp int)
65300:451        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
65310:451          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
65320:451          Constant:
65330:451            0 (const uint)
65340:452      Sequence
65350:452        move second child to first child ( temp highp 3-component vector of float)
65360:452          'v' ( temp highp 3-component vector of float)
65370:452          Constant:
65380:452            0.000000
65390:452            1.000000
65400:452            0.000000
65410:453      Branch: Return with expression
65420:453        'v' ( temp highp 3-component vector of float)
65430:455  Function Definition: TDInstanceMat(i1; ( global highp 4X4 matrix of float)
65440:455    Function Parameters: 
65450:455      'id' ( in highp int)
65460:456    Sequence
65470:456      Sequence
65480:456        move second child to first child ( temp bool)
65490:456          'instanceActive' ( temp bool)
65500:456          Constant:
65510:456            true (const bool)
65520:457      Sequence
65530:457        move second child to first child ( temp highp 3-component vector of float)
65540:457          't' ( temp highp 3-component vector of float)
65550:457          Function Call: iTDInstanceTranslate(i1;b1; ( global highp 3-component vector of float)
65560:457            'id' ( in highp int)
65570:457            'instanceActive' ( temp bool)
65580:458      Test condition and select ( temp void)
65590:458        Condition
65600:458        Negate conditional ( temp bool)
65610:458          'instanceActive' ( temp bool)
65620:458        true case
65630:460        Sequence
65640:460          Branch: Return with expression
65650:460            Constant:
65660:460              0.000000
65670:460              0.000000
65680:460              0.000000
65690:460              0.000000
65700:460              0.000000
65710:460              0.000000
65720:460              0.000000
65730:460              0.000000
65740:460              0.000000
65750:460              0.000000
65760:460              0.000000
65770:460              0.000000
65780:460              0.000000
65790:460              0.000000
65800:460              0.000000
65810:460              0.000000
65820:462      Sequence
65830:462        move second child to first child ( temp highp 4X4 matrix of float)
65840:462          'm' ( temp highp 4X4 matrix of float)
65850:462          Constant:
65860:462            1.000000
65870:462            0.000000
65880:462            0.000000
65890:462            0.000000
65900:462            0.000000
65910:462            1.000000
65920:462            0.000000
65930:462            0.000000
65940:462            0.000000
65950:462            0.000000
65960:462            1.000000
65970:462            0.000000
65980:462            0.000000
65990:462            0.000000
66000:462            0.000000
66010:462            1.000000
66020:464      Sequence
66030:464        Sequence
66040:464          move second child to first child ( temp highp 3-component vector of float)
66050:464            'tt' ( temp highp 3-component vector of float)
66060:464            't' ( temp highp 3-component vector of float)
66070:465        add second child into first child ( temp highp float)
66080:465          direct index ( temp highp float)
66090:465            direct index ( temp highp 4-component vector of float)
66100:465              'm' ( temp highp 4X4 matrix of float)
66110:465              Constant:
66120:465                3 (const int)
66130:465            Constant:
66140:465              0 (const int)
66150:465          component-wise multiply ( temp highp float)
66160:465            direct index ( temp highp float)
66170:465              direct index ( temp highp 4-component vector of float)
66180:465                'm' ( temp highp 4X4 matrix of float)
66190:465                Constant:
66200:465                  0 (const int)
66210:465              Constant:
66220:465                0 (const int)
66230:465            direct index ( temp highp float)
66240:465              'tt' ( temp highp 3-component vector of float)
66250:465              Constant:
66260:465                0 (const int)
66270:466        add second child into first child ( temp highp float)
66280:466          direct index ( temp highp float)
66290:466            direct index ( temp highp 4-component vector of float)
66300:466              'm' ( temp highp 4X4 matrix of float)
66310:466              Constant:
66320:466                3 (const int)
66330:466            Constant:
66340:466              1 (const int)
66350:466          component-wise multiply ( temp highp float)
66360:466            direct index ( temp highp float)
66370:466              direct index ( temp highp 4-component vector of float)
66380:466                'm' ( temp highp 4X4 matrix of float)
66390:466                Constant:
66400:466                  0 (const int)
66410:466              Constant:
66420:466                1 (const int)
66430:466            direct index ( temp highp float)
66440:466              'tt' ( temp highp 3-component vector of float)
66450:466              Constant:
66460:466                0 (const int)
66470:467        add second child into first child ( temp highp float)
66480:467          direct index ( temp highp float)
66490:467            direct index ( temp highp 4-component vector of float)
66500:467              'm' ( temp highp 4X4 matrix of float)
66510:467              Constant:
66520:467                3 (const int)
66530:467            Constant:
66540:467              2 (const int)
66550:467          component-wise multiply ( temp highp float)
66560:467            direct index ( temp highp float)
66570:467              direct index ( temp highp 4-component vector of float)
66580:467                'm' ( temp highp 4X4 matrix of float)
66590:467                Constant:
66600:467                  0 (const int)
66610:467              Constant:
66620:467                2 (const int)
66630:467            direct index ( temp highp float)
66640:467              'tt' ( temp highp 3-component vector of float)
66650:467              Constant:
66660:467                0 (const int)
66670:468        add second child into first child ( temp highp float)
66680:468          direct index ( temp highp float)
66690:468            direct index ( temp highp 4-component vector of float)
66700:468              'm' ( temp highp 4X4 matrix of float)
66710:468              Constant:
66720:468                3 (const int)
66730:468            Constant:
66740:468              3 (const int)
66750:468          component-wise multiply ( temp highp float)
66760:468            direct index ( temp highp float)
66770:468              direct index ( temp highp 4-component vector of float)
66780:468                'm' ( temp highp 4X4 matrix of float)
66790:468                Constant:
66800:468                  0 (const int)
66810:468              Constant:
66820:468                3 (const int)
66830:468            direct index ( temp highp float)
66840:468              'tt' ( temp highp 3-component vector of float)
66850:468              Constant:
66860:468                0 (const int)
66870:469        add second child into first child ( temp highp float)
66880:469          direct index ( temp highp float)
66890:469            direct index ( temp highp 4-component vector of float)
66900:469              'm' ( temp highp 4X4 matrix of float)
66910:469              Constant:
66920:469                3 (const int)
66930:469            Constant:
66940:469              0 (const int)
66950:469          component-wise multiply ( temp highp float)
66960:469            direct index ( temp highp float)
66970:469              direct index ( temp highp 4-component vector of float)
66980:469                'm' ( temp highp 4X4 matrix of float)
66990:469                Constant:
67000:469                  1 (const int)
67010:469              Constant:
67020:469                0 (const int)
67030:469            direct index ( temp highp float)
67040:469              'tt' ( temp highp 3-component vector of float)
67050:469              Constant:
67060:469                1 (const int)
67070:470        add second child into first child ( temp highp float)
67080:470          direct index ( temp highp float)
67090:470            direct index ( temp highp 4-component vector of float)
67100:470              'm' ( temp highp 4X4 matrix of float)
67110:470              Constant:
67120:470                3 (const int)
67130:470            Constant:
67140:470              1 (const int)
67150:470          component-wise multiply ( temp highp float)
67160:470            direct index ( temp highp float)
67170:470              direct index ( temp highp 4-component vector of float)
67180:470                'm' ( temp highp 4X4 matrix of float)
67190:470                Constant:
67200:470                  1 (const int)
67210:470              Constant:
67220:470                1 (const int)
67230:470            direct index ( temp highp float)
67240:470              'tt' ( temp highp 3-component vector of float)
67250:470              Constant:
67260:470                1 (const int)
67270:471        add second child into first child ( temp highp float)
67280:471          direct index ( temp highp float)
67290:471            direct index ( temp highp 4-component vector of float)
67300:471              'm' ( temp highp 4X4 matrix of float)
67310:471              Constant:
67320:471                3 (const int)
67330:471            Constant:
67340:471              2 (const int)
67350:471          component-wise multiply ( temp highp float)
67360:471            direct index ( temp highp float)
67370:471              direct index ( temp highp 4-component vector of float)
67380:471                'm' ( temp highp 4X4 matrix of float)
67390:471                Constant:
67400:471                  1 (const int)
67410:471              Constant:
67420:471                2 (const int)
67430:471            direct index ( temp highp float)
67440:471              'tt' ( temp highp 3-component vector of float)
67450:471              Constant:
67460:471                1 (const int)
67470:472        add second child into first child ( temp highp float)
67480:472          direct index ( temp highp float)
67490:472            direct index ( temp highp 4-component vector of float)
67500:472              'm' ( temp highp 4X4 matrix of float)
67510:472              Constant:
67520:472                3 (const int)
67530:472            Constant:
67540:472              3 (const int)
67550:472          component-wise multiply ( temp highp float)
67560:472            direct index ( temp highp float)
67570:472              direct index ( temp highp 4-component vector of float)
67580:472                'm' ( temp highp 4X4 matrix of float)
67590:472                Constant:
67600:472                  1 (const int)
67610:472              Constant:
67620:472                3 (const int)
67630:472            direct index ( temp highp float)
67640:472              'tt' ( temp highp 3-component vector of float)
67650:472              Constant:
67660:472                1 (const int)
67670:473        add second child into first child ( temp highp float)
67680:473          direct index ( temp highp float)
67690:473            direct index ( temp highp 4-component vector of float)
67700:473              'm' ( temp highp 4X4 matrix of float)
67710:473              Constant:
67720:473                3 (const int)
67730:473            Constant:
67740:473              0 (const int)
67750:473          component-wise multiply ( temp highp float)
67760:473            direct index ( temp highp float)
67770:473              direct index ( temp highp 4-component vector of float)
67780:473                'm' ( temp highp 4X4 matrix of float)
67790:473                Constant:
67800:473                  2 (const int)
67810:473              Constant:
67820:473                0 (const int)
67830:473            direct index ( temp highp float)
67840:473              'tt' ( temp highp 3-component vector of float)
67850:473              Constant:
67860:473                2 (const int)
67870:474        add second child into first child ( temp highp float)
67880:474          direct index ( temp highp float)
67890:474            direct index ( temp highp 4-component vector of float)
67900:474              'm' ( temp highp 4X4 matrix of float)
67910:474              Constant:
67920:474                3 (const int)
67930:474            Constant:
67940:474              1 (const int)
67950:474          component-wise multiply ( temp highp float)
67960:474            direct index ( temp highp float)
67970:474              direct index ( temp highp 4-component vector of float)
67980:474                'm' ( temp highp 4X4 matrix of float)
67990:474                Constant:
68000:474                  2 (const int)
68010:474              Constant:
68020:474                1 (const int)
68030:474            direct index ( temp highp float)
68040:474              'tt' ( temp highp 3-component vector of float)
68050:474              Constant:
68060:474                2 (const int)
68070:475        add second child into first child ( temp highp float)
68080:475          direct index ( temp highp float)
68090:475            direct index ( temp highp 4-component vector of float)
68100:475              'm' ( temp highp 4X4 matrix of float)
68110:475              Constant:
68120:475                3 (const int)
68130:475            Constant:
68140:475              2 (const int)
68150:475          component-wise multiply ( temp highp float)
68160:475            direct index ( temp highp float)
68170:475              direct index ( temp highp 4-component vector of float)
68180:475                'm' ( temp highp 4X4 matrix of float)
68190:475                Constant:
68200:475                  2 (const int)
68210:475              Constant:
68220:475                2 (const int)
68230:475            direct index ( temp highp float)
68240:475              'tt' ( temp highp 3-component vector of float)
68250:475              Constant:
68260:475                2 (const int)
68270:476        add second child into first child ( temp highp float)
68280:476          direct index ( temp highp float)
68290:476            direct index ( temp highp 4-component vector of float)
68300:476              'm' ( temp highp 4X4 matrix of float)
68310:476              Constant:
68320:476                3 (const int)
68330:476            Constant:
68340:476              3 (const int)
68350:476          component-wise multiply ( temp highp float)
68360:476            direct index ( temp highp float)
68370:476              direct index ( temp highp 4-component vector of float)
68380:476                'm' ( temp highp 4X4 matrix of float)
68390:476                Constant:
68400:476                  2 (const int)
68410:476              Constant:
68420:476                3 (const int)
68430:476            direct index ( temp highp float)
68440:476              'tt' ( temp highp 3-component vector of float)
68450:476              Constant:
68460:476                2 (const int)
68470:478      Branch: Return with expression
68480:478        'm' ( temp highp 4X4 matrix of float)
68490:480  Function Definition: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
68500:480    Function Parameters: 
68510:480      'id' ( in highp int)
68520:481    Sequence
68530:481      Sequence
68540:481        move second child to first child ( temp highp 3X3 matrix of float)
68550:481          'm' ( temp highp 3X3 matrix of float)
68560:481          Constant:
68570:481            1.000000
68580:481            0.000000
68590:481            0.000000
68600:481            0.000000
68610:481            1.000000
68620:481            0.000000
68630:481            0.000000
68640:481            0.000000
68650:481            1.000000
68660:482      Branch: Return with expression
68670:482        'm' ( temp highp 3X3 matrix of float)
68680:484  Function Definition: TDInstanceMat3ForNorm(i1; ( global highp 3X3 matrix of float)
68690:484    Function Parameters: 
68700:484      'id' ( in highp int)
68710:485    Sequence
68720:485      Sequence
68730:485        move second child to first child ( temp highp 3X3 matrix of float)
68740:485          'm' ( temp highp 3X3 matrix of float)
68750:485          Function Call: TDInstanceMat3(i1; ( global highp 3X3 matrix of float)
68760:485            'id' ( in highp int)
68770:486      Branch: Return with expression
68780:486        'm' ( temp highp 3X3 matrix of float)
68790:488  Function Definition: TDInstanceColor(i1;vf4; ( global highp 4-component vector of float)
68800:488    Function Parameters: 
68810:488      'index' ( in highp int)
68820:488      'curColor' ( in highp 4-component vector of float)
68830:489    Sequence
68840:489      subtract second child into first child ( temp highp int)
68850:489        'index' ( in highp int)
68860:489        uTDInstanceIDOffset: direct index for structure ( uniform highp int)
68870:489          'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
68880:489          Constant:
68890:489            0 (const uint)
68900:491      Sequence
68910:491        move second child to first child ( temp highp int)
68920:491          'coord' ( temp highp int)
68930:491          'index' ( in highp int)
68940:492      Sequence
68950:492        move second child to first child ( temp highp 4-component vector of float)
68960:492          'samp' ( temp highp 4-component vector of float)
68970:492          textureFetch ( global highp 4-component vector of float)
68980:492            'sTDInstanceColor' (layout( binding=17) uniform highp samplerBuffer)
68990:492            'coord' ( temp highp int)
69000:493      move second child to first child ( temp highp float)
69010:493        direct index ( temp highp float)
69020:493          'v' ( temp highp 4-component vector of float)
69030:493          Constant:
69040:493            0 (const int)
69050:493        direct index ( temp highp float)
69060:493          'samp' ( temp highp 4-component vector of float)
69070:493          Constant:
69080:493            0 (const int)
69090:494      move second child to first child ( temp highp float)
69100:494        direct index ( temp highp float)
69110:494          'v' ( temp highp 4-component vector of float)
69120:494          Constant:
69130:494            1 (const int)
69140:494        direct index ( temp highp float)
69150:494          'samp' ( temp highp 4-component vector of float)
69160:494          Constant:
69170:494            1 (const int)
69180:495      move second child to first child ( temp highp float)
69190:495        direct index ( temp highp float)
69200:495          'v' ( temp highp 4-component vector of float)
69210:495          Constant:
69220:495            2 (const int)
69230:495        direct index ( temp highp float)
69240:495          'samp' ( temp highp 4-component vector of float)
69250:495          Constant:
69260:495            2 (const int)
69270:496      move second child to first child ( temp highp float)
69280:496        direct index ( temp highp float)
69290:496          'v' ( temp highp 4-component vector of float)
69300:496          Constant:
69310:496            3 (const int)
69320:496        Constant:
69330:496          1.000000
69340:497      move second child to first child ( temp highp float)
69350:497        direct index ( temp highp float)
69360:497          'curColor' ( in highp 4-component vector of float)
69370:497          Constant:
69380:497            0 (const int)
69390:497        direct index ( temp highp float)
69400:497          'v' ( temp highp 4-component vector of float)
69410:497          Constant:
69420:497            0 (const int)
69430:499      move second child to first child ( temp highp float)
69440:499        direct index ( temp highp float)
69450:499          'curColor' ( in highp 4-component vector of float)
69460:499          Constant:
69470:499            1 (const int)
69480:499        direct index ( temp highp float)
69490:499          'v' ( temp highp 4-component vector of float)
69500:499          Constant:
69510:499            1 (const int)
69520:501      move second child to first child ( temp highp float)
69530:501        direct index ( temp highp float)
69540:501          'curColor' ( in highp 4-component vector of float)
69550:501          Constant:
69560:501            2 (const int)
69570:501        direct index ( temp highp float)
69580:501          'v' ( temp highp 4-component vector of float)
69590:501          Constant:
69600:501            2 (const int)
69610:503      Branch: Return with expression
69620:503        'curColor' ( in highp 4-component vector of float)
69630:2  Function Definition: TDOutputSwizzle(vf4; ( global highp 4-component vector of float)
69640:2    Function Parameters: 
69650:2      'c' ( in highp 4-component vector of float)
69660:4    Sequence
69670:4      Branch: Return with expression
69680:4        vector swizzle ( temp highp 4-component vector of float)
69690:4          'c' ( in highp 4-component vector of float)
69700:4          Sequence
69710:4            Constant:
69720:4              0 (const int)
69730:4            Constant:
69740:4              1 (const int)
69750:4            Constant:
69760:4              2 (const int)
69770:4            Constant:
69780:4              3 (const int)
69790:6  Function Definition: TDOutputSwizzle(vu4; ( global highp 4-component vector of uint)
69800:6    Function Parameters: 
69810:6      'c' ( in highp 4-component vector of uint)
69820:8    Sequence
69830:8      Branch: Return with expression
69840:8        vector swizzle ( temp highp 4-component vector of uint)
69850:8          'c' ( in highp 4-component vector of uint)
69860:8          Sequence
69870:8            Constant:
69880:8              0 (const int)
69890:8            Constant:
69900:8              1 (const int)
69910:8            Constant:
69920:8              2 (const int)
69930:8            Constant:
69940:8              3 (const int)
69950:?   Linker Objects
69960:?     'anon@0' (layout( column_major std140) uniform block{ uniform highp int uTDInstanceIDOffset,  uniform highp int uTDNumInstances,  uniform highp float uTDAlphaTestVal,  uniform highp 3-component vector of float uConstant,  uniform highp float uShadowStrength,  uniform highp 3-component vector of float uShadowColor,  uniform highp 4-component vector of float uDiffuseColor,  uniform highp 4-component vector of float uAmbientColor})
69970:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{layout( column_major std140) global highp 4X4 matrix of float world, layout( column_major std140) global highp 4X4 matrix of float worldInverse, layout( column_major std140) global highp 4X4 matrix of float worldCam, layout( column_major std140) global highp 4X4 matrix of float worldCamInverse, layout( column_major std140) global highp 4X4 matrix of float cam, layout( column_major std140) global highp 4X4 matrix of float camInverse, layout( column_major std140) global highp 4X4 matrix of float camProj, layout( column_major std140) global highp 4X4 matrix of float camProjInverse, layout( column_major std140) global highp 4X4 matrix of float proj, layout( column_major std140) global highp 4X4 matrix of float projInverse, layout( column_major std140) global highp 4X4 matrix of float worldCamProj, layout( column_major std140) global highp 4X4 matrix of float worldCamProjInverse, layout( column_major std140) global highp 4X4 matrix of float quadReproject, layout( column_major std140) global highp 3X3 matrix of float worldForNormals, layout( column_major std140) global highp 3X3 matrix of float camForNormals, layout( column_major std140) global highp 3X3 matrix of float worldCamForNormals} uTDMats})
69980:?     'anon@2' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float nearFar,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor,  global highp int renderTOPCameraIndex} uTDCamInfos})
69990:?     'anon@3' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform structure{ global highp 4-component vector of float ambientColor,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float viewport,  global highp 4-component vector of float viewportRes,  global highp 4-component vector of float fog,  global highp 4-component vector of float fogColor} uTDGeneral})
70000:?     'sColorMap' ( uniform highp sampler2DArray)
70010:?     'iVert' ( in block{ in highp 4-component vector of float color,  in highp 3-component vector of float worldSpacePos,  in highp 3-component vector of float texCoord0,  flat in highp int cameraIndex,  flat in highp int instance})
70020:?     'oFragColor' (layout( location=0) out 1-element array of highp 4-component vector of float)
70030:?     'sTDNoiseMap' ( uniform highp sampler2D)
70040:?     'sTDSineLookup' ( uniform highp sampler1D)
70050:?     'sTDWhite2D' ( uniform highp sampler2D)
70060:?     'sTDWhite3D' ( uniform highp sampler3D)
70070:?     'sTDWhite2DArray' ( uniform highp sampler2DArray)
70080:?     'sTDWhiteCube' ( uniform highp samplerCube)
70090:?     'anon@1' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 4-component vector of float position,  global highp 3-component vector of float direction,  global highp 3-component vector of float diffuse,  global highp 4-component vector of float nearFar,  global highp 4-component vector of float lightSize,  global highp 4-component vector of float misc,  global highp 4-component vector of float coneLookupScaleBias,  global highp 4-component vector of float attenScaleBiasRoll, layout( column_major std140) global highp 4X4 matrix of float shadowMapMatrix, layout( column_major std140) global highp 4X4 matrix of float shadowMapCamMatrix,  global highp 4-component vector of float shadowMapRes, layout( column_major std140) global highp 4X4 matrix of float projMapMatrix} uTDLights})
70100:?     'anon@2' (layout( column_major std140) uniform block{layout( column_major std140 offset=0) uniform 1-element array of structure{ global highp 3-component vector of float color, layout( column_major std140) global highp 3X3 matrix of float rotate} uTDEnvLights})
70110:?     'uTDEnvLightBuffers' (layout( column_major std430) restrict readonly buffer 1-element array of block{layout( column_major std430 offset=0) restrict readonly buffer 9-element array of highp 3-component vector of float shCoeffs})
70120:?     'sTDInstanceT' (layout( binding=15) uniform highp samplerBuffer)
70130:?     'sTDInstanceTexCoord' (layout( binding=16) uniform highp samplerBuffer)
70140:?     'sTDInstanceColor' (layout( binding=17) uniform highp samplerBuffer)
7015
7016// Module Version 10000
7017// Generated by (magic number): 8000b
7018// Id's are bound by 939
7019
7020                              Capability Shader
7021                              Capability SampledBuffer
7022               1:             ExtInstImport  "GLSL.std.450"
7023                              MemoryModel Logical GLSL450
7024                              EntryPoint Vertex 4  "main" 207 216 226 238 256 297 905 906
7025                              Source GLSL 460
7026                              Name 4  "main"
7027                              Name 20  "iTDCamToProj(vf4;vf3;i1;b1;"
7028                              Name 16  "v"
7029                              Name 17  "uv"
7030                              Name 18  "cameraIndex"
7031                              Name 19  "applyPickMod"
7032                              Name 26  "iTDWorldToProj(vf4;vf3;i1;b1;"
7033                              Name 22  "v"
7034                              Name 23  "uv"
7035                              Name 24  "cameraIndex"
7036                              Name 25  "applyPickMod"
7037                              Name 29  "TDInstanceID("
7038                              Name 31  "TDCameraIndex("
7039                              Name 34  "TDUVUnwrapCoord("
7040                              Name 36  "TDPickID("
7041                              Name 40  "iTDConvertPickId(i1;"
7042                              Name 39  "id"
7043                              Name 42  "TDWritePickingValues("
7044                              Name 47  "TDWorldToProj(vf4;vf3;"
7045                              Name 45  "v"
7046                              Name 46  "uv"
7047                              Name 52  "TDWorldToProj(vf3;vf3;"
7048                              Name 50  "v"
7049                              Name 51  "uv"
7050                              Name 56  "TDWorldToProj(vf4;"
7051                              Name 55  "v"
7052                              Name 60  "TDWorldToProj(vf3;"
7053                              Name 59  "v"
7054                              Name 63  "TDPointColor("
7055                              Name 68  "TDInstanceTexCoord(i1;vf3;"
7056                              Name 66  "index"
7057                              Name 67  "t"
7058                              Name 72  "TDInstanceActive(i1;"
7059                              Name 71  "index"
7060                              Name 77  "iTDInstanceTranslate(i1;b1;"
7061                              Name 75  "index"
7062                              Name 76  "instanceActive"
7063                              Name 81  "TDInstanceTranslate(i1;"
7064                              Name 80  "index"
7065                              Name 86  "TDInstanceRotateMat(i1;"
7066                              Name 85  "index"
7067                              Name 89  "TDInstanceScale(i1;"
7068                              Name 88  "index"
7069                              Name 92  "TDInstancePivot(i1;"
7070                              Name 91  "index"
7071                              Name 95  "TDInstanceRotTo(i1;"
7072                              Name 94  "index"
7073                              Name 98  "TDInstanceRotUp(i1;"
7074                              Name 97  "index"
7075                              Name 103  "TDInstanceMat(i1;"
7076                              Name 102  "id"
7077                              Name 106  "TDInstanceMat3(i1;"
7078                              Name 105  "id"
7079                              Name 109  "TDInstanceMat3ForNorm(i1;"
7080                              Name 108  "id"
7081                              Name 114  "TDInstanceColor(i1;vf4;"
7082                              Name 112  "index"
7083                              Name 113  "curColor"
7084                              Name 118  "TDInstanceDeform(i1;vf4;"
7085                              Name 116  "id"
7086                              Name 117  "pos"
7087                              Name 122  "TDInstanceDeformVec(i1;vf3;"
7088                              Name 120  "id"
7089                              Name 121  "vec"
7090                              Name 126  "TDInstanceDeformNorm(i1;vf3;"
7091                              Name 124  "id"
7092                              Name 125  "vec"
7093                              Name 129  "TDInstanceDeform(vf4;"
7094                              Name 128  "pos"
7095                              Name 133  "TDInstanceDeformVec(vf3;"
7096                              Name 132  "vec"
7097                              Name 136  "TDInstanceDeformNorm(vf3;"
7098                              Name 135  "vec"
7099                              Name 139  "TDInstanceActive("
7100                              Name 141  "TDInstanceTranslate("
7101                              Name 144  "TDInstanceRotateMat("
7102                              Name 146  "TDInstanceScale("
7103                              Name 149  "TDInstanceMat("
7104                              Name 151  "TDInstanceMat3("
7105                              Name 154  "TDInstanceTexCoord(vf3;"
7106                              Name 153  "t"
7107                              Name 157  "TDInstanceColor(vf4;"
7108                              Name 156  "curColor"
7109                              Name 160  "TDSkinnedDeform(vf4;"
7110                              Name 159  "pos"
7111                              Name 163  "TDSkinnedDeformVec(vf3;"
7112                              Name 162  "vec"
7113                              Name 169  "TDFastDeformTangent(vf3;vf4;vf3;"
7114                              Name 166  "oldNorm"
7115                              Name 167  "oldTangent"
7116                              Name 168  "deformedNorm"
7117                              Name 172  "TDBoneMat(i1;"
7118                              Name 171  "index"
7119                              Name 175  "TDDeform(vf4;"
7120                              Name 174  "pos"
7121                              Name 180  "TDDeform(i1;vf3;"
7122                              Name 178  "instanceID"
7123                              Name 179  "p"
7124                              Name 183  "TDDeform(vf3;"
7125                              Name 182  "pos"
7126                              Name 187  "TDDeformVec(i1;vf3;"
7127                              Name 185  "instanceID"
7128                              Name 186  "vec"
7129                              Name 190  "TDDeformVec(vf3;"
7130                              Name 189  "vec"
7131                              Name 194  "TDDeformNorm(i1;vf3;"
7132                              Name 192  "instanceID"
7133                              Name 193  "vec"
7134                              Name 197  "TDDeformNorm(vf3;"
7135                              Name 196  "vec"
7136                              Name 200  "TDSkinnedDeformNorm(vf3;"
7137                              Name 199  "vec"
7138                              Name 202  "texcoord"
7139                              Name 207  "uv"
7140                              Name 209  "param"
7141                              Name 214  "Vertex"
7142                              MemberName 214(Vertex) 0  "color"
7143                              MemberName 214(Vertex) 1  "worldSpacePos"
7144                              MemberName 214(Vertex) 2  "texCoord0"
7145                              MemberName 214(Vertex) 3  "cameraIndex"
7146                              MemberName 214(Vertex) 4  "instance"
7147                              Name 216  "oVert"
7148                              Name 225  "worldSpacePos"
7149                              Name 226  "P"
7150                              Name 227  "param"
7151                              Name 230  "uvUnwrapCoord"
7152                              Name 232  "param"
7153                              Name 236  "gl_PerVertex"
7154                              MemberName 236(gl_PerVertex) 0  "gl_Position"
7155                              MemberName 236(gl_PerVertex) 1  "gl_PointSize"
7156                              MemberName 236(gl_PerVertex) 2  "gl_ClipDistance"
7157                              MemberName 236(gl_PerVertex) 3  "gl_CullDistance"
7158                              Name 238  ""
7159                              Name 239  "param"
7160                              Name 241  "param"
7161                              Name 246  "cameraIndex"
7162                              Name 256  "Cd"
7163                              Name 257  "param"
7164                              Name 269  "TDMatrix"
7165                              MemberName 269(TDMatrix) 0  "world"
7166                              MemberName 269(TDMatrix) 1  "worldInverse"
7167                              MemberName 269(TDMatrix) 2  "worldCam"
7168                              MemberName 269(TDMatrix) 3  "worldCamInverse"
7169                              MemberName 269(TDMatrix) 4  "cam"
7170                              MemberName 269(TDMatrix) 5  "camInverse"
7171                              MemberName 269(TDMatrix) 6  "camProj"
7172                              MemberName 269(TDMatrix) 7  "camProjInverse"
7173                              MemberName 269(TDMatrix) 8  "proj"
7174                              MemberName 269(TDMatrix) 9  "projInverse"
7175                              MemberName 269(TDMatrix) 10  "worldCamProj"
7176                              MemberName 269(TDMatrix) 11  "worldCamProjInverse"
7177                              MemberName 269(TDMatrix) 12  "quadReproject"
7178                              MemberName 269(TDMatrix) 13  "worldForNormals"
7179                              MemberName 269(TDMatrix) 14  "camForNormals"
7180                              MemberName 269(TDMatrix) 15  "worldCamForNormals"
7181                              Name 271  "TDMatricesBlock"
7182                              MemberName 271(TDMatricesBlock) 0  "uTDMats"
7183                              Name 273  ""
7184                              Name 297  "gl_InstanceIndex"
7185                              Name 299  "gl_DefaultUniformBlock"
7186                              MemberName 299(gl_DefaultUniformBlock) 0  "uTDInstanceIDOffset"
7187                              MemberName 299(gl_DefaultUniformBlock) 1  "uTDNumInstances"
7188                              MemberName 299(gl_DefaultUniformBlock) 2  "uTDAlphaTestVal"
7189                              MemberName 299(gl_DefaultUniformBlock) 3  "uConstant"
7190                              MemberName 299(gl_DefaultUniformBlock) 4  "uShadowStrength"
7191                              MemberName 299(gl_DefaultUniformBlock) 5  "uShadowColor"
7192                              MemberName 299(gl_DefaultUniformBlock) 6  "uDiffuseColor"
7193                              MemberName 299(gl_DefaultUniformBlock) 7  "uAmbientColor"
7194                              Name 301  ""
7195                              Name 325  "param"
7196                              Name 327  "param"
7197                              Name 329  "param"
7198                              Name 330  "param"
7199                              Name 340  "param"
7200                              Name 341  "param"
7201                              Name 347  "param"
7202                              Name 349  "param"
7203                              Name 358  "param"
7204                              Name 365  "coord"
7205                              Name 367  "samp"
7206                              Name 371  "sTDInstanceTexCoord"
7207                              Name 376  "v"
7208                              Name 397  "coord"
7209                              Name 399  "samp"
7210                              Name 400  "sTDInstanceT"
7211                              Name 405  "v"
7212                              Name 412  "origIndex"
7213                              Name 418  "coord"
7214                              Name 420  "samp"
7215                              Name 425  "v"
7216                              Name 446  "coord"
7217                              Name 448  "samp"
7218                              Name 453  "v"
7219                              Name 470  "v"
7220                              Name 472  "m"
7221                              Name 484  "v"
7222                              Name 493  "v"
7223                              Name 501  "v"
7224                              Name 509  "v"
7225                              Name 513  "instanceActive"
7226                              Name 514  "t"
7227                              Name 515  "param"
7228                              Name 517  "param"
7229                              Name 528  "m"
7230                              Name 534  "tt"
7231                              Name 647  "m"
7232                              Name 651  "m"
7233                              Name 652  "param"
7234                              Name 662  "coord"
7235                              Name 664  "samp"
7236                              Name 665  "sTDInstanceColor"
7237                              Name 670  "v"
7238                              Name 693  "param"
7239                              Name 705  "m"
7240                              Name 706  "param"
7241                              Name 725  "m"
7242                              Name 726  "param"
7243                              Name 745  "param"
7244                              Name 746  "param"
7245                              Name 752  "param"
7246                              Name 753  "param"
7247                              Name 759  "param"
7248                              Name 760  "param"
7249                              Name 766  "param"
7250                              Name 771  "param"
7251                              Name 776  "param"
7252                              Name 781  "param"
7253                              Name 786  "param"
7254                              Name 791  "param"
7255                              Name 796  "param"
7256                              Name 797  "param"
7257                              Name 803  "param"
7258                              Name 804  "param"
7259                              Name 821  "param"
7260                              Name 824  "param"
7261                              Name 830  "pos"
7262                              Name 836  "param"
7263                              Name 839  "param"
7264                              Name 841  "param"
7265                              Name 848  "param"
7266                              Name 849  "param"
7267                              Name 854  "param"
7268                              Name 857  "param"
7269                              Name 859  "param"
7270                              Name 866  "param"
7271                              Name 867  "param"
7272                              Name 872  "param"
7273                              Name 875  "param"
7274                              Name 877  "param"
7275                              Name 884  "param"
7276                              Name 885  "param"
7277                              Name 890  "param"
7278                              Name 896  "TDCameraInfo"
7279                              MemberName 896(TDCameraInfo) 0  "nearFar"
7280                              MemberName 896(TDCameraInfo) 1  "fog"
7281                              MemberName 896(TDCameraInfo) 2  "fogColor"
7282                              MemberName 896(TDCameraInfo) 3  "renderTOPCameraIndex"
7283                              Name 898  "TDCameraInfoBlock"
7284                              MemberName 898(TDCameraInfoBlock) 0  "uTDCamInfos"
7285                              Name 900  ""
7286                              Name 901  "TDGeneral"
7287                              MemberName 901(TDGeneral) 0  "ambientColor"
7288                              MemberName 901(TDGeneral) 1  "nearFar"
7289                              MemberName 901(TDGeneral) 2  "viewport"
7290                              MemberName 901(TDGeneral) 3  "viewportRes"
7291                              MemberName 901(TDGeneral) 4  "fog"
7292                              MemberName 901(TDGeneral) 5  "fogColor"
7293                              Name 902  "TDGeneralBlock"
7294                              MemberName 902(TDGeneralBlock) 0  "uTDGeneral"
7295                              Name 904  ""
7296                              Name 905  "N"
7297                              Name 906  "gl_VertexIndex"
7298                              Name 907  "TDLight"
7299                              MemberName 907(TDLight) 0  "position"
7300                              MemberName 907(TDLight) 1  "direction"
7301                              MemberName 907(TDLight) 2  "diffuse"
7302                              MemberName 907(TDLight) 3  "nearFar"
7303                              MemberName 907(TDLight) 4  "lightSize"
7304                              MemberName 907(TDLight) 5  "misc"
7305                              MemberName 907(TDLight) 6  "coneLookupScaleBias"
7306                              MemberName 907(TDLight) 7  "attenScaleBiasRoll"
7307                              MemberName 907(TDLight) 8  "shadowMapMatrix"
7308                              MemberName 907(TDLight) 9  "shadowMapCamMatrix"
7309                              MemberName 907(TDLight) 10  "shadowMapRes"
7310                              MemberName 907(TDLight) 11  "projMapMatrix"
7311                              Name 909  "TDLightBlock"
7312                              MemberName 909(TDLightBlock) 0  "uTDLights"
7313                              Name 911  ""
7314                              Name 912  "TDEnvLight"
7315                              MemberName 912(TDEnvLight) 0  "color"
7316                              MemberName 912(TDEnvLight) 1  "rotate"
7317                              Name 914  "TDEnvLightBlock"
7318                              MemberName 914(TDEnvLightBlock) 0  "uTDEnvLights"
7319                              Name 916  ""
7320                              Name 919  "TDEnvLightBuffer"
7321                              MemberName 919(TDEnvLightBuffer) 0  "shCoeffs"
7322                              Name 922  "uTDEnvLightBuffers"
7323                              Name 926  "mTD2DImageOutputs"
7324                              Name 930  "mTD2DArrayImageOutputs"
7325                              Name 934  "mTD3DImageOutputs"
7326                              Name 938  "mTDCubeImageOutputs"
7327                              Decorate 207(uv) Location 3
7328                              MemberDecorate 214(Vertex) 3 Flat
7329                              MemberDecorate 214(Vertex) 4 Flat
7330                              Decorate 214(Vertex) Block
7331                              Decorate 216(oVert) Location 0
7332                              Decorate 226(P) Location 0
7333                              MemberDecorate 236(gl_PerVertex) 0 BuiltIn Position
7334                              MemberDecorate 236(gl_PerVertex) 1 BuiltIn PointSize
7335                              MemberDecorate 236(gl_PerVertex) 2 BuiltIn ClipDistance
7336                              MemberDecorate 236(gl_PerVertex) 3 BuiltIn CullDistance
7337                              Decorate 236(gl_PerVertex) Block
7338                              Decorate 256(Cd) Location 2
7339                              MemberDecorate 269(TDMatrix) 0 ColMajor
7340                              MemberDecorate 269(TDMatrix) 0 Offset 0
7341                              MemberDecorate 269(TDMatrix) 0 MatrixStride 16
7342                              MemberDecorate 269(TDMatrix) 1 ColMajor
7343                              MemberDecorate 269(TDMatrix) 1 Offset 64
7344                              MemberDecorate 269(TDMatrix) 1 MatrixStride 16
7345                              MemberDecorate 269(TDMatrix) 2 ColMajor
7346                              MemberDecorate 269(TDMatrix) 2 Offset 128
7347                              MemberDecorate 269(TDMatrix) 2 MatrixStride 16
7348                              MemberDecorate 269(TDMatrix) 3 ColMajor
7349                              MemberDecorate 269(TDMatrix) 3 Offset 192
7350                              MemberDecorate 269(TDMatrix) 3 MatrixStride 16
7351                              MemberDecorate 269(TDMatrix) 4 ColMajor
7352                              MemberDecorate 269(TDMatrix) 4 Offset 256
7353                              MemberDecorate 269(TDMatrix) 4 MatrixStride 16
7354                              MemberDecorate 269(TDMatrix) 5 ColMajor
7355                              MemberDecorate 269(TDMatrix) 5 Offset 320
7356                              MemberDecorate 269(TDMatrix) 5 MatrixStride 16
7357                              MemberDecorate 269(TDMatrix) 6 ColMajor
7358                              MemberDecorate 269(TDMatrix) 6 Offset 384
7359                              MemberDecorate 269(TDMatrix) 6 MatrixStride 16
7360                              MemberDecorate 269(TDMatrix) 7 ColMajor
7361                              MemberDecorate 269(TDMatrix) 7 Offset 448
7362                              MemberDecorate 269(TDMatrix) 7 MatrixStride 16
7363                              MemberDecorate 269(TDMatrix) 8 ColMajor
7364                              MemberDecorate 269(TDMatrix) 8 Offset 512
7365                              MemberDecorate 269(TDMatrix) 8 MatrixStride 16
7366                              MemberDecorate 269(TDMatrix) 9 ColMajor
7367                              MemberDecorate 269(TDMatrix) 9 Offset 576
7368                              MemberDecorate 269(TDMatrix) 9 MatrixStride 16
7369                              MemberDecorate 269(TDMatrix) 10 ColMajor
7370                              MemberDecorate 269(TDMatrix) 10 Offset 640
7371                              MemberDecorate 269(TDMatrix) 10 MatrixStride 16
7372                              MemberDecorate 269(TDMatrix) 11 ColMajor
7373                              MemberDecorate 269(TDMatrix) 11 Offset 704
7374                              MemberDecorate 269(TDMatrix) 11 MatrixStride 16
7375                              MemberDecorate 269(TDMatrix) 12 ColMajor
7376                              MemberDecorate 269(TDMatrix) 12 Offset 768
7377                              MemberDecorate 269(TDMatrix) 12 MatrixStride 16
7378                              MemberDecorate 269(TDMatrix) 13 ColMajor
7379                              MemberDecorate 269(TDMatrix) 13 Offset 832
7380                              MemberDecorate 269(TDMatrix) 13 MatrixStride 16
7381                              MemberDecorate 269(TDMatrix) 14 ColMajor
7382                              MemberDecorate 269(TDMatrix) 14 Offset 880
7383                              MemberDecorate 269(TDMatrix) 14 MatrixStride 16
7384                              MemberDecorate 269(TDMatrix) 15 ColMajor
7385                              MemberDecorate 269(TDMatrix) 15 Offset 928
7386                              MemberDecorate 269(TDMatrix) 15 MatrixStride 16
7387                              Decorate 270 ArrayStride 976
7388                              MemberDecorate 271(TDMatricesBlock) 0 Offset 0
7389                              Decorate 271(TDMatricesBlock) Block
7390                              Decorate 273 DescriptorSet 0
7391                              Decorate 273 Binding 1
7392                              Decorate 297(gl_InstanceIndex) BuiltIn InstanceIndex
7393                              MemberDecorate 299(gl_DefaultUniformBlock) 0 Offset 0
7394                              MemberDecorate 299(gl_DefaultUniformBlock) 1 Offset 4
7395                              MemberDecorate 299(gl_DefaultUniformBlock) 2 Offset 8
7396                              MemberDecorate 299(gl_DefaultUniformBlock) 3 Offset 16
7397                              MemberDecorate 299(gl_DefaultUniformBlock) 4 Offset 28
7398                              MemberDecorate 299(gl_DefaultUniformBlock) 5 Offset 32
7399                              MemberDecorate 299(gl_DefaultUniformBlock) 6 Offset 48
7400                              MemberDecorate 299(gl_DefaultUniformBlock) 7 Offset 64
7401                              Decorate 299(gl_DefaultUniformBlock) Block
7402                              Decorate 301 DescriptorSet 0
7403                              Decorate 301 Binding 0
7404                              Decorate 371(sTDInstanceTexCoord) DescriptorSet 0
7405                              Decorate 371(sTDInstanceTexCoord) Binding 16
7406                              Decorate 400(sTDInstanceT) DescriptorSet 0
7407                              Decorate 400(sTDInstanceT) Binding 15
7408                              Decorate 665(sTDInstanceColor) DescriptorSet 0
7409                              Decorate 665(sTDInstanceColor) Binding 17
7410                              MemberDecorate 896(TDCameraInfo) 0 Offset 0
7411                              MemberDecorate 896(TDCameraInfo) 1 Offset 16
7412                              MemberDecorate 896(TDCameraInfo) 2 Offset 32
7413                              MemberDecorate 896(TDCameraInfo) 3 Offset 48
7414                              Decorate 897 ArrayStride 64
7415                              MemberDecorate 898(TDCameraInfoBlock) 0 Offset 0
7416                              Decorate 898(TDCameraInfoBlock) Block
7417                              Decorate 900 DescriptorSet 0
7418                              Decorate 900 Binding 0
7419                              MemberDecorate 901(TDGeneral) 0 Offset 0
7420                              MemberDecorate 901(TDGeneral) 1 Offset 16
7421                              MemberDecorate 901(TDGeneral) 2 Offset 32
7422                              MemberDecorate 901(TDGeneral) 3 Offset 48
7423                              MemberDecorate 901(TDGeneral) 4 Offset 64
7424                              MemberDecorate 901(TDGeneral) 5 Offset 80
7425                              MemberDecorate 902(TDGeneralBlock) 0 Offset 0
7426                              Decorate 902(TDGeneralBlock) Block
7427                              Decorate 904 DescriptorSet 0
7428                              Decorate 904 Binding 0
7429                              Decorate 905(N) Location 1
7430                              Decorate 906(gl_VertexIndex) BuiltIn VertexIndex
7431                              MemberDecorate 907(TDLight) 0 Offset 0
7432                              MemberDecorate 907(TDLight) 1 Offset 16
7433                              MemberDecorate 907(TDLight) 2 Offset 32
7434                              MemberDecorate 907(TDLight) 3 Offset 48
7435                              MemberDecorate 907(TDLight) 4 Offset 64
7436                              MemberDecorate 907(TDLight) 5 Offset 80
7437                              MemberDecorate 907(TDLight) 6 Offset 96
7438                              MemberDecorate 907(TDLight) 7 Offset 112
7439                              MemberDecorate 907(TDLight) 8 ColMajor
7440                              MemberDecorate 907(TDLight) 8 Offset 128
7441                              MemberDecorate 907(TDLight) 8 MatrixStride 16
7442                              MemberDecorate 907(TDLight) 9 ColMajor
7443                              MemberDecorate 907(TDLight) 9 Offset 192
7444                              MemberDecorate 907(TDLight) 9 MatrixStride 16
7445                              MemberDecorate 907(TDLight) 10 Offset 256
7446                              MemberDecorate 907(TDLight) 11 ColMajor
7447                              MemberDecorate 907(TDLight) 11 Offset 272
7448                              MemberDecorate 907(TDLight) 11 MatrixStride 16
7449                              Decorate 908 ArrayStride 336
7450                              MemberDecorate 909(TDLightBlock) 0 Offset 0
7451                              Decorate 909(TDLightBlock) Block
7452                              Decorate 911 DescriptorSet 0
7453                              Decorate 911 Binding 0
7454                              MemberDecorate 912(TDEnvLight) 0 Offset 0
7455                              MemberDecorate 912(TDEnvLight) 1 ColMajor
7456                              MemberDecorate 912(TDEnvLight) 1 Offset 16
7457                              MemberDecorate 912(TDEnvLight) 1 MatrixStride 16
7458                              Decorate 913 ArrayStride 64
7459                              MemberDecorate 914(TDEnvLightBlock) 0 Offset 0
7460                              Decorate 914(TDEnvLightBlock) Block
7461                              Decorate 916 DescriptorSet 0
7462                              Decorate 916 Binding 0
7463                              Decorate 918 ArrayStride 16
7464                              MemberDecorate 919(TDEnvLightBuffer) 0 Restrict
7465                              MemberDecorate 919(TDEnvLightBuffer) 0 NonWritable
7466                              MemberDecorate 919(TDEnvLightBuffer) 0 Offset 0
7467                              Decorate 919(TDEnvLightBuffer) BufferBlock
7468                              Decorate 922(uTDEnvLightBuffers) DescriptorSet 0
7469                              Decorate 922(uTDEnvLightBuffers) Binding 0
7470                              Decorate 926(mTD2DImageOutputs) DescriptorSet 0
7471                              Decorate 926(mTD2DImageOutputs) Binding 0
7472                              Decorate 930(mTD2DArrayImageOutputs) DescriptorSet 0
7473                              Decorate 930(mTD2DArrayImageOutputs) Binding 0
7474                              Decorate 934(mTD3DImageOutputs) DescriptorSet 0
7475                              Decorate 934(mTD3DImageOutputs) Binding 0
7476                              Decorate 938(mTDCubeImageOutputs) DescriptorSet 0
7477                              Decorate 938(mTDCubeImageOutputs) Binding 0
7478               2:             TypeVoid
7479               3:             TypeFunction 2
7480               6:             TypeFloat 32
7481               7:             TypeVector 6(float) 4
7482               8:             TypePointer Function 7(fvec4)
7483               9:             TypeVector 6(float) 3
7484              10:             TypePointer Function 9(fvec3)
7485              11:             TypeInt 32 1
7486              12:             TypePointer Function 11(int)
7487              13:             TypeBool
7488              14:             TypePointer Function 13(bool)
7489              15:             TypeFunction 7(fvec4) 8(ptr) 10(ptr) 12(ptr) 14(ptr)
7490              28:             TypeFunction 11(int)
7491              33:             TypeFunction 9(fvec3)
7492              38:             TypeFunction 6(float) 12(ptr)
7493              44:             TypeFunction 7(fvec4) 8(ptr) 10(ptr)
7494              49:             TypeFunction 7(fvec4) 10(ptr) 10(ptr)
7495              54:             TypeFunction 7(fvec4) 8(ptr)
7496              58:             TypeFunction 7(fvec4) 10(ptr)
7497              62:             TypeFunction 7(fvec4)
7498              65:             TypeFunction 9(fvec3) 12(ptr) 10(ptr)
7499              70:             TypeFunction 13(bool) 12(ptr)
7500              74:             TypeFunction 9(fvec3) 12(ptr) 14(ptr)
7501              79:             TypeFunction 9(fvec3) 12(ptr)
7502              83:             TypeMatrix 9(fvec3) 3
7503              84:             TypeFunction 83 12(ptr)
7504             100:             TypeMatrix 7(fvec4) 4
7505             101:             TypeFunction 100 12(ptr)
7506             111:             TypeFunction 7(fvec4) 12(ptr) 8(ptr)
7507             131:             TypeFunction 9(fvec3) 10(ptr)
7508             138:             TypeFunction 13(bool)
7509             143:             TypeFunction 83
7510             148:             TypeFunction 100
7511             165:             TypeFunction 9(fvec3) 10(ptr) 8(ptr) 10(ptr)
7512             177:             TypeFunction 7(fvec4) 12(ptr) 10(ptr)
7513             203:             TypeInt 32 0
7514             204:    203(int) Constant 8
7515             205:             TypeArray 9(fvec3) 204
7516             206:             TypePointer Input 205
7517         207(uv):    206(ptr) Variable Input
7518             208:     11(int) Constant 0
7519             210:             TypePointer Input 9(fvec3)
7520     214(Vertex):             TypeStruct 7(fvec4) 9(fvec3) 9(fvec3) 11(int) 11(int)
7521             215:             TypePointer Output 214(Vertex)
7522      216(oVert):    215(ptr) Variable Output
7523             217:     11(int) Constant 2
7524             219:             TypePointer Output 9(fvec3)
7525             221:     11(int) Constant 4
7526             223:             TypePointer Output 11(int)
7527          226(P):    210(ptr) Variable Input
7528             234:    203(int) Constant 1
7529             235:             TypeArray 6(float) 234
7530236(gl_PerVertex):             TypeStruct 7(fvec4) 6(float) 235 235
7531             237:             TypePointer Output 236(gl_PerVertex)
7532             238:    237(ptr) Variable Output
7533             244:             TypePointer Output 7(fvec4)
7534             248:     11(int) Constant 3
7535             251:     11(int) Constant 1
7536             255:             TypePointer Input 7(fvec4)
7537         256(Cd):    255(ptr) Variable Input
7538             265:    6(float) Constant 1073741824
7539             266:    6(float) Constant 0
7540             267:    7(fvec4) ConstantComposite 265 265 265 266
7541   269(TDMatrix):             TypeStruct 100 100 100 100 100 100 100 100 100 100 100 100 100 83 83 83
7542             270:             TypeArray 269(TDMatrix) 234
7543271(TDMatricesBlock):             TypeStruct 270
7544             272:             TypePointer Uniform 271(TDMatricesBlock)
7545             273:    272(ptr) Variable Uniform
7546             274:     11(int) Constant 8
7547             275:             TypePointer Uniform 100
7548             288:     11(int) Constant 6
7549             296:             TypePointer Input 11(int)
7550297(gl_InstanceIndex):    296(ptr) Variable Input
7551299(gl_DefaultUniformBlock):             TypeStruct 11(int) 11(int) 6(float) 9(fvec3) 6(float) 9(fvec3) 7(fvec4) 7(fvec4)
7552             300:             TypePointer Uniform 299(gl_DefaultUniformBlock)
7553             301:    300(ptr) Variable Uniform
7554             302:             TypePointer Uniform 11(int)
7555             316:     11(int) Constant 1073741824
7556             324:    13(bool) ConstantTrue
7557             335:    6(float) Constant 1065353216
7558             346:    9(fvec3) ConstantComposite 266 266 266
7559             368:             TypeImage 6(float) Buffer sampled format:Unknown
7560             369:             TypeSampledImage 368
7561             370:             TypePointer UniformConstant 369
7562371(sTDInstanceTexCoord):    370(ptr) Variable UniformConstant
7563             377:    203(int) Constant 0
7564             378:             TypePointer Function 6(float)
7565             387:    203(int) Constant 2
7566400(sTDInstanceT):    370(ptr) Variable UniformConstant
7567             432:    203(int) Constant 3
7568             471:             TypePointer Function 83
7569             473:    9(fvec3) ConstantComposite 335 266 266
7570             474:    9(fvec3) ConstantComposite 266 335 266
7571             475:    9(fvec3) ConstantComposite 266 266 335
7572             476:          83 ConstantComposite 473 474 475
7573             485:    9(fvec3) ConstantComposite 335 335 335
7574             524:    7(fvec4) ConstantComposite 266 266 266 266
7575             525:         100 ConstantComposite 524 524 524 524
7576             527:             TypePointer Function 100
7577             529:    7(fvec4) ConstantComposite 335 266 266 266
7578             530:    7(fvec4) ConstantComposite 266 335 266 266
7579             531:    7(fvec4) ConstantComposite 266 266 335 266
7580             532:    7(fvec4) ConstantComposite 266 266 266 335
7581             533:         100 ConstantComposite 529 530 531 532
7582665(sTDInstanceColor):    370(ptr) Variable UniformConstant
7583             730:     11(int) Constant 13
7584             731:             TypePointer Uniform 83
7585896(TDCameraInfo):             TypeStruct 7(fvec4) 7(fvec4) 7(fvec4) 11(int)
7586             897:             TypeArray 896(TDCameraInfo) 234
7587898(TDCameraInfoBlock):             TypeStruct 897
7588             899:             TypePointer Uniform 898(TDCameraInfoBlock)
7589             900:    899(ptr) Variable Uniform
7590  901(TDGeneral):             TypeStruct 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4)
7591902(TDGeneralBlock):             TypeStruct 901(TDGeneral)
7592             903:             TypePointer Uniform 902(TDGeneralBlock)
7593             904:    903(ptr) Variable Uniform
7594          905(N):    210(ptr) Variable Input
7595906(gl_VertexIndex):    296(ptr) Variable Input
7596    907(TDLight):             TypeStruct 7(fvec4) 9(fvec3) 9(fvec3) 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 100 100 7(fvec4) 100
7597             908:             TypeArray 907(TDLight) 234
7598909(TDLightBlock):             TypeStruct 908
7599             910:             TypePointer Uniform 909(TDLightBlock)
7600             911:    910(ptr) Variable Uniform
7601 912(TDEnvLight):             TypeStruct 9(fvec3) 83
7602             913:             TypeArray 912(TDEnvLight) 234
7603914(TDEnvLightBlock):             TypeStruct 913
7604             915:             TypePointer Uniform 914(TDEnvLightBlock)
7605             916:    915(ptr) Variable Uniform
7606             917:    203(int) Constant 9
7607             918:             TypeArray 9(fvec3) 917
7608919(TDEnvLightBuffer):             TypeStruct 918
7609             920:             TypeArray 919(TDEnvLightBuffer) 234
7610             921:             TypePointer Uniform 920
7611922(uTDEnvLightBuffers):    921(ptr) Variable Uniform
7612             923:             TypeImage 6(float) 2D nonsampled format:Rgba8
7613             924:             TypeArray 923 234
7614             925:             TypePointer UniformConstant 924
7615926(mTD2DImageOutputs):    925(ptr) Variable UniformConstant
7616             927:             TypeImage 6(float) 2D array nonsampled format:Rgba8
7617             928:             TypeArray 927 234
7618             929:             TypePointer UniformConstant 928
7619930(mTD2DArrayImageOutputs):    929(ptr) Variable UniformConstant
7620             931:             TypeImage 6(float) 3D nonsampled format:Rgba8
7621             932:             TypeArray 931 234
7622             933:             TypePointer UniformConstant 932
7623934(mTD3DImageOutputs):    933(ptr) Variable UniformConstant
7624             935:             TypeImage 6(float) Cube nonsampled format:Rgba8
7625             936:             TypeArray 935 234
7626             937:             TypePointer UniformConstant 936
7627938(mTDCubeImageOutputs):    937(ptr) Variable UniformConstant
7628         4(main):           2 Function None 3
7629               5:             Label
7630   202(texcoord):     10(ptr) Variable Function
7631      209(param):     10(ptr) Variable Function
7632225(worldSpacePos):      8(ptr) Variable Function
7633      227(param):     10(ptr) Variable Function
7634230(uvUnwrapCoord):     10(ptr) Variable Function
7635      232(param):     10(ptr) Variable Function
7636      239(param):      8(ptr) Variable Function
7637      241(param):     10(ptr) Variable Function
7638246(cameraIndex):     12(ptr) Variable Function
7639      257(param):      8(ptr) Variable Function
7640             211:    210(ptr) AccessChain 207(uv) 208
7641             212:    9(fvec3) Load 211
7642                              Store 209(param) 212
7643             213:    9(fvec3) FunctionCall 154(TDInstanceTexCoord(vf3;) 209(param)
7644                              Store 202(texcoord) 213
7645             218:    9(fvec3) Load 202(texcoord)
7646             220:    219(ptr) AccessChain 216(oVert) 217
7647                              Store 220 218
7648             222:     11(int) FunctionCall 29(TDInstanceID()
7649             224:    223(ptr) AccessChain 216(oVert) 221
7650                              Store 224 222
7651             228:    9(fvec3) Load 226(P)
7652                              Store 227(param) 228
7653             229:    7(fvec4) FunctionCall 183(TDDeform(vf3;) 227(param)
7654                              Store 225(worldSpacePos) 229
7655             231:    9(fvec3) FunctionCall 34(TDUVUnwrapCoord()
7656                              Store 232(param) 231
7657             233:    9(fvec3) FunctionCall 154(TDInstanceTexCoord(vf3;) 232(param)
7658                              Store 230(uvUnwrapCoord) 233
7659             240:    7(fvec4) Load 225(worldSpacePos)
7660                              Store 239(param) 240
7661             242:    9(fvec3) Load 230(uvUnwrapCoord)
7662                              Store 241(param) 242
7663             243:    7(fvec4) FunctionCall 47(TDWorldToProj(vf4;vf3;) 239(param) 241(param)
7664             245:    244(ptr) AccessChain 238 208
7665                              Store 245 243
7666             247:     11(int) FunctionCall 31(TDCameraIndex()
7667                              Store 246(cameraIndex) 247
7668             249:     11(int) Load 246(cameraIndex)
7669             250:    223(ptr) AccessChain 216(oVert) 248
7670                              Store 250 249
7671             252:    7(fvec4) Load 225(worldSpacePos)
7672             253:    9(fvec3) VectorShuffle 252 252 0 1 2
7673             254:    219(ptr) AccessChain 216(oVert) 251
7674                              Store 254 253
7675             258:    7(fvec4) Load 256(Cd)
7676                              Store 257(param) 258
7677             259:    7(fvec4) FunctionCall 157(TDInstanceColor(vf4;) 257(param)
7678             260:    244(ptr) AccessChain 216(oVert) 208
7679                              Store 260 259
7680                              Return
7681                              FunctionEnd
768220(iTDCamToProj(vf4;vf3;i1;b1;):    7(fvec4) Function None 15
7683           16(v):      8(ptr) FunctionParameter
7684          17(uv):     10(ptr) FunctionParameter
7685 18(cameraIndex):     12(ptr) FunctionParameter
768619(applyPickMod):     14(ptr) FunctionParameter
7687              21:             Label
7688             261:    13(bool) FunctionCall 139(TDInstanceActive()
7689             262:    13(bool) LogicalNot 261
7690                              SelectionMerge 264 None
7691                              BranchConditional 262 263 264
7692             263:               Label
7693                                ReturnValue 267
7694             264:             Label
7695             276:    275(ptr) AccessChain 273 208 208 274
7696             277:         100 Load 276
7697             278:    7(fvec4) Load 16(v)
7698             279:    7(fvec4) MatrixTimesVector 277 278
7699                              Store 16(v) 279
7700             280:    7(fvec4) Load 16(v)
7701                              ReturnValue 280
7702                              FunctionEnd
770326(iTDWorldToProj(vf4;vf3;i1;b1;):    7(fvec4) Function None 15
7704           22(v):      8(ptr) FunctionParameter
7705          23(uv):     10(ptr) FunctionParameter
7706 24(cameraIndex):     12(ptr) FunctionParameter
770725(applyPickMod):     14(ptr) FunctionParameter
7708              27:             Label
7709             283:    13(bool) FunctionCall 139(TDInstanceActive()
7710             284:    13(bool) LogicalNot 283
7711                              SelectionMerge 286 None
7712                              BranchConditional 284 285 286
7713             285:               Label
7714                                ReturnValue 267
7715             286:             Label
7716             289:    275(ptr) AccessChain 273 208 208 288
7717             290:         100 Load 289
7718             291:    7(fvec4) Load 22(v)
7719             292:    7(fvec4) MatrixTimesVector 290 291
7720                              Store 22(v) 292
7721             293:    7(fvec4) Load 22(v)
7722                              ReturnValue 293
7723                              FunctionEnd
772429(TDInstanceID():     11(int) Function None 28
7725              30:             Label
7726             298:     11(int) Load 297(gl_InstanceIndex)
7727             303:    302(ptr) AccessChain 301 208
7728             304:     11(int) Load 303
7729             305:     11(int) IAdd 298 304
7730                              ReturnValue 305
7731                              FunctionEnd
773231(TDCameraIndex():     11(int) Function None 28
7733              32:             Label
7734                              ReturnValue 208
7735                              FunctionEnd
773634(TDUVUnwrapCoord():    9(fvec3) Function None 33
7737              35:             Label
7738             310:    210(ptr) AccessChain 207(uv) 208
7739             311:    9(fvec3) Load 310
7740                              ReturnValue 311
7741                              FunctionEnd
7742   36(TDPickID():     11(int) Function None 28
7743              37:             Label
7744                              ReturnValue 208
7745                              FunctionEnd
774640(iTDConvertPickId(i1;):    6(float) Function None 38
7747          39(id):     12(ptr) FunctionParameter
7748              41:             Label
7749             317:     11(int) Load 39(id)
7750             318:     11(int) BitwiseOr 317 316
7751                              Store 39(id) 318
7752             319:     11(int) Load 39(id)
7753             320:    6(float) Bitcast 319
7754                              ReturnValue 320
7755                              FunctionEnd
775642(TDWritePickingValues():           2 Function None 3
7757              43:             Label
7758                              Return
7759                              FunctionEnd
776047(TDWorldToProj(vf4;vf3;):    7(fvec4) Function None 44
7761           45(v):      8(ptr) FunctionParameter
7762          46(uv):     10(ptr) FunctionParameter
7763              48:             Label
7764      325(param):      8(ptr) Variable Function
7765      327(param):     10(ptr) Variable Function
7766      329(param):     12(ptr) Variable Function
7767      330(param):     14(ptr) Variable Function
7768             323:     11(int) FunctionCall 31(TDCameraIndex()
7769             326:    7(fvec4) Load 45(v)
7770                              Store 325(param) 326
7771             328:    9(fvec3) Load 46(uv)
7772                              Store 327(param) 328
7773                              Store 329(param) 323
7774                              Store 330(param) 324
7775             331:    7(fvec4) FunctionCall 26(iTDWorldToProj(vf4;vf3;i1;b1;) 325(param) 327(param) 329(param) 330(param)
7776                              ReturnValue 331
7777                              FunctionEnd
777852(TDWorldToProj(vf3;vf3;):    7(fvec4) Function None 49
7779           50(v):     10(ptr) FunctionParameter
7780          51(uv):     10(ptr) FunctionParameter
7781              53:             Label
7782      340(param):      8(ptr) Variable Function
7783      341(param):     10(ptr) Variable Function
7784             334:    9(fvec3) Load 50(v)
7785             336:    6(float) CompositeExtract 334 0
7786             337:    6(float) CompositeExtract 334 1
7787             338:    6(float) CompositeExtract 334 2
7788             339:    7(fvec4) CompositeConstruct 336 337 338 335
7789                              Store 340(param) 339
7790             342:    9(fvec3) Load 51(uv)
7791                              Store 341(param) 342
7792             343:    7(fvec4) FunctionCall 47(TDWorldToProj(vf4;vf3;) 340(param) 341(param)
7793                              ReturnValue 343
7794                              FunctionEnd
779556(TDWorldToProj(vf4;):    7(fvec4) Function None 54
7796           55(v):      8(ptr) FunctionParameter
7797              57:             Label
7798      347(param):      8(ptr) Variable Function
7799      349(param):     10(ptr) Variable Function
7800             348:    7(fvec4) Load 55(v)
7801                              Store 347(param) 348
7802                              Store 349(param) 346
7803             350:    7(fvec4) FunctionCall 47(TDWorldToProj(vf4;vf3;) 347(param) 349(param)
7804                              ReturnValue 350
7805                              FunctionEnd
780660(TDWorldToProj(vf3;):    7(fvec4) Function None 58
7807           59(v):     10(ptr) FunctionParameter
7808              61:             Label
7809      358(param):      8(ptr) Variable Function
7810             353:    9(fvec3) Load 59(v)
7811             354:    6(float) CompositeExtract 353 0
7812             355:    6(float) CompositeExtract 353 1
7813             356:    6(float) CompositeExtract 353 2
7814             357:    7(fvec4) CompositeConstruct 354 355 356 335
7815                              Store 358(param) 357
7816             359:    7(fvec4) FunctionCall 56(TDWorldToProj(vf4;) 358(param)
7817                              ReturnValue 359
7818                              FunctionEnd
781963(TDPointColor():    7(fvec4) Function None 62
7820              64:             Label
7821             362:    7(fvec4) Load 256(Cd)
7822                              ReturnValue 362
7823                              FunctionEnd
782468(TDInstanceTexCoord(i1;vf3;):    9(fvec3) Function None 65
7825       66(index):     12(ptr) FunctionParameter
7826           67(t):     10(ptr) FunctionParameter
7827              69:             Label
7828      365(coord):     12(ptr) Variable Function
7829       367(samp):      8(ptr) Variable Function
7830          376(v):     10(ptr) Variable Function
7831             366:     11(int) Load 66(index)
7832                              Store 365(coord) 366
7833             372:         369 Load 371(sTDInstanceTexCoord)
7834             373:     11(int) Load 365(coord)
7835             374:         368 Image 372
7836             375:    7(fvec4) ImageFetch 374 373
7837                              Store 367(samp) 375
7838             379:    378(ptr) AccessChain 67(t) 377
7839             380:    6(float) Load 379
7840             381:    378(ptr) AccessChain 376(v) 377
7841                              Store 381 380
7842             382:    378(ptr) AccessChain 67(t) 234
7843             383:    6(float) Load 382
7844             384:    378(ptr) AccessChain 376(v) 234
7845                              Store 384 383
7846             385:    378(ptr) AccessChain 367(samp) 377
7847             386:    6(float) Load 385
7848             388:    378(ptr) AccessChain 376(v) 387
7849                              Store 388 386
7850             389:    9(fvec3) Load 376(v)
7851                              Store 67(t) 389
7852             390:    9(fvec3) Load 67(t)
7853                              ReturnValue 390
7854                              FunctionEnd
785572(TDInstanceActive(i1;):    13(bool) Function None 70
7856       71(index):     12(ptr) FunctionParameter
7857              73:             Label
7858      397(coord):     12(ptr) Variable Function
7859       399(samp):      8(ptr) Variable Function
7860          405(v):    378(ptr) Variable Function
7861             393:    302(ptr) AccessChain 301 208
7862             394:     11(int) Load 393
7863             395:     11(int) Load 71(index)
7864             396:     11(int) ISub 395 394
7865                              Store 71(index) 396
7866             398:     11(int) Load 71(index)
7867                              Store 397(coord) 398
7868             401:         369 Load 400(sTDInstanceT)
7869             402:     11(int) Load 397(coord)
7870             403:         368 Image 401
7871             404:    7(fvec4) ImageFetch 403 402
7872                              Store 399(samp) 404
7873             406:    378(ptr) AccessChain 399(samp) 377
7874             407:    6(float) Load 406
7875                              Store 405(v) 407
7876             408:    6(float) Load 405(v)
7877             409:    13(bool) FUnordNotEqual 408 266
7878                              ReturnValue 409
7879                              FunctionEnd
788077(iTDInstanceTranslate(i1;b1;):    9(fvec3) Function None 74
7881       75(index):     12(ptr) FunctionParameter
788276(instanceActive):     14(ptr) FunctionParameter
7883              78:             Label
7884  412(origIndex):     12(ptr) Variable Function
7885      418(coord):     12(ptr) Variable Function
7886       420(samp):      8(ptr) Variable Function
7887          425(v):     10(ptr) Variable Function
7888             413:     11(int) Load 75(index)
7889                              Store 412(origIndex) 413
7890             414:    302(ptr) AccessChain 301 208
7891             415:     11(int) Load 414
7892             416:     11(int) Load 75(index)
7893             417:     11(int) ISub 416 415
7894                              Store 75(index) 417
7895             419:     11(int) Load 75(index)
7896                              Store 418(coord) 419
7897             421:         369 Load 400(sTDInstanceT)
7898             422:     11(int) Load 418(coord)
7899             423:         368 Image 421
7900             424:    7(fvec4) ImageFetch 423 422
7901                              Store 420(samp) 424
7902             426:    378(ptr) AccessChain 420(samp) 234
7903             427:    6(float) Load 426
7904             428:    378(ptr) AccessChain 425(v) 377
7905                              Store 428 427
7906             429:    378(ptr) AccessChain 420(samp) 387
7907             430:    6(float) Load 429
7908             431:    378(ptr) AccessChain 425(v) 234
7909                              Store 431 430
7910             433:    378(ptr) AccessChain 420(samp) 432
7911             434:    6(float) Load 433
7912             435:    378(ptr) AccessChain 425(v) 387
7913                              Store 435 434
7914             436:    378(ptr) AccessChain 420(samp) 377
7915             437:    6(float) Load 436
7916             438:    13(bool) FUnordNotEqual 437 266
7917                              Store 76(instanceActive) 438
7918             439:    9(fvec3) Load 425(v)
7919                              ReturnValue 439
7920                              FunctionEnd
792181(TDInstanceTranslate(i1;):    9(fvec3) Function None 79
7922       80(index):     12(ptr) FunctionParameter
7923              82:             Label
7924      446(coord):     12(ptr) Variable Function
7925       448(samp):      8(ptr) Variable Function
7926          453(v):     10(ptr) Variable Function
7927             442:    302(ptr) AccessChain 301 208
7928             443:     11(int) Load 442
7929             444:     11(int) Load 80(index)
7930             445:     11(int) ISub 444 443
7931                              Store 80(index) 445
7932             447:     11(int) Load 80(index)
7933                              Store 446(coord) 447
7934             449:         369 Load 400(sTDInstanceT)
7935             450:     11(int) Load 446(coord)
7936             451:         368 Image 449
7937             452:    7(fvec4) ImageFetch 451 450
7938                              Store 448(samp) 452
7939             454:    378(ptr) AccessChain 448(samp) 234
7940             455:    6(float) Load 454
7941             456:    378(ptr) AccessChain 453(v) 377
7942                              Store 456 455
7943             457:    378(ptr) AccessChain 448(samp) 387
7944             458:    6(float) Load 457
7945             459:    378(ptr) AccessChain 453(v) 234
7946                              Store 459 458
7947             460:    378(ptr) AccessChain 448(samp) 432
7948             461:    6(float) Load 460
7949             462:    378(ptr) AccessChain 453(v) 387
7950                              Store 462 461
7951             463:    9(fvec3) Load 453(v)
7952                              ReturnValue 463
7953                              FunctionEnd
795486(TDInstanceRotateMat(i1;):          83 Function None 84
7955       85(index):     12(ptr) FunctionParameter
7956              87:             Label
7957          470(v):     10(ptr) Variable Function
7958          472(m):    471(ptr) Variable Function
7959             466:    302(ptr) AccessChain 301 208
7960             467:     11(int) Load 466
7961             468:     11(int) Load 85(index)
7962             469:     11(int) ISub 468 467
7963                              Store 85(index) 469
7964                              Store 470(v) 346
7965                              Store 472(m) 476
7966             477:          83 Load 472(m)
7967                              ReturnValue 477
7968                              FunctionEnd
796989(TDInstanceScale(i1;):    9(fvec3) Function None 79
7970       88(index):     12(ptr) FunctionParameter
7971              90:             Label
7972          484(v):     10(ptr) Variable Function
7973             480:    302(ptr) AccessChain 301 208
7974             481:     11(int) Load 480
7975             482:     11(int) Load 88(index)
7976             483:     11(int) ISub 482 481
7977                              Store 88(index) 483
7978                              Store 484(v) 485
7979             486:    9(fvec3) Load 484(v)
7980                              ReturnValue 486
7981                              FunctionEnd
798292(TDInstancePivot(i1;):    9(fvec3) Function None 79
7983       91(index):     12(ptr) FunctionParameter
7984              93:             Label
7985          493(v):     10(ptr) Variable Function
7986             489:    302(ptr) AccessChain 301 208
7987             490:     11(int) Load 489
7988             491:     11(int) Load 91(index)
7989             492:     11(int) ISub 491 490
7990                              Store 91(index) 492
7991                              Store 493(v) 346
7992             494:    9(fvec3) Load 493(v)
7993                              ReturnValue 494
7994                              FunctionEnd
799595(TDInstanceRotTo(i1;):    9(fvec3) Function None 79
7996       94(index):     12(ptr) FunctionParameter
7997              96:             Label
7998          501(v):     10(ptr) Variable Function
7999             497:    302(ptr) AccessChain 301 208
8000             498:     11(int) Load 497
8001             499:     11(int) Load 94(index)
8002             500:     11(int) ISub 499 498
8003                              Store 94(index) 500
8004                              Store 501(v) 475
8005             502:    9(fvec3) Load 501(v)
8006                              ReturnValue 502
8007                              FunctionEnd
800898(TDInstanceRotUp(i1;):    9(fvec3) Function None 79
8009       97(index):     12(ptr) FunctionParameter
8010              99:             Label
8011          509(v):     10(ptr) Variable Function
8012             505:    302(ptr) AccessChain 301 208
8013             506:     11(int) Load 505
8014             507:     11(int) Load 97(index)
8015             508:     11(int) ISub 507 506
8016                              Store 97(index) 508
8017                              Store 509(v) 474
8018             510:    9(fvec3) Load 509(v)
8019                              ReturnValue 510
8020                              FunctionEnd
8021103(TDInstanceMat(i1;):         100 Function None 101
8022         102(id):     12(ptr) FunctionParameter
8023             104:             Label
8024513(instanceActive):     14(ptr) Variable Function
8025          514(t):     10(ptr) Variable Function
8026      515(param):     12(ptr) Variable Function
8027      517(param):     14(ptr) Variable Function
8028          528(m):    527(ptr) Variable Function
8029         534(tt):     10(ptr) Variable Function
8030                              Store 513(instanceActive) 324
8031             516:     11(int) Load 102(id)
8032                              Store 515(param) 516
8033             518:    9(fvec3) FunctionCall 77(iTDInstanceTranslate(i1;b1;) 515(param) 517(param)
8034             519:    13(bool) Load 517(param)
8035                              Store 513(instanceActive) 519
8036                              Store 514(t) 518
8037             520:    13(bool) Load 513(instanceActive)
8038             521:    13(bool) LogicalNot 520
8039                              SelectionMerge 523 None
8040                              BranchConditional 521 522 523
8041             522:               Label
8042                                ReturnValue 525
8043             523:             Label
8044                              Store 528(m) 533
8045             535:    9(fvec3) Load 514(t)
8046                              Store 534(tt) 535
8047             536:    378(ptr) AccessChain 528(m) 208 377
8048             537:    6(float) Load 536
8049             538:    378(ptr) AccessChain 534(tt) 377
8050             539:    6(float) Load 538
8051             540:    6(float) FMul 537 539
8052             541:    378(ptr) AccessChain 528(m) 248 377
8053             542:    6(float) Load 541
8054             543:    6(float) FAdd 542 540
8055             544:    378(ptr) AccessChain 528(m) 248 377
8056                              Store 544 543
8057             545:    378(ptr) AccessChain 528(m) 208 234
8058             546:    6(float) Load 545
8059             547:    378(ptr) AccessChain 534(tt) 377
8060             548:    6(float) Load 547
8061             549:    6(float) FMul 546 548
8062             550:    378(ptr) AccessChain 528(m) 248 234
8063             551:    6(float) Load 550
8064             552:    6(float) FAdd 551 549
8065             553:    378(ptr) AccessChain 528(m) 248 234
8066                              Store 553 552
8067             554:    378(ptr) AccessChain 528(m) 208 387
8068             555:    6(float) Load 554
8069             556:    378(ptr) AccessChain 534(tt) 377
8070             557:    6(float) Load 556
8071             558:    6(float) FMul 555 557
8072             559:    378(ptr) AccessChain 528(m) 248 387
8073             560:    6(float) Load 559
8074             561:    6(float) FAdd 560 558
8075             562:    378(ptr) AccessChain 528(m) 248 387
8076                              Store 562 561
8077             563:    378(ptr) AccessChain 528(m) 208 432
8078             564:    6(float) Load 563
8079             565:    378(ptr) AccessChain 534(tt) 377
8080             566:    6(float) Load 565
8081             567:    6(float) FMul 564 566
8082             568:    378(ptr) AccessChain 528(m) 248 432
8083             569:    6(float) Load 568
8084             570:    6(float) FAdd 569 567
8085             571:    378(ptr) AccessChain 528(m) 248 432
8086                              Store 571 570
8087             572:    378(ptr) AccessChain 528(m) 251 377
8088             573:    6(float) Load 572
8089             574:    378(ptr) AccessChain 534(tt) 234
8090             575:    6(float) Load 574
8091             576:    6(float) FMul 573 575
8092             577:    378(ptr) AccessChain 528(m) 248 377
8093             578:    6(float) Load 577
8094             579:    6(float) FAdd 578 576
8095             580:    378(ptr) AccessChain 528(m) 248 377
8096                              Store 580 579
8097             581:    378(ptr) AccessChain 528(m) 251 234
8098             582:    6(float) Load 581
8099             583:    378(ptr) AccessChain 534(tt) 234
8100             584:    6(float) Load 583
8101             585:    6(float) FMul 582 584
8102             586:    378(ptr) AccessChain 528(m) 248 234
8103             587:    6(float) Load 586
8104             588:    6(float) FAdd 587 585
8105             589:    378(ptr) AccessChain 528(m) 248 234
8106                              Store 589 588
8107             590:    378(ptr) AccessChain 528(m) 251 387
8108             591:    6(float) Load 590
8109             592:    378(ptr) AccessChain 534(tt) 234
8110             593:    6(float) Load 592
8111             594:    6(float) FMul 591 593
8112             595:    378(ptr) AccessChain 528(m) 248 387
8113             596:    6(float) Load 595
8114             597:    6(float) FAdd 596 594
8115             598:    378(ptr) AccessChain 528(m) 248 387
8116                              Store 598 597
8117             599:    378(ptr) AccessChain 528(m) 251 432
8118             600:    6(float) Load 599
8119             601:    378(ptr) AccessChain 534(tt) 234
8120             602:    6(float) Load 601
8121             603:    6(float) FMul 600 602
8122             604:    378(ptr) AccessChain 528(m) 248 432
8123             605:    6(float) Load 604
8124             606:    6(float) FAdd 605 603
8125             607:    378(ptr) AccessChain 528(m) 248 432
8126                              Store 607 606
8127             608:    378(ptr) AccessChain 528(m) 217 377
8128             609:    6(float) Load 608
8129             610:    378(ptr) AccessChain 534(tt) 387
8130             611:    6(float) Load 610
8131             612:    6(float) FMul 609 611
8132             613:    378(ptr) AccessChain 528(m) 248 377
8133             614:    6(float) Load 613
8134             615:    6(float) FAdd 614 612
8135             616:    378(ptr) AccessChain 528(m) 248 377
8136                              Store 616 615
8137             617:    378(ptr) AccessChain 528(m) 217 234
8138             618:    6(float) Load 617
8139             619:    378(ptr) AccessChain 534(tt) 387
8140             620:    6(float) Load 619
8141             621:    6(float) FMul 618 620
8142             622:    378(ptr) AccessChain 528(m) 248 234
8143             623:    6(float) Load 622
8144             624:    6(float) FAdd 623 621
8145             625:    378(ptr) AccessChain 528(m) 248 234
8146                              Store 625 624
8147             626:    378(ptr) AccessChain 528(m) 217 387
8148             627:    6(float) Load 626
8149             628:    378(ptr) AccessChain 534(tt) 387
8150             629:    6(float) Load 628
8151             630:    6(float) FMul 627 629
8152             631:    378(ptr) AccessChain 528(m) 248 387
8153             632:    6(float) Load 631
8154             633:    6(float) FAdd 632 630
8155             634:    378(ptr) AccessChain 528(m) 248 387
8156                              Store 634 633
8157             635:    378(ptr) AccessChain 528(m) 217 432
8158             636:    6(float) Load 635
8159             637:    378(ptr) AccessChain 534(tt) 387
8160             638:    6(float) Load 637
8161             639:    6(float) FMul 636 638
8162             640:    378(ptr) AccessChain 528(m) 248 432
8163             641:    6(float) Load 640
8164             642:    6(float) FAdd 641 639
8165             643:    378(ptr) AccessChain 528(m) 248 432
8166                              Store 643 642
8167             644:         100 Load 528(m)
8168                              ReturnValue 644
8169                              FunctionEnd
8170106(TDInstanceMat3(i1;):          83 Function None 84
8171         105(id):     12(ptr) FunctionParameter
8172             107:             Label
8173          647(m):    471(ptr) Variable Function
8174                              Store 647(m) 476
8175             648:          83 Load 647(m)
8176                              ReturnValue 648
8177                              FunctionEnd
8178109(TDInstanceMat3ForNorm(i1;):          83 Function None 84
8179         108(id):     12(ptr) FunctionParameter
8180             110:             Label
8181          651(m):    471(ptr) Variable Function
8182      652(param):     12(ptr) Variable Function
8183             653:     11(int) Load 108(id)
8184                              Store 652(param) 653
8185             654:          83 FunctionCall 106(TDInstanceMat3(i1;) 652(param)
8186                              Store 651(m) 654
8187             655:          83 Load 651(m)
8188                              ReturnValue 655
8189                              FunctionEnd
8190114(TDInstanceColor(i1;vf4;):    7(fvec4) Function None 111
8191      112(index):     12(ptr) FunctionParameter
8192   113(curColor):      8(ptr) FunctionParameter
8193             115:             Label
8194      662(coord):     12(ptr) Variable Function
8195       664(samp):      8(ptr) Variable Function
8196          670(v):      8(ptr) Variable Function
8197             658:    302(ptr) AccessChain 301 208
8198             659:     11(int) Load 658
8199             660:     11(int) Load 112(index)
8200             661:     11(int) ISub 660 659
8201                              Store 112(index) 661
8202             663:     11(int) Load 112(index)
8203                              Store 662(coord) 663
8204             666:         369 Load 665(sTDInstanceColor)
8205             667:     11(int) Load 662(coord)
8206             668:         368 Image 666
8207             669:    7(fvec4) ImageFetch 668 667
8208                              Store 664(samp) 669
8209             671:    378(ptr) AccessChain 664(samp) 377
8210             672:    6(float) Load 671
8211             673:    378(ptr) AccessChain 670(v) 377
8212                              Store 673 672
8213             674:    378(ptr) AccessChain 664(samp) 234
8214             675:    6(float) Load 674
8215             676:    378(ptr) AccessChain 670(v) 234
8216                              Store 676 675
8217             677:    378(ptr) AccessChain 664(samp) 387
8218             678:    6(float) Load 677
8219             679:    378(ptr) AccessChain 670(v) 387
8220                              Store 679 678
8221             680:    378(ptr) AccessChain 670(v) 432
8222                              Store 680 335
8223             681:    378(ptr) AccessChain 670(v) 377
8224             682:    6(float) Load 681
8225             683:    378(ptr) AccessChain 113(curColor) 377
8226                              Store 683 682
8227             684:    378(ptr) AccessChain 670(v) 234
8228             685:    6(float) Load 684
8229             686:    378(ptr) AccessChain 113(curColor) 234
8230                              Store 686 685
8231             687:    378(ptr) AccessChain 670(v) 387
8232             688:    6(float) Load 687
8233             689:    378(ptr) AccessChain 113(curColor) 387
8234                              Store 689 688
8235             690:    7(fvec4) Load 113(curColor)
8236                              ReturnValue 690
8237                              FunctionEnd
8238118(TDInstanceDeform(i1;vf4;):    7(fvec4) Function None 111
8239         116(id):     12(ptr) FunctionParameter
8240        117(pos):      8(ptr) FunctionParameter
8241             119:             Label
8242      693(param):     12(ptr) Variable Function
8243             694:     11(int) Load 116(id)
8244                              Store 693(param) 694
8245             695:         100 FunctionCall 103(TDInstanceMat(i1;) 693(param)
8246             696:    7(fvec4) Load 117(pos)
8247             697:    7(fvec4) MatrixTimesVector 695 696
8248                              Store 117(pos) 697
8249             698:     11(int) FunctionCall 31(TDCameraIndex()
8250             699:    275(ptr) AccessChain 273 208 698 208
8251             700:         100 Load 699
8252             701:    7(fvec4) Load 117(pos)
8253             702:    7(fvec4) MatrixTimesVector 700 701
8254                              ReturnValue 702
8255                              FunctionEnd
8256122(TDInstanceDeformVec(i1;vf3;):    9(fvec3) Function None 65
8257         120(id):     12(ptr) FunctionParameter
8258        121(vec):     10(ptr) FunctionParameter
8259             123:             Label
8260          705(m):    471(ptr) Variable Function
8261      706(param):     12(ptr) Variable Function
8262             707:     11(int) Load 120(id)
8263                              Store 706(param) 707
8264             708:          83 FunctionCall 106(TDInstanceMat3(i1;) 706(param)
8265                              Store 705(m) 708
8266             709:     11(int) FunctionCall 31(TDCameraIndex()
8267             710:    275(ptr) AccessChain 273 208 709 208
8268             711:         100 Load 710
8269             712:    7(fvec4) CompositeExtract 711 0
8270             713:    9(fvec3) VectorShuffle 712 712 0 1 2
8271             714:    7(fvec4) CompositeExtract 711 1
8272             715:    9(fvec3) VectorShuffle 714 714 0 1 2
8273             716:    7(fvec4) CompositeExtract 711 2
8274             717:    9(fvec3) VectorShuffle 716 716 0 1 2
8275             718:          83 CompositeConstruct 713 715 717
8276             719:          83 Load 705(m)
8277             720:    9(fvec3) Load 121(vec)
8278             721:    9(fvec3) MatrixTimesVector 719 720
8279             722:    9(fvec3) MatrixTimesVector 718 721
8280                              ReturnValue 722
8281                              FunctionEnd
8282126(TDInstanceDeformNorm(i1;vf3;):    9(fvec3) Function None 65
8283         124(id):     12(ptr) FunctionParameter
8284        125(vec):     10(ptr) FunctionParameter
8285             127:             Label
8286          725(m):    471(ptr) Variable Function
8287      726(param):     12(ptr) Variable Function
8288             727:     11(int) Load 124(id)
8289                              Store 726(param) 727
8290             728:          83 FunctionCall 109(TDInstanceMat3ForNorm(i1;) 726(param)
8291                              Store 725(m) 728
8292             729:     11(int) FunctionCall 31(TDCameraIndex()
8293             732:    731(ptr) AccessChain 273 208 729 730
8294             733:          83 Load 732
8295             734:    9(fvec3) CompositeExtract 733 0
8296             735:    9(fvec3) CompositeExtract 733 1
8297             736:    9(fvec3) CompositeExtract 733 2
8298             737:          83 CompositeConstruct 734 735 736
8299             738:          83 Load 725(m)
8300             739:    9(fvec3) Load 125(vec)
8301             740:    9(fvec3) MatrixTimesVector 738 739
8302             741:    9(fvec3) MatrixTimesVector 737 740
8303                              ReturnValue 741
8304                              FunctionEnd
8305129(TDInstanceDeform(vf4;):    7(fvec4) Function None 54
8306        128(pos):      8(ptr) FunctionParameter
8307             130:             Label
8308      745(param):     12(ptr) Variable Function
8309      746(param):      8(ptr) Variable Function
8310             744:     11(int) FunctionCall 29(TDInstanceID()
8311                              Store 745(param) 744
8312             747:    7(fvec4) Load 128(pos)
8313                              Store 746(param) 747
8314             748:    7(fvec4) FunctionCall 118(TDInstanceDeform(i1;vf4;) 745(param) 746(param)
8315                              ReturnValue 748
8316                              FunctionEnd
8317133(TDInstanceDeformVec(vf3;):    9(fvec3) Function None 131
8318        132(vec):     10(ptr) FunctionParameter
8319             134:             Label
8320      752(param):     12(ptr) Variable Function
8321      753(param):     10(ptr) Variable Function
8322             751:     11(int) FunctionCall 29(TDInstanceID()
8323                              Store 752(param) 751
8324             754:    9(fvec3) Load 132(vec)
8325                              Store 753(param) 754
8326             755:    9(fvec3) FunctionCall 122(TDInstanceDeformVec(i1;vf3;) 752(param) 753(param)
8327                              ReturnValue 755
8328                              FunctionEnd
8329136(TDInstanceDeformNorm(vf3;):    9(fvec3) Function None 131
8330        135(vec):     10(ptr) FunctionParameter
8331             137:             Label
8332      759(param):     12(ptr) Variable Function
8333      760(param):     10(ptr) Variable Function
8334             758:     11(int) FunctionCall 29(TDInstanceID()
8335                              Store 759(param) 758
8336             761:    9(fvec3) Load 135(vec)
8337                              Store 760(param) 761
8338             762:    9(fvec3) FunctionCall 126(TDInstanceDeformNorm(i1;vf3;) 759(param) 760(param)
8339                              ReturnValue 762
8340                              FunctionEnd
8341139(TDInstanceActive():    13(bool) Function None 138
8342             140:             Label
8343      766(param):     12(ptr) Variable Function
8344             765:     11(int) FunctionCall 29(TDInstanceID()
8345                              Store 766(param) 765
8346             767:    13(bool) FunctionCall 72(TDInstanceActive(i1;) 766(param)
8347                              ReturnValue 767
8348                              FunctionEnd
8349141(TDInstanceTranslate():    9(fvec3) Function None 33
8350             142:             Label
8351      771(param):     12(ptr) Variable Function
8352             770:     11(int) FunctionCall 29(TDInstanceID()
8353                              Store 771(param) 770
8354             772:    9(fvec3) FunctionCall 81(TDInstanceTranslate(i1;) 771(param)
8355                              ReturnValue 772
8356                              FunctionEnd
8357144(TDInstanceRotateMat():          83 Function None 143
8358             145:             Label
8359      776(param):     12(ptr) Variable Function
8360             775:     11(int) FunctionCall 29(TDInstanceID()
8361                              Store 776(param) 775
8362             777:          83 FunctionCall 86(TDInstanceRotateMat(i1;) 776(param)
8363                              ReturnValue 777
8364                              FunctionEnd
8365146(TDInstanceScale():    9(fvec3) Function None 33
8366             147:             Label
8367      781(param):     12(ptr) Variable Function
8368             780:     11(int) FunctionCall 29(TDInstanceID()
8369                              Store 781(param) 780
8370             782:    9(fvec3) FunctionCall 89(TDInstanceScale(i1;) 781(param)
8371                              ReturnValue 782
8372                              FunctionEnd
8373149(TDInstanceMat():         100 Function None 148
8374             150:             Label
8375      786(param):     12(ptr) Variable Function
8376             785:     11(int) FunctionCall 29(TDInstanceID()
8377                              Store 786(param) 785
8378             787:         100 FunctionCall 103(TDInstanceMat(i1;) 786(param)
8379                              ReturnValue 787
8380                              FunctionEnd
8381151(TDInstanceMat3():          83 Function None 143
8382             152:             Label
8383      791(param):     12(ptr) Variable Function
8384             790:     11(int) FunctionCall 29(TDInstanceID()
8385                              Store 791(param) 790
8386             792:          83 FunctionCall 106(TDInstanceMat3(i1;) 791(param)
8387                              ReturnValue 792
8388                              FunctionEnd
8389154(TDInstanceTexCoord(vf3;):    9(fvec3) Function None 131
8390          153(t):     10(ptr) FunctionParameter
8391             155:             Label
8392      796(param):     12(ptr) Variable Function
8393      797(param):     10(ptr) Variable Function
8394             795:     11(int) FunctionCall 29(TDInstanceID()
8395                              Store 796(param) 795
8396             798:    9(fvec3) Load 153(t)
8397                              Store 797(param) 798
8398             799:    9(fvec3) FunctionCall 68(TDInstanceTexCoord(i1;vf3;) 796(param) 797(param)
8399                              ReturnValue 799
8400                              FunctionEnd
8401157(TDInstanceColor(vf4;):    7(fvec4) Function None 54
8402   156(curColor):      8(ptr) FunctionParameter
8403             158:             Label
8404      803(param):     12(ptr) Variable Function
8405      804(param):      8(ptr) Variable Function
8406             802:     11(int) FunctionCall 29(TDInstanceID()
8407                              Store 803(param) 802
8408             805:    7(fvec4) Load 156(curColor)
8409                              Store 804(param) 805
8410             806:    7(fvec4) FunctionCall 114(TDInstanceColor(i1;vf4;) 803(param) 804(param)
8411                              ReturnValue 806
8412                              FunctionEnd
8413160(TDSkinnedDeform(vf4;):    7(fvec4) Function None 54
8414        159(pos):      8(ptr) FunctionParameter
8415             161:             Label
8416             809:    7(fvec4) Load 159(pos)
8417                              ReturnValue 809
8418                              FunctionEnd
8419163(TDSkinnedDeformVec(vf3;):    9(fvec3) Function None 131
8420        162(vec):     10(ptr) FunctionParameter
8421             164:             Label
8422             812:    9(fvec3) Load 162(vec)
8423                              ReturnValue 812
8424                              FunctionEnd
8425169(TDFastDeformTangent(vf3;vf4;vf3;):    9(fvec3) Function None 165
8426    166(oldNorm):     10(ptr) FunctionParameter
8427 167(oldTangent):      8(ptr) FunctionParameter
8428168(deformedNorm):     10(ptr) FunctionParameter
8429             170:             Label
8430             815:    7(fvec4) Load 167(oldTangent)
8431             816:    9(fvec3) VectorShuffle 815 815 0 1 2
8432                              ReturnValue 816
8433                              FunctionEnd
8434172(TDBoneMat(i1;):         100 Function None 101
8435      171(index):     12(ptr) FunctionParameter
8436             173:             Label
8437                              ReturnValue 533
8438                              FunctionEnd
8439175(TDDeform(vf4;):    7(fvec4) Function None 54
8440        174(pos):      8(ptr) FunctionParameter
8441             176:             Label
8442      821(param):      8(ptr) Variable Function
8443      824(param):      8(ptr) Variable Function
8444             822:    7(fvec4) Load 174(pos)
8445                              Store 821(param) 822
8446             823:    7(fvec4) FunctionCall 160(TDSkinnedDeform(vf4;) 821(param)
8447                              Store 174(pos) 823
8448             825:    7(fvec4) Load 174(pos)
8449                              Store 824(param) 825
8450             826:    7(fvec4) FunctionCall 129(TDInstanceDeform(vf4;) 824(param)
8451                              Store 174(pos) 826
8452             827:    7(fvec4) Load 174(pos)
8453                              ReturnValue 827
8454                              FunctionEnd
8455180(TDDeform(i1;vf3;):    7(fvec4) Function None 177
8456 178(instanceID):     12(ptr) FunctionParameter
8457          179(p):     10(ptr) FunctionParameter
8458             181:             Label
8459        830(pos):      8(ptr) Variable Function
8460      836(param):      8(ptr) Variable Function
8461      839(param):     12(ptr) Variable Function
8462      841(param):      8(ptr) Variable Function
8463             831:    9(fvec3) Load 179(p)
8464             832:    6(float) CompositeExtract 831 0
8465             833:    6(float) CompositeExtract 831 1
8466             834:    6(float) CompositeExtract 831 2
8467             835:    7(fvec4) CompositeConstruct 832 833 834 335
8468                              Store 830(pos) 835
8469             837:    7(fvec4) Load 830(pos)
8470                              Store 836(param) 837
8471             838:    7(fvec4) FunctionCall 160(TDSkinnedDeform(vf4;) 836(param)
8472                              Store 830(pos) 838
8473             840:     11(int) Load 178(instanceID)
8474                              Store 839(param) 840
8475             842:    7(fvec4) Load 830(pos)
8476                              Store 841(param) 842
8477             843:    7(fvec4) FunctionCall 118(TDInstanceDeform(i1;vf4;) 839(param) 841(param)
8478                              Store 830(pos) 843
8479             844:    7(fvec4) Load 830(pos)
8480                              ReturnValue 844
8481                              FunctionEnd
8482183(TDDeform(vf3;):    7(fvec4) Function None 58
8483        182(pos):     10(ptr) FunctionParameter
8484             184:             Label
8485      848(param):     12(ptr) Variable Function
8486      849(param):     10(ptr) Variable Function
8487             847:     11(int) FunctionCall 29(TDInstanceID()
8488                              Store 848(param) 847
8489             850:    9(fvec3) Load 182(pos)
8490                              Store 849(param) 850
8491             851:    7(fvec4) FunctionCall 180(TDDeform(i1;vf3;) 848(param) 849(param)
8492                              ReturnValue 851
8493                              FunctionEnd
8494187(TDDeformVec(i1;vf3;):    9(fvec3) Function None 65
8495 185(instanceID):     12(ptr) FunctionParameter
8496        186(vec):     10(ptr) FunctionParameter
8497             188:             Label
8498      854(param):     10(ptr) Variable Function
8499      857(param):     12(ptr) Variable Function
8500      859(param):     10(ptr) Variable Function
8501             855:    9(fvec3) Load 186(vec)
8502                              Store 854(param) 855
8503             856:    9(fvec3) FunctionCall 163(TDSkinnedDeformVec(vf3;) 854(param)
8504                              Store 186(vec) 856
8505             858:     11(int) Load 185(instanceID)
8506                              Store 857(param) 858
8507             860:    9(fvec3) Load 186(vec)
8508                              Store 859(param) 860
8509             861:    9(fvec3) FunctionCall 122(TDInstanceDeformVec(i1;vf3;) 857(param) 859(param)
8510                              Store 186(vec) 861
8511             862:    9(fvec3) Load 186(vec)
8512                              ReturnValue 862
8513                              FunctionEnd
8514190(TDDeformVec(vf3;):    9(fvec3) Function None 131
8515        189(vec):     10(ptr) FunctionParameter
8516             191:             Label
8517      866(param):     12(ptr) Variable Function
8518      867(param):     10(ptr) Variable Function
8519             865:     11(int) FunctionCall 29(TDInstanceID()
8520                              Store 866(param) 865
8521             868:    9(fvec3) Load 189(vec)
8522                              Store 867(param) 868
8523             869:    9(fvec3) FunctionCall 187(TDDeformVec(i1;vf3;) 866(param) 867(param)
8524                              ReturnValue 869
8525                              FunctionEnd
8526194(TDDeformNorm(i1;vf3;):    9(fvec3) Function None 65
8527 192(instanceID):     12(ptr) FunctionParameter
8528        193(vec):     10(ptr) FunctionParameter
8529             195:             Label
8530      872(param):     10(ptr) Variable Function
8531      875(param):     12(ptr) Variable Function
8532      877(param):     10(ptr) Variable Function
8533             873:    9(fvec3) Load 193(vec)
8534                              Store 872(param) 873
8535             874:    9(fvec3) FunctionCall 163(TDSkinnedDeformVec(vf3;) 872(param)
8536                              Store 193(vec) 874
8537             876:     11(int) Load 192(instanceID)
8538                              Store 875(param) 876
8539             878:    9(fvec3) Load 193(vec)
8540                              Store 877(param) 878
8541             879:    9(fvec3) FunctionCall 126(TDInstanceDeformNorm(i1;vf3;) 875(param) 877(param)
8542                              Store 193(vec) 879
8543             880:    9(fvec3) Load 193(vec)
8544                              ReturnValue 880
8545                              FunctionEnd
8546197(TDDeformNorm(vf3;):    9(fvec3) Function None 131
8547        196(vec):     10(ptr) FunctionParameter
8548             198:             Label
8549      884(param):     12(ptr) Variable Function
8550      885(param):     10(ptr) Variable Function
8551             883:     11(int) FunctionCall 29(TDInstanceID()
8552                              Store 884(param) 883
8553             886:    9(fvec3) Load 196(vec)
8554                              Store 885(param) 886
8555             887:    9(fvec3) FunctionCall 194(TDDeformNorm(i1;vf3;) 884(param) 885(param)
8556                              ReturnValue 887
8557                              FunctionEnd
8558200(TDSkinnedDeformNorm(vf3;):    9(fvec3) Function None 131
8559        199(vec):     10(ptr) FunctionParameter
8560             201:             Label
8561      890(param):     10(ptr) Variable Function
8562             891:    9(fvec3) Load 199(vec)
8563                              Store 890(param) 891
8564             892:    9(fvec3) FunctionCall 163(TDSkinnedDeformVec(vf3;) 890(param)
8565                              Store 199(vec) 892
8566             893:    9(fvec3) Load 199(vec)
8567                              ReturnValue 893
8568                              FunctionEnd
8569// Module Version 10000
8570// Generated by (magic number): 8000b
8571// Id's are bound by 1297
8572
8573                              Capability Shader
8574                              Capability Sampled1D
8575                              Capability SampledBuffer
8576               1:             ExtInstImport  "GLSL.std.450"
8577                              MemoryModel Logical GLSL450
8578                              EntryPoint Fragment 4  "main" 336 429 458 485
8579                              ExecutionMode 4 OriginUpperLeft
8580                              Source GLSL 460
8581                              Name 4  "main"
8582                              Name 11  "TDColor(vf4;"
8583                              Name 10  "color"
8584                              Name 13  "TDCheckOrderIndTrans("
8585                              Name 15  "TDCheckDiscard("
8586                              Name 18  "TDDither(vf4;"
8587                              Name 17  "color"
8588                              Name 26  "TDFrontFacing(vf3;vf3;"
8589                              Name 24  "pos"
8590                              Name 25  "normal"
8591                              Name 34  "TDAttenuateLight(i1;f1;"
8592                              Name 32  "index"
8593                              Name 33  "lightDist"
8594                              Name 38  "TDAlphaTest(f1;"
8595                              Name 37  "alpha"
8596                              Name 43  "TDHardShadow(i1;vf3;"
8597                              Name 41  "lightIndex"
8598                              Name 42  "worldSpacePos"
8599                              Name 50  "TDSoftShadow(i1;vf3;i1;i1;"
8600                              Name 46  "lightIndex"
8601                              Name 47  "worldSpacePos"
8602                              Name 48  "samples"
8603                              Name 49  "steps"
8604                              Name 54  "TDSoftShadow(i1;vf3;"
8605                              Name 52  "lightIndex"
8606                              Name 53  "worldSpacePos"
8607                              Name 58  "TDShadow(i1;vf3;"
8608                              Name 56  "lightIndex"
8609                              Name 57  "worldSpacePos"
8610                              Name 64  "iTDRadicalInverse_VdC(u1;"
8611                              Name 63  "bits"
8612                              Name 70  "iTDHammersley(u1;u1;"
8613                              Name 68  "i"
8614                              Name 69  "N"
8615                              Name 77  "iTDImportanceSampleGGX(vf2;f1;vf3;"
8616                              Name 74  "Xi"
8617                              Name 75  "roughness2"
8618                              Name 76  "N"
8619                              Name 83  "iTDDistributionGGX(vf3;vf3;f1;"
8620                              Name 80  "normal"
8621                              Name 81  "half_vector"
8622                              Name 82  "roughness2"
8623                              Name 88  "iTDCalcF(vf3;f1;"
8624                              Name 86  "F0"
8625                              Name 87  "VdotH"
8626                              Name 94  "iTDCalcG(f1;f1;f1;"
8627                              Name 91  "NdotL"
8628                              Name 92  "NdotV"
8629                              Name 93  "k"
8630                              Name 96  "TDPBRResult"
8631                              MemberName 96(TDPBRResult) 0  "diffuse"
8632                              MemberName 96(TDPBRResult) 1  "specular"
8633                              MemberName 96(TDPBRResult) 2  "shadowStrength"
8634                              Name 107  "TDLightingPBR(i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1;"
8635                              Name 98  "index"
8636                              Name 99  "diffuseColor"
8637                              Name 100  "specularColor"
8638                              Name 101  "worldSpacePos"
8639                              Name 102  "normal"
8640                              Name 103  "shadowStrength"
8641                              Name 104  "shadowColor"
8642                              Name 105  "camVector"
8643                              Name 106  "roughness"
8644                              Name 122  "TDLightingPBR(vf3;vf3;f1;i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1;"
8645                              Name 110  "diffuseContrib"
8646                              Name 111  "specularContrib"
8647                              Name 112  "shadowStrengthOut"
8648                              Name 113  "index"
8649                              Name 114  "diffuseColor"
8650                              Name 115  "specularColor"
8651                              Name 116  "worldSpacePos"
8652                              Name 117  "normal"
8653                              Name 118  "shadowStrength"
8654                              Name 119  "shadowColor"
8655                              Name 120  "camVector"
8656                              Name 121  "roughness"
8657                              Name 136  "TDLightingPBR(vf3;vf3;i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1;"
8658                              Name 125  "diffuseContrib"
8659                              Name 126  "specularContrib"
8660                              Name 127  "index"
8661                              Name 128  "diffuseColor"
8662                              Name 129  "specularColor"
8663                              Name 130  "worldSpacePos"
8664                              Name 131  "normal"
8665                              Name 132  "shadowStrength"
8666                              Name 133  "shadowColor"
8667                              Name 134  "camVector"
8668                              Name 135  "roughness"
8669                              Name 146  "TDEnvLightingPBR(i1;vf3;vf3;vf3;vf3;f1;f1;"
8670                              Name 139  "index"
8671                              Name 140  "diffuseColor"
8672                              Name 141  "specularColor"
8673                              Name 142  "normal"
8674                              Name 143  "camVector"
8675                              Name 144  "roughness"
8676                              Name 145  "ambientOcclusion"
8677                              Name 158  "TDEnvLightingPBR(vf3;vf3;i1;vf3;vf3;vf3;vf3;f1;f1;"
8678                              Name 149  "diffuseContrib"
8679                              Name 150  "specularContrib"
8680                              Name 151  "index"
8681                              Name 152  "diffuseColor"
8682                              Name 153  "specularColor"
8683                              Name 154  "normal"
8684                              Name 155  "camVector"
8685                              Name 156  "roughness"
8686                              Name 157  "ambientOcclusion"
8687                              Name 160  "TDPhongResult"
8688                              MemberName 160(TDPhongResult) 0  "diffuse"
8689                              MemberName 160(TDPhongResult) 1  "specular"
8690                              MemberName 160(TDPhongResult) 2  "specular2"
8691                              MemberName 160(TDPhongResult) 3  "shadowStrength"
8692                              Name 170  "TDLighting(i1;vf3;vf3;f1;vf3;vf3;f1;f1;"
8693                              Name 162  "index"
8694                              Name 163  "worldSpacePos"
8695                              Name 164  "normal"
8696                              Name 165  "shadowStrength"
8697                              Name 166  "shadowColor"
8698                              Name 167  "camVector"
8699                              Name 168  "shininess"
8700                              Name 169  "shininess2"
8701                              Name 185  "TDLighting(vf3;vf3;vf3;f1;i1;vf3;vf3;f1;vf3;vf3;f1;f1;"
8702                              Name 173  "diffuseContrib"
8703                              Name 174  "specularContrib"
8704                              Name 175  "specularContrib2"
8705                              Name 176  "shadowStrengthOut"
8706                              Name 177  "index"
8707                              Name 178  "worldSpacePos"
8708                              Name 179  "normal"
8709                              Name 180  "shadowStrength"
8710                              Name 181  "shadowColor"
8711                              Name 182  "camVector"
8712                              Name 183  "shininess"
8713                              Name 184  "shininess2"
8714                              Name 199  "TDLighting(vf3;vf3;vf3;i1;vf3;vf3;f1;vf3;vf3;f1;f1;"
8715                              Name 188  "diffuseContrib"
8716                              Name 189  "specularContrib"
8717                              Name 190  "specularContrib2"
8718                              Name 191  "index"
8719                              Name 192  "worldSpacePos"
8720                              Name 193  "normal"
8721                              Name 194  "shadowStrength"
8722                              Name 195  "shadowColor"
8723                              Name 196  "camVector"
8724                              Name 197  "shininess"
8725                              Name 198  "shininess2"
8726                              Name 211  "TDLighting(vf3;vf3;i1;vf3;vf3;f1;vf3;vf3;f1;"
8727                              Name 202  "diffuseContrib"
8728                              Name 203  "specularContrib"
8729                              Name 204  "index"
8730                              Name 205  "worldSpacePos"
8731                              Name 206  "normal"
8732                              Name 207  "shadowStrength"
8733                              Name 208  "shadowColor"
8734                              Name 209  "camVector"
8735                              Name 210  "shininess"
8736                              Name 223  "TDLighting(vf3;vf3;vf3;i1;vf3;vf3;vf3;f1;f1;"
8737                              Name 214  "diffuseContrib"
8738                              Name 215  "specularContrib"
8739                              Name 216  "specularContrib2"
8740                              Name 217  "index"
8741                              Name 218  "worldSpacePos"
8742                              Name 219  "normal"
8743                              Name 220  "camVector"
8744                              Name 221  "shininess"
8745                              Name 222  "shininess2"
8746                              Name 233  "TDLighting(vf3;vf3;i1;vf3;vf3;vf3;f1;"
8747                              Name 226  "diffuseContrib"
8748                              Name 227  "specularContrib"
8749                              Name 228  "index"
8750                              Name 229  "worldSpacePos"
8751                              Name 230  "normal"
8752                              Name 231  "camVector"
8753                              Name 232  "shininess"
8754                              Name 240  "TDLighting(vf3;i1;vf3;vf3;"
8755                              Name 236  "diffuseContrib"
8756                              Name 237  "index"
8757                              Name 238  "worldSpacePos"
8758                              Name 239  "normal"
8759                              Name 249  "TDLighting(vf3;i1;vf3;vf3;f1;vf3;"
8760                              Name 243  "diffuseContrib"
8761                              Name 244  "index"
8762                              Name 245  "worldSpacePos"
8763                              Name 246  "normal"
8764                              Name 247  "shadowStrength"
8765                              Name 248  "shadowColor"
8766                              Name 255  "TDProjMap(i1;vf3;vf4;"
8767                              Name 252  "index"
8768                              Name 253  "worldSpacePos"
8769                              Name 254  "defaultColor"
8770                              Name 261  "TDFog(vf4;vf3;i1;"
8771                              Name 258  "color"
8772                              Name 259  "lightingSpacePosition"
8773                              Name 260  "cameraIndex"
8774                              Name 266  "TDFog(vf4;vf3;"
8775                              Name 264  "color"
8776                              Name 265  "lightingSpacePosition"
8777                              Name 271  "TDInstanceTexCoord(i1;vf3;"
8778                              Name 269  "index"
8779                              Name 270  "t"
8780                              Name 275  "TDInstanceActive(i1;"
8781                              Name 274  "index"
8782                              Name 281  "iTDInstanceTranslate(i1;b1;"
8783                              Name 279  "index"
8784                              Name 280  "instanceActive"
8785                              Name 285  "TDInstanceTranslate(i1;"
8786                              Name 284  "index"
8787                              Name 290  "TDInstanceRotateMat(i1;"
8788                              Name 289  "index"
8789                              Name 293  "TDInstanceScale(i1;"
8790                              Name 292  "index"
8791                              Name 296  "TDInstancePivot(i1;"
8792                              Name 295  "index"
8793                              Name 299  "TDInstanceRotTo(i1;"
8794                              Name 298  "index"
8795                              Name 302  "TDInstanceRotUp(i1;"
8796                              Name 301  "index"
8797                              Name 307  "TDInstanceMat(i1;"
8798                              Name 306  "id"
8799                              Name 310  "TDInstanceMat3(i1;"
8800                              Name 309  "id"
8801                              Name 313  "TDInstanceMat3ForNorm(i1;"
8802                              Name 312  "id"
8803                              Name 318  "TDInstanceColor(i1;vf4;"
8804                              Name 316  "index"
8805                              Name 317  "curColor"
8806                              Name 321  "TDOutputSwizzle(vf4;"
8807                              Name 320  "c"
8808                              Name 327  "TDOutputSwizzle(vu4;"
8809                              Name 326  "c"
8810                              Name 330  "outcol"
8811                              Name 333  "texCoord0"
8812                              Name 334  "Vertex"
8813                              MemberName 334(Vertex) 0  "color"
8814                              MemberName 334(Vertex) 1  "worldSpacePos"
8815                              MemberName 334(Vertex) 2  "texCoord0"
8816                              MemberName 334(Vertex) 3  "cameraIndex"
8817                              MemberName 334(Vertex) 4  "instance"
8818                              Name 336  "iVert"
8819                              Name 341  "actualTexZ"
8820                              Name 349  "instanceLoop"
8821                              Name 359  "colorMapColor"
8822                              Name 363  "sColorMap"
8823                              Name 367  "red"
8824                              Name 374  "gl_DefaultUniformBlock"
8825                              MemberName 374(gl_DefaultUniformBlock) 0  "uTDInstanceIDOffset"
8826                              MemberName 374(gl_DefaultUniformBlock) 1  "uTDNumInstances"
8827                              MemberName 374(gl_DefaultUniformBlock) 2  "uTDAlphaTestVal"
8828                              MemberName 374(gl_DefaultUniformBlock) 3  "uConstant"
8829                              MemberName 374(gl_DefaultUniformBlock) 4  "uShadowStrength"
8830                              MemberName 374(gl_DefaultUniformBlock) 5  "uShadowColor"
8831                              MemberName 374(gl_DefaultUniformBlock) 6  "uDiffuseColor"
8832                              MemberName 374(gl_DefaultUniformBlock) 7  "uAmbientColor"
8833                              Name 376  ""
8834                              Name 401  "alpha"
8835                              Name 409  "param"
8836                              Name 422  "param"
8837                              Name 429  "oFragColor"
8838                              Name 430  "param"
8839                              Name 435  "i"
8840                              Name 452  "d"
8841                              Name 456  "sTDNoiseMap"
8842                              Name 458  "gl_FragCoord"
8843                              Name 485  "gl_FrontFacing"
8844                              Name 555  "param"
8845                              Name 561  "a"
8846                              Name 563  "phi"
8847                              Name 568  "cosTheta"
8848                              Name 582  "sinTheta"
8849                              Name 588  "H"
8850                              Name 601  "upVector"
8851                              Name 612  "tangentX"
8852                              Name 617  "tangentY"
8853                              Name 621  "worldResult"
8854                              Name 639  "NdotH"
8855                              Name 645  "alpha2"
8856                              Name 649  "denom"
8857                              Name 686  "Gl"
8858                              Name 694  "Gv"
8859                              Name 708  "res"
8860                              Name 712  "res"
8861                              Name 713  "param"
8862                              Name 715  "param"
8863                              Name 717  "param"
8864                              Name 719  "param"
8865                              Name 721  "param"
8866                              Name 723  "param"
8867                              Name 725  "param"
8868                              Name 727  "param"
8869                              Name 729  "param"
8870                              Name 738  "res"
8871                              Name 739  "param"
8872                              Name 741  "param"
8873                              Name 743  "param"
8874                              Name 745  "param"
8875                              Name 747  "param"
8876                              Name 749  "param"
8877                              Name 751  "param"
8878                              Name 753  "param"
8879                              Name 755  "param"
8880                              Name 762  "res"
8881                              Name 766  "res"
8882                              Name 767  "param"
8883                              Name 769  "param"
8884                              Name 771  "param"
8885                              Name 773  "param"
8886                              Name 775  "param"
8887                              Name 777  "param"
8888                              Name 779  "param"
8889                              Name 790  "res"
8890                              Name 804  "res"
8891                              Name 822  "res"
8892                              Name 838  "res"
8893                              Name 852  "res"
8894                              Name 868  "res"
8895                              Name 882  "res"
8896                              Name 894  "res"
8897                              Name 917  "param"
8898                              Name 919  "param"
8899                              Name 921  "param"
8900                              Name 925  "coord"
8901                              Name 927  "samp"
8902                              Name 931  "sTDInstanceTexCoord"
8903                              Name 936  "v"
8904                              Name 955  "coord"
8905                              Name 957  "samp"
8906                              Name 958  "sTDInstanceT"
8907                              Name 963  "v"
8908                              Name 970  "origIndex"
8909                              Name 976  "coord"
8910                              Name 978  "samp"
8911                              Name 983  "v"
8912                              Name 1003  "coord"
8913                              Name 1005  "samp"
8914                              Name 1010  "v"
8915                              Name 1027  "v"
8916                              Name 1029  "m"
8917                              Name 1039  "v"
8918                              Name 1047  "v"
8919                              Name 1055  "v"
8920                              Name 1063  "v"
8921                              Name 1067  "instanceActive"
8922                              Name 1069  "t"
8923                              Name 1070  "param"
8924                              Name 1072  "param"
8925                              Name 1082  "m"
8926                              Name 1088  "tt"
8927                              Name 1201  "m"
8928                              Name 1205  "m"
8929                              Name 1206  "param"
8930                              Name 1216  "coord"
8931                              Name 1218  "samp"
8932                              Name 1219  "sTDInstanceColor"
8933                              Name 1224  "v"
8934                              Name 1253  "TDMatrix"
8935                              MemberName 1253(TDMatrix) 0  "world"
8936                              MemberName 1253(TDMatrix) 1  "worldInverse"
8937                              MemberName 1253(TDMatrix) 2  "worldCam"
8938                              MemberName 1253(TDMatrix) 3  "worldCamInverse"
8939                              MemberName 1253(TDMatrix) 4  "cam"
8940                              MemberName 1253(TDMatrix) 5  "camInverse"
8941                              MemberName 1253(TDMatrix) 6  "camProj"
8942                              MemberName 1253(TDMatrix) 7  "camProjInverse"
8943                              MemberName 1253(TDMatrix) 8  "proj"
8944                              MemberName 1253(TDMatrix) 9  "projInverse"
8945                              MemberName 1253(TDMatrix) 10  "worldCamProj"
8946                              MemberName 1253(TDMatrix) 11  "worldCamProjInverse"
8947                              MemberName 1253(TDMatrix) 12  "quadReproject"
8948                              MemberName 1253(TDMatrix) 13  "worldForNormals"
8949                              MemberName 1253(TDMatrix) 14  "camForNormals"
8950                              MemberName 1253(TDMatrix) 15  "worldCamForNormals"
8951                              Name 1255  "TDMatricesBlock"
8952                              MemberName 1255(TDMatricesBlock) 0  "uTDMats"
8953                              Name 1257  ""
8954                              Name 1258  "TDCameraInfo"
8955                              MemberName 1258(TDCameraInfo) 0  "nearFar"
8956                              MemberName 1258(TDCameraInfo) 1  "fog"
8957                              MemberName 1258(TDCameraInfo) 2  "fogColor"
8958                              MemberName 1258(TDCameraInfo) 3  "renderTOPCameraIndex"
8959                              Name 1260  "TDCameraInfoBlock"
8960                              MemberName 1260(TDCameraInfoBlock) 0  "uTDCamInfos"
8961                              Name 1262  ""
8962                              Name 1263  "TDGeneral"
8963                              MemberName 1263(TDGeneral) 0  "ambientColor"
8964                              MemberName 1263(TDGeneral) 1  "nearFar"
8965                              MemberName 1263(TDGeneral) 2  "viewport"
8966                              MemberName 1263(TDGeneral) 3  "viewportRes"
8967                              MemberName 1263(TDGeneral) 4  "fog"
8968                              MemberName 1263(TDGeneral) 5  "fogColor"
8969                              Name 1264  "TDGeneralBlock"
8970                              MemberName 1264(TDGeneralBlock) 0  "uTDGeneral"
8971                              Name 1266  ""
8972                              Name 1270  "sTDSineLookup"
8973                              Name 1271  "sTDWhite2D"
8974                              Name 1275  "sTDWhite3D"
8975                              Name 1276  "sTDWhite2DArray"
8976                              Name 1280  "sTDWhiteCube"
8977                              Name 1281  "TDLight"
8978                              MemberName 1281(TDLight) 0  "position"
8979                              MemberName 1281(TDLight) 1  "direction"
8980                              MemberName 1281(TDLight) 2  "diffuse"
8981                              MemberName 1281(TDLight) 3  "nearFar"
8982                              MemberName 1281(TDLight) 4  "lightSize"
8983                              MemberName 1281(TDLight) 5  "misc"
8984                              MemberName 1281(TDLight) 6  "coneLookupScaleBias"
8985                              MemberName 1281(TDLight) 7  "attenScaleBiasRoll"
8986                              MemberName 1281(TDLight) 8  "shadowMapMatrix"
8987                              MemberName 1281(TDLight) 9  "shadowMapCamMatrix"
8988                              MemberName 1281(TDLight) 10  "shadowMapRes"
8989                              MemberName 1281(TDLight) 11  "projMapMatrix"
8990                              Name 1283  "TDLightBlock"
8991                              MemberName 1283(TDLightBlock) 0  "uTDLights"
8992                              Name 1285  ""
8993                              Name 1286  "TDEnvLight"
8994                              MemberName 1286(TDEnvLight) 0  "color"
8995                              MemberName 1286(TDEnvLight) 1  "rotate"
8996                              Name 1288  "TDEnvLightBlock"
8997                              MemberName 1288(TDEnvLightBlock) 0  "uTDEnvLights"
8998                              Name 1290  ""
8999                              Name 1293  "TDEnvLightBuffer"
9000                              MemberName 1293(TDEnvLightBuffer) 0  "shCoeffs"
9001                              Name 1296  "uTDEnvLightBuffers"
9002                              MemberDecorate 334(Vertex) 3 Flat
9003                              MemberDecorate 334(Vertex) 4 Flat
9004                              Decorate 334(Vertex) Block
9005                              Decorate 336(iVert) Location 0
9006                              Decorate 363(sColorMap) DescriptorSet 0
9007                              Decorate 363(sColorMap) Binding 2
9008                              MemberDecorate 374(gl_DefaultUniformBlock) 0 Offset 0
9009                              MemberDecorate 374(gl_DefaultUniformBlock) 1 Offset 4
9010                              MemberDecorate 374(gl_DefaultUniformBlock) 2 Offset 8
9011                              MemberDecorate 374(gl_DefaultUniformBlock) 3 Offset 16
9012                              MemberDecorate 374(gl_DefaultUniformBlock) 4 Offset 28
9013                              MemberDecorate 374(gl_DefaultUniformBlock) 5 Offset 32
9014                              MemberDecorate 374(gl_DefaultUniformBlock) 6 Offset 48
9015                              MemberDecorate 374(gl_DefaultUniformBlock) 7 Offset 64
9016                              Decorate 374(gl_DefaultUniformBlock) Block
9017                              Decorate 376 DescriptorSet 0
9018                              Decorate 376 Binding 0
9019                              Decorate 429(oFragColor) Location 0
9020                              Decorate 456(sTDNoiseMap) DescriptorSet 0
9021                              Decorate 456(sTDNoiseMap) Binding 3
9022                              Decorate 458(gl_FragCoord) BuiltIn FragCoord
9023                              Decorate 485(gl_FrontFacing) BuiltIn FrontFacing
9024                              Decorate 931(sTDInstanceTexCoord) DescriptorSet 0
9025                              Decorate 931(sTDInstanceTexCoord) Binding 16
9026                              Decorate 958(sTDInstanceT) DescriptorSet 0
9027                              Decorate 958(sTDInstanceT) Binding 15
9028                              Decorate 1219(sTDInstanceColor) DescriptorSet 0
9029                              Decorate 1219(sTDInstanceColor) Binding 17
9030                              MemberDecorate 1253(TDMatrix) 0 ColMajor
9031                              MemberDecorate 1253(TDMatrix) 0 Offset 0
9032                              MemberDecorate 1253(TDMatrix) 0 MatrixStride 16
9033                              MemberDecorate 1253(TDMatrix) 1 ColMajor
9034                              MemberDecorate 1253(TDMatrix) 1 Offset 64
9035                              MemberDecorate 1253(TDMatrix) 1 MatrixStride 16
9036                              MemberDecorate 1253(TDMatrix) 2 ColMajor
9037                              MemberDecorate 1253(TDMatrix) 2 Offset 128
9038                              MemberDecorate 1253(TDMatrix) 2 MatrixStride 16
9039                              MemberDecorate 1253(TDMatrix) 3 ColMajor
9040                              MemberDecorate 1253(TDMatrix) 3 Offset 192
9041                              MemberDecorate 1253(TDMatrix) 3 MatrixStride 16
9042                              MemberDecorate 1253(TDMatrix) 4 ColMajor
9043                              MemberDecorate 1253(TDMatrix) 4 Offset 256
9044                              MemberDecorate 1253(TDMatrix) 4 MatrixStride 16
9045                              MemberDecorate 1253(TDMatrix) 5 ColMajor
9046                              MemberDecorate 1253(TDMatrix) 5 Offset 320
9047                              MemberDecorate 1253(TDMatrix) 5 MatrixStride 16
9048                              MemberDecorate 1253(TDMatrix) 6 ColMajor
9049                              MemberDecorate 1253(TDMatrix) 6 Offset 384
9050                              MemberDecorate 1253(TDMatrix) 6 MatrixStride 16
9051                              MemberDecorate 1253(TDMatrix) 7 ColMajor
9052                              MemberDecorate 1253(TDMatrix) 7 Offset 448
9053                              MemberDecorate 1253(TDMatrix) 7 MatrixStride 16
9054                              MemberDecorate 1253(TDMatrix) 8 ColMajor
9055                              MemberDecorate 1253(TDMatrix) 8 Offset 512
9056                              MemberDecorate 1253(TDMatrix) 8 MatrixStride 16
9057                              MemberDecorate 1253(TDMatrix) 9 ColMajor
9058                              MemberDecorate 1253(TDMatrix) 9 Offset 576
9059                              MemberDecorate 1253(TDMatrix) 9 MatrixStride 16
9060                              MemberDecorate 1253(TDMatrix) 10 ColMajor
9061                              MemberDecorate 1253(TDMatrix) 10 Offset 640
9062                              MemberDecorate 1253(TDMatrix) 10 MatrixStride 16
9063                              MemberDecorate 1253(TDMatrix) 11 ColMajor
9064                              MemberDecorate 1253(TDMatrix) 11 Offset 704
9065                              MemberDecorate 1253(TDMatrix) 11 MatrixStride 16
9066                              MemberDecorate 1253(TDMatrix) 12 ColMajor
9067                              MemberDecorate 1253(TDMatrix) 12 Offset 768
9068                              MemberDecorate 1253(TDMatrix) 12 MatrixStride 16
9069                              MemberDecorate 1253(TDMatrix) 13 ColMajor
9070                              MemberDecorate 1253(TDMatrix) 13 Offset 832
9071                              MemberDecorate 1253(TDMatrix) 13 MatrixStride 16
9072                              MemberDecorate 1253(TDMatrix) 14 ColMajor
9073                              MemberDecorate 1253(TDMatrix) 14 Offset 880
9074                              MemberDecorate 1253(TDMatrix) 14 MatrixStride 16
9075                              MemberDecorate 1253(TDMatrix) 15 ColMajor
9076                              MemberDecorate 1253(TDMatrix) 15 Offset 928
9077                              MemberDecorate 1253(TDMatrix) 15 MatrixStride 16
9078                              Decorate 1254 ArrayStride 976
9079                              MemberDecorate 1255(TDMatricesBlock) 0 Offset 0
9080                              Decorate 1255(TDMatricesBlock) Block
9081                              Decorate 1257 DescriptorSet 0
9082                              Decorate 1257 Binding 1
9083                              MemberDecorate 1258(TDCameraInfo) 0 Offset 0
9084                              MemberDecorate 1258(TDCameraInfo) 1 Offset 16
9085                              MemberDecorate 1258(TDCameraInfo) 2 Offset 32
9086                              MemberDecorate 1258(TDCameraInfo) 3 Offset 48
9087                              Decorate 1259 ArrayStride 64
9088                              MemberDecorate 1260(TDCameraInfoBlock) 0 Offset 0
9089                              Decorate 1260(TDCameraInfoBlock) Block
9090                              Decorate 1262 DescriptorSet 0
9091                              Decorate 1262 Binding 0
9092                              MemberDecorate 1263(TDGeneral) 0 Offset 0
9093                              MemberDecorate 1263(TDGeneral) 1 Offset 16
9094                              MemberDecorate 1263(TDGeneral) 2 Offset 32
9095                              MemberDecorate 1263(TDGeneral) 3 Offset 48
9096                              MemberDecorate 1263(TDGeneral) 4 Offset 64
9097                              MemberDecorate 1263(TDGeneral) 5 Offset 80
9098                              MemberDecorate 1264(TDGeneralBlock) 0 Offset 0
9099                              Decorate 1264(TDGeneralBlock) Block
9100                              Decorate 1266 DescriptorSet 0
9101                              Decorate 1266 Binding 0
9102                              Decorate 1270(sTDSineLookup) DescriptorSet 0
9103                              Decorate 1270(sTDSineLookup) Binding 0
9104                              Decorate 1271(sTDWhite2D) DescriptorSet 0
9105                              Decorate 1271(sTDWhite2D) Binding 0
9106                              Decorate 1275(sTDWhite3D) DescriptorSet 0
9107                              Decorate 1275(sTDWhite3D) Binding 0
9108                              Decorate 1276(sTDWhite2DArray) DescriptorSet 0
9109                              Decorate 1276(sTDWhite2DArray) Binding 0
9110                              Decorate 1280(sTDWhiteCube) DescriptorSet 0
9111                              Decorate 1280(sTDWhiteCube) Binding 0
9112                              MemberDecorate 1281(TDLight) 0 Offset 0
9113                              MemberDecorate 1281(TDLight) 1 Offset 16
9114                              MemberDecorate 1281(TDLight) 2 Offset 32
9115                              MemberDecorate 1281(TDLight) 3 Offset 48
9116                              MemberDecorate 1281(TDLight) 4 Offset 64
9117                              MemberDecorate 1281(TDLight) 5 Offset 80
9118                              MemberDecorate 1281(TDLight) 6 Offset 96
9119                              MemberDecorate 1281(TDLight) 7 Offset 112
9120                              MemberDecorate 1281(TDLight) 8 ColMajor
9121                              MemberDecorate 1281(TDLight) 8 Offset 128
9122                              MemberDecorate 1281(TDLight) 8 MatrixStride 16
9123                              MemberDecorate 1281(TDLight) 9 ColMajor
9124                              MemberDecorate 1281(TDLight) 9 Offset 192
9125                              MemberDecorate 1281(TDLight) 9 MatrixStride 16
9126                              MemberDecorate 1281(TDLight) 10 Offset 256
9127                              MemberDecorate 1281(TDLight) 11 ColMajor
9128                              MemberDecorate 1281(TDLight) 11 Offset 272
9129                              MemberDecorate 1281(TDLight) 11 MatrixStride 16
9130                              Decorate 1282 ArrayStride 336
9131                              MemberDecorate 1283(TDLightBlock) 0 Offset 0
9132                              Decorate 1283(TDLightBlock) Block
9133                              Decorate 1285 DescriptorSet 0
9134                              Decorate 1285 Binding 0
9135                              MemberDecorate 1286(TDEnvLight) 0 Offset 0
9136                              MemberDecorate 1286(TDEnvLight) 1 ColMajor
9137                              MemberDecorate 1286(TDEnvLight) 1 Offset 16
9138                              MemberDecorate 1286(TDEnvLight) 1 MatrixStride 16
9139                              Decorate 1287 ArrayStride 64
9140                              MemberDecorate 1288(TDEnvLightBlock) 0 Offset 0
9141                              Decorate 1288(TDEnvLightBlock) Block
9142                              Decorate 1290 DescriptorSet 0
9143                              Decorate 1290 Binding 0
9144                              Decorate 1292 ArrayStride 16
9145                              MemberDecorate 1293(TDEnvLightBuffer) 0 Restrict
9146                              MemberDecorate 1293(TDEnvLightBuffer) 0 NonWritable
9147                              MemberDecorate 1293(TDEnvLightBuffer) 0 Offset 0
9148                              Decorate 1293(TDEnvLightBuffer) BufferBlock
9149                              Decorate 1296(uTDEnvLightBuffers) DescriptorSet 0
9150                              Decorate 1296(uTDEnvLightBuffers) Binding 0
9151               2:             TypeVoid
9152               3:             TypeFunction 2
9153               6:             TypeFloat 32
9154               7:             TypeVector 6(float) 4
9155               8:             TypePointer Function 7(fvec4)
9156               9:             TypeFunction 7(fvec4) 8(ptr)
9157              20:             TypeVector 6(float) 3
9158              21:             TypePointer Function 20(fvec3)
9159              22:             TypeBool
9160              23:             TypeFunction 22(bool) 21(ptr) 21(ptr)
9161              28:             TypeInt 32 1
9162              29:             TypePointer Function 28(int)
9163              30:             TypePointer Function 6(float)
9164              31:             TypeFunction 6(float) 29(ptr) 30(ptr)
9165              36:             TypeFunction 2 30(ptr)
9166              40:             TypeFunction 6(float) 29(ptr) 21(ptr)
9167              45:             TypeFunction 6(float) 29(ptr) 21(ptr) 29(ptr) 29(ptr)
9168              60:             TypeInt 32 0
9169              61:             TypePointer Function 60(int)
9170              62:             TypeFunction 6(float) 61(ptr)
9171              66:             TypeVector 6(float) 2
9172              67:             TypeFunction 66(fvec2) 61(ptr) 61(ptr)
9173              72:             TypePointer Function 66(fvec2)
9174              73:             TypeFunction 20(fvec3) 72(ptr) 30(ptr) 21(ptr)
9175              79:             TypeFunction 6(float) 21(ptr) 21(ptr) 30(ptr)
9176              85:             TypeFunction 20(fvec3) 21(ptr) 30(ptr)
9177              90:             TypeFunction 6(float) 30(ptr) 30(ptr) 30(ptr)
9178 96(TDPBRResult):             TypeStruct 20(fvec3) 20(fvec3) 6(float)
9179              97:             TypeFunction 96(TDPBRResult) 29(ptr) 21(ptr) 21(ptr) 21(ptr) 21(ptr) 30(ptr) 21(ptr) 21(ptr) 30(ptr)
9180             109:             TypeFunction 2 21(ptr) 21(ptr) 30(ptr) 29(ptr) 21(ptr) 21(ptr) 21(ptr) 21(ptr) 30(ptr) 21(ptr) 21(ptr) 30(ptr)
9181             124:             TypeFunction 2 21(ptr) 21(ptr) 29(ptr) 21(ptr) 21(ptr) 21(ptr) 21(ptr) 30(ptr) 21(ptr) 21(ptr) 30(ptr)
9182             138:             TypeFunction 96(TDPBRResult) 29(ptr) 21(ptr) 21(ptr) 21(ptr) 21(ptr) 30(ptr) 30(ptr)
9183             148:             TypeFunction 2 21(ptr) 21(ptr) 29(ptr) 21(ptr) 21(ptr) 21(ptr) 21(ptr) 30(ptr) 30(ptr)
9184160(TDPhongResult):             TypeStruct 20(fvec3) 20(fvec3) 20(fvec3) 6(float)
9185             161:             TypeFunction 160(TDPhongResult) 29(ptr) 21(ptr) 21(ptr) 30(ptr) 21(ptr) 21(ptr) 30(ptr) 30(ptr)
9186             172:             TypeFunction 2 21(ptr) 21(ptr) 21(ptr) 30(ptr) 29(ptr) 21(ptr) 21(ptr) 30(ptr) 21(ptr) 21(ptr) 30(ptr) 30(ptr)
9187             187:             TypeFunction 2 21(ptr) 21(ptr) 21(ptr) 29(ptr) 21(ptr) 21(ptr) 30(ptr) 21(ptr) 21(ptr) 30(ptr) 30(ptr)
9188             201:             TypeFunction 2 21(ptr) 21(ptr) 29(ptr) 21(ptr) 21(ptr) 30(ptr) 21(ptr) 21(ptr) 30(ptr)
9189             213:             TypeFunction 2 21(ptr) 21(ptr) 21(ptr) 29(ptr) 21(ptr) 21(ptr) 21(ptr) 30(ptr) 30(ptr)
9190             225:             TypeFunction 2 21(ptr) 21(ptr) 29(ptr) 21(ptr) 21(ptr) 21(ptr) 30(ptr)
9191             235:             TypeFunction 2 21(ptr) 29(ptr) 21(ptr) 21(ptr)
9192             242:             TypeFunction 2 21(ptr) 29(ptr) 21(ptr) 21(ptr) 30(ptr) 21(ptr)
9193             251:             TypeFunction 7(fvec4) 29(ptr) 21(ptr) 8(ptr)
9194             257:             TypeFunction 7(fvec4) 8(ptr) 21(ptr) 29(ptr)
9195             263:             TypeFunction 7(fvec4) 8(ptr) 21(ptr)
9196             268:             TypeFunction 20(fvec3) 29(ptr) 21(ptr)
9197             273:             TypeFunction 22(bool) 29(ptr)
9198             277:             TypePointer Function 22(bool)
9199             278:             TypeFunction 20(fvec3) 29(ptr) 277(ptr)
9200             283:             TypeFunction 20(fvec3) 29(ptr)
9201             287:             TypeMatrix 20(fvec3) 3
9202             288:             TypeFunction 287 29(ptr)
9203             304:             TypeMatrix 7(fvec4) 4
9204             305:             TypeFunction 304 29(ptr)
9205             315:             TypeFunction 7(fvec4) 29(ptr) 8(ptr)
9206             323:             TypeVector 60(int) 4
9207             324:             TypePointer Function 323(ivec4)
9208             325:             TypeFunction 323(ivec4) 324(ptr)
9209             331:    6(float) Constant 0
9210             332:    7(fvec4) ConstantComposite 331 331 331 331
9211     334(Vertex):             TypeStruct 7(fvec4) 20(fvec3) 20(fvec3) 28(int) 28(int)
9212             335:             TypePointer Input 334(Vertex)
9213      336(iVert):    335(ptr) Variable Input
9214             337:     28(int) Constant 2
9215             338:             TypePointer Input 20(fvec3)
9216             342:     60(int) Constant 2
9217             347:    6(float) Constant 1157627904
9218             353:     28(int) Constant 2048
9219             360:             TypeImage 6(float) 2D array sampled format:Unknown
9220             361:             TypeSampledImage 360
9221             362:             TypePointer UniformConstant 361
9222  363(sColorMap):    362(ptr) Variable UniformConstant
9223374(gl_DefaultUniformBlock):             TypeStruct 28(int) 28(int) 6(float) 20(fvec3) 6(float) 20(fvec3) 7(fvec4) 7(fvec4)
9224             375:             TypePointer Uniform 374(gl_DefaultUniformBlock)
9225             376:    375(ptr) Variable Uniform
9226             377:     28(int) Constant 3
9227             378:             TypePointer Uniform 20(fvec3)
9228             381:     28(int) Constant 0
9229             382:             TypePointer Input 7(fvec4)
9230             390:     60(int) Constant 0
9231             393:     60(int) Constant 1
9232             402:     60(int) Constant 3
9233             403:             TypePointer Input 6(float)
9234             427:             TypeArray 7(fvec4) 393
9235             428:             TypePointer Output 427
9236 429(oFragColor):    428(ptr) Variable Output
9237             433:             TypePointer Output 7(fvec4)
9238             436:     28(int) Constant 1
9239             453:             TypeImage 6(float) 2D sampled format:Unknown
9240             454:             TypeSampledImage 453
9241             455:             TypePointer UniformConstant 454
9242456(sTDNoiseMap):    455(ptr) Variable UniformConstant
9243458(gl_FragCoord):    382(ptr) Variable Input
9244             461:    6(float) Constant 1132462080
9245             466:    6(float) Constant 1056964608
9246             484:             TypePointer Input 22(bool)
9247485(gl_FrontFacing):    484(ptr) Variable Input
9248             489:    6(float) Constant 1065353216
9249             501:     60(int) Constant 16
9250             507:     60(int) Constant 1431655765
9251             511:     60(int) Constant 2863311530
9252             516:     60(int) Constant 858993459
9253             520:     60(int) Constant 3435973836
9254             525:     60(int) Constant 252645135
9255             527:     60(int) Constant 4
9256             530:     60(int) Constant 4042322160
9257             535:     60(int) Constant 16711935
9258             537:     60(int) Constant 8
9259             540:     60(int) Constant 4278255360
9260             546:    6(float) Constant 796917760
9261             564:    6(float) Constant 1086918619
9262             605:    6(float) Constant 1065336439
9263             607:   20(fvec3) ConstantComposite 331 331 489
9264             608:   20(fvec3) ConstantComposite 489 331 331
9265             609:             TypeVector 22(bool) 3
9266             643:    6(float) Constant 897988541
9267             657:    6(float) Constant 841731191
9268             661:    6(float) Constant 1078530011
9269             670:   20(fvec3) ConstantComposite 489 489 489
9270             673:    6(float) Constant 1073741824
9271             674:    6(float) Constant 3232874585
9272             677:    6(float) Constant 1088386572
9273             707:             TypePointer Function 96(TDPBRResult)
9274             789:             TypePointer Function 160(TDPhongResult)
9275             791:   20(fvec3) ConstantComposite 331 331 331
9276             928:             TypeImage 6(float) Buffer sampled format:Unknown
9277             929:             TypeSampledImage 928
9278             930:             TypePointer UniformConstant 929
9279931(sTDInstanceTexCoord):    930(ptr) Variable UniformConstant
9280             950:             TypePointer Uniform 28(int)
9281958(sTDInstanceT):    930(ptr) Variable UniformConstant
9282            1028:             TypePointer Function 287
9283            1030:   20(fvec3) ConstantComposite 331 489 331
9284            1031:         287 ConstantComposite 608 1030 607
9285            1068:    22(bool) ConstantTrue
9286            1079:         304 ConstantComposite 332 332 332 332
9287            1081:             TypePointer Function 304
9288            1083:    7(fvec4) ConstantComposite 489 331 331 331
9289            1084:    7(fvec4) ConstantComposite 331 489 331 331
9290            1085:    7(fvec4) ConstantComposite 331 331 489 331
9291            1086:    7(fvec4) ConstantComposite 331 331 331 489
9292            1087:         304 ConstantComposite 1083 1084 1085 1086
92931219(sTDInstanceColor):    930(ptr) Variable UniformConstant
9294  1253(TDMatrix):             TypeStruct 304 304 304 304 304 304 304 304 304 304 304 304 304 287 287 287
9295            1254:             TypeArray 1253(TDMatrix) 393
92961255(TDMatricesBlock):             TypeStruct 1254
9297            1256:             TypePointer Uniform 1255(TDMatricesBlock)
9298            1257:   1256(ptr) Variable Uniform
92991258(TDCameraInfo):             TypeStruct 7(fvec4) 7(fvec4) 7(fvec4) 28(int)
9300            1259:             TypeArray 1258(TDCameraInfo) 393
93011260(TDCameraInfoBlock):             TypeStruct 1259
9302            1261:             TypePointer Uniform 1260(TDCameraInfoBlock)
9303            1262:   1261(ptr) Variable Uniform
9304 1263(TDGeneral):             TypeStruct 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4)
93051264(TDGeneralBlock):             TypeStruct 1263(TDGeneral)
9306            1265:             TypePointer Uniform 1264(TDGeneralBlock)
9307            1266:   1265(ptr) Variable Uniform
9308            1267:             TypeImage 6(float) 1D sampled format:Unknown
9309            1268:             TypeSampledImage 1267
9310            1269:             TypePointer UniformConstant 1268
93111270(sTDSineLookup):   1269(ptr) Variable UniformConstant
93121271(sTDWhite2D):    455(ptr) Variable UniformConstant
9313            1272:             TypeImage 6(float) 3D sampled format:Unknown
9314            1273:             TypeSampledImage 1272
9315            1274:             TypePointer UniformConstant 1273
93161275(sTDWhite3D):   1274(ptr) Variable UniformConstant
93171276(sTDWhite2DArray):    362(ptr) Variable UniformConstant
9318            1277:             TypeImage 6(float) Cube sampled format:Unknown
9319            1278:             TypeSampledImage 1277
9320            1279:             TypePointer UniformConstant 1278
93211280(sTDWhiteCube):   1279(ptr) Variable UniformConstant
9322   1281(TDLight):             TypeStruct 7(fvec4) 20(fvec3) 20(fvec3) 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 7(fvec4) 304 304 7(fvec4) 304
9323            1282:             TypeArray 1281(TDLight) 393
93241283(TDLightBlock):             TypeStruct 1282
9325            1284:             TypePointer Uniform 1283(TDLightBlock)
9326            1285:   1284(ptr) Variable Uniform
93271286(TDEnvLight):             TypeStruct 20(fvec3) 287
9328            1287:             TypeArray 1286(TDEnvLight) 393
93291288(TDEnvLightBlock):             TypeStruct 1287
9330            1289:             TypePointer Uniform 1288(TDEnvLightBlock)
9331            1290:   1289(ptr) Variable Uniform
9332            1291:     60(int) Constant 9
9333            1292:             TypeArray 20(fvec3) 1291
93341293(TDEnvLightBuffer):             TypeStruct 1292
9335            1294:             TypeArray 1293(TDEnvLightBuffer) 393
9336            1295:             TypePointer Uniform 1294
93371296(uTDEnvLightBuffers):   1295(ptr) Variable Uniform
9338         4(main):           2 Function None 3
9339               5:             Label
9340     330(outcol):      8(ptr) Variable Function
9341  333(texCoord0):     21(ptr) Variable Function
9342 341(actualTexZ):     30(ptr) Variable Function
9343349(instanceLoop):     30(ptr) Variable Function
9344359(colorMapColor):      8(ptr) Variable Function
9345        367(red):     30(ptr) Variable Function
9346      401(alpha):     30(ptr) Variable Function
9347      409(param):      8(ptr) Variable Function
9348      422(param):     30(ptr) Variable Function
9349      430(param):      8(ptr) Variable Function
9350          435(i):     29(ptr) Variable Function
9351             329:           2 FunctionCall 15(TDCheckDiscard()
9352                              Store 330(outcol) 332
9353             339:    338(ptr) AccessChain 336(iVert) 337
9354             340:   20(fvec3) Load 339
9355                              Store 333(texCoord0) 340
9356             343:     30(ptr) AccessChain 333(texCoord0) 342
9357             344:    6(float) Load 343
9358             345:     28(int) ConvertFToS 344
9359             346:    6(float) ConvertSToF 345
9360             348:    6(float) FMod 346 347
9361                              Store 341(actualTexZ) 348
9362             350:     30(ptr) AccessChain 333(texCoord0) 342
9363             351:    6(float) Load 350
9364             352:     28(int) ConvertFToS 351
9365             354:     28(int) SDiv 352 353
9366             355:    6(float) ConvertSToF 354
9367             356:    6(float) ExtInst 1(GLSL.std.450) 8(Floor) 355
9368                              Store 349(instanceLoop) 356
9369             357:    6(float) Load 341(actualTexZ)
9370             358:     30(ptr) AccessChain 333(texCoord0) 342
9371                              Store 358 357
9372             364:         361 Load 363(sColorMap)
9373             365:   20(fvec3) Load 333(texCoord0)
9374             366:    7(fvec4) ImageSampleImplicitLod 364 365
9375                              Store 359(colorMapColor) 366
9376             368:    6(float) Load 349(instanceLoop)
9377             369:     28(int) ConvertFToS 368
9378             370:     30(ptr) AccessChain 359(colorMapColor) 369
9379             371:    6(float) Load 370
9380                              Store 367(red) 371
9381             372:    6(float) Load 367(red)
9382             373:    7(fvec4) CompositeConstruct 372 372 372 372
9383                              Store 359(colorMapColor) 373
9384             379:    378(ptr) AccessChain 376 377
9385             380:   20(fvec3) Load 379
9386             383:    382(ptr) AccessChain 336(iVert) 381
9387             384:    7(fvec4) Load 383
9388             385:   20(fvec3) VectorShuffle 384 384 0 1 2
9389             386:   20(fvec3) FMul 380 385
9390             387:    7(fvec4) Load 330(outcol)
9391             388:   20(fvec3) VectorShuffle 387 387 0 1 2
9392             389:   20(fvec3) FAdd 388 386
9393             391:     30(ptr) AccessChain 330(outcol) 390
9394             392:    6(float) CompositeExtract 389 0
9395                              Store 391 392
9396             394:     30(ptr) AccessChain 330(outcol) 393
9397             395:    6(float) CompositeExtract 389 1
9398                              Store 394 395
9399             396:     30(ptr) AccessChain 330(outcol) 342
9400             397:    6(float) CompositeExtract 389 2
9401                              Store 396 397
9402             398:    7(fvec4) Load 359(colorMapColor)
9403             399:    7(fvec4) Load 330(outcol)
9404             400:    7(fvec4) FMul 399 398
9405                              Store 330(outcol) 400
9406             404:    403(ptr) AccessChain 336(iVert) 381 402
9407             405:    6(float) Load 404
9408             406:     30(ptr) AccessChain 359(colorMapColor) 402
9409             407:    6(float) Load 406
9410             408:    6(float) FMul 405 407
9411                              Store 401(alpha) 408
9412             410:    7(fvec4) Load 330(outcol)
9413                              Store 409(param) 410
9414             411:    7(fvec4) FunctionCall 18(TDDither(vf4;) 409(param)
9415                              Store 330(outcol) 411
9416             412:    6(float) Load 401(alpha)
9417             413:    7(fvec4) Load 330(outcol)
9418             414:   20(fvec3) VectorShuffle 413 413 0 1 2
9419             415:   20(fvec3) VectorTimesScalar 414 412
9420             416:     30(ptr) AccessChain 330(outcol) 390
9421             417:    6(float) CompositeExtract 415 0
9422                              Store 416 417
9423             418:     30(ptr) AccessChain 330(outcol) 393
9424             419:    6(float) CompositeExtract 415 1
9425                              Store 418 419
9426             420:     30(ptr) AccessChain 330(outcol) 342
9427             421:    6(float) CompositeExtract 415 2
9428                              Store 420 421
9429             423:    6(float) Load 401(alpha)
9430                              Store 422(param) 423
9431             424:           2 FunctionCall 38(TDAlphaTest(f1;) 422(param)
9432             425:    6(float) Load 401(alpha)
9433             426:     30(ptr) AccessChain 330(outcol) 402
9434                              Store 426 425
9435             431:    7(fvec4) Load 330(outcol)
9436                              Store 430(param) 431
9437             432:    7(fvec4) FunctionCall 321(TDOutputSwizzle(vf4;) 430(param)
9438             434:    433(ptr) AccessChain 429(oFragColor) 381
9439                              Store 434 432
9440                              Store 435(i) 436
9441                              Branch 437
9442             437:             Label
9443                              LoopMerge 439 440 None
9444                              Branch 441
9445             441:             Label
9446             442:     28(int) Load 435(i)
9447             443:    22(bool) SLessThan 442 436
9448                              BranchConditional 443 438 439
9449             438:               Label
9450             444:     28(int)   Load 435(i)
9451             445:    433(ptr)   AccessChain 429(oFragColor) 444
9452                                Store 445 332
9453                                Branch 440
9454             440:               Label
9455             446:     28(int)   Load 435(i)
9456             447:     28(int)   IAdd 446 436
9457                                Store 435(i) 447
9458                                Branch 437
9459             439:             Label
9460                              Return
9461                              FunctionEnd
946211(TDColor(vf4;):    7(fvec4) Function None 9
9463       10(color):      8(ptr) FunctionParameter
9464              12:             Label
9465             448:    7(fvec4) Load 10(color)
9466                              ReturnValue 448
9467                              FunctionEnd
946813(TDCheckOrderIndTrans():           2 Function None 3
9469              14:             Label
9470                              Return
9471                              FunctionEnd
947215(TDCheckDiscard():           2 Function None 3
9473              16:             Label
9474             451:           2 FunctionCall 13(TDCheckOrderIndTrans()
9475                              Return
9476                              FunctionEnd
947718(TDDither(vf4;):    7(fvec4) Function None 9
9478       17(color):      8(ptr) FunctionParameter
9479              19:             Label
9480          452(d):     30(ptr) Variable Function
9481             457:         454 Load 456(sTDNoiseMap)
9482             459:    7(fvec4) Load 458(gl_FragCoord)
9483             460:   66(fvec2) VectorShuffle 459 459 0 1
9484             462:   66(fvec2) CompositeConstruct 461 461
9485             463:   66(fvec2) FDiv 460 462
9486             464:    7(fvec4) ImageSampleImplicitLod 457 463
9487             465:    6(float) CompositeExtract 464 0
9488                              Store 452(d) 465
9489             467:    6(float) Load 452(d)
9490             468:    6(float) FSub 467 466
9491                              Store 452(d) 468
9492             469:    6(float) Load 452(d)
9493             470:    6(float) FDiv 469 461
9494                              Store 452(d) 470
9495             471:    7(fvec4) Load 17(color)
9496             472:   20(fvec3) VectorShuffle 471 471 0 1 2
9497             473:    6(float) Load 452(d)
9498             474:   20(fvec3) CompositeConstruct 473 473 473
9499             475:   20(fvec3) FAdd 472 474
9500             476:     30(ptr) AccessChain 17(color) 402
9501             477:    6(float) Load 476
9502             478:    6(float) CompositeExtract 475 0
9503             479:    6(float) CompositeExtract 475 1
9504             480:    6(float) CompositeExtract 475 2
9505             481:    7(fvec4) CompositeConstruct 478 479 480 477
9506                              ReturnValue 481
9507                              FunctionEnd
950826(TDFrontFacing(vf3;vf3;):    22(bool) Function None 23
9509         24(pos):     21(ptr) FunctionParameter
9510      25(normal):     21(ptr) FunctionParameter
9511              27:             Label
9512             486:    22(bool) Load 485(gl_FrontFacing)
9513                              ReturnValue 486
9514                              FunctionEnd
951534(TDAttenuateLight(i1;f1;):    6(float) Function None 31
9516       32(index):     29(ptr) FunctionParameter
9517   33(lightDist):     30(ptr) FunctionParameter
9518              35:             Label
9519                              ReturnValue 489
9520                              FunctionEnd
952138(TDAlphaTest(f1;):           2 Function None 36
9522       37(alpha):     30(ptr) FunctionParameter
9523              39:             Label
9524                              Return
9525                              FunctionEnd
952643(TDHardShadow(i1;vf3;):    6(float) Function None 40
9527  41(lightIndex):     29(ptr) FunctionParameter
952842(worldSpacePos):     21(ptr) FunctionParameter
9529              44:             Label
9530                              ReturnValue 331
9531                              FunctionEnd
953250(TDSoftShadow(i1;vf3;i1;i1;):    6(float) Function None 45
9533  46(lightIndex):     29(ptr) FunctionParameter
953447(worldSpacePos):     21(ptr) FunctionParameter
9535     48(samples):     29(ptr) FunctionParameter
9536       49(steps):     29(ptr) FunctionParameter
9537              51:             Label
9538                              ReturnValue 331
9539                              FunctionEnd
954054(TDSoftShadow(i1;vf3;):    6(float) Function None 40
9541  52(lightIndex):     29(ptr) FunctionParameter
954253(worldSpacePos):     21(ptr) FunctionParameter
9543              55:             Label
9544                              ReturnValue 331
9545                              FunctionEnd
954658(TDShadow(i1;vf3;):    6(float) Function None 40
9547  56(lightIndex):     29(ptr) FunctionParameter
954857(worldSpacePos):     21(ptr) FunctionParameter
9549              59:             Label
9550                              ReturnValue 331
9551                              FunctionEnd
955264(iTDRadicalInverse_VdC(u1;):    6(float) Function None 62
9553        63(bits):     61(ptr) FunctionParameter
9554              65:             Label
9555             500:     60(int) Load 63(bits)
9556             502:     60(int) ShiftLeftLogical 500 501
9557             503:     60(int) Load 63(bits)
9558             504:     60(int) ShiftRightLogical 503 501
9559             505:     60(int) BitwiseOr 502 504
9560                              Store 63(bits) 505
9561             506:     60(int) Load 63(bits)
9562             508:     60(int) BitwiseAnd 506 507
9563             509:     60(int) ShiftLeftLogical 508 393
9564             510:     60(int) Load 63(bits)
9565             512:     60(int) BitwiseAnd 510 511
9566             513:     60(int) ShiftRightLogical 512 393
9567             514:     60(int) BitwiseOr 509 513
9568                              Store 63(bits) 514
9569             515:     60(int) Load 63(bits)
9570             517:     60(int) BitwiseAnd 515 516
9571             518:     60(int) ShiftLeftLogical 517 342
9572             519:     60(int) Load 63(bits)
9573             521:     60(int) BitwiseAnd 519 520
9574             522:     60(int) ShiftRightLogical 521 342
9575             523:     60(int) BitwiseOr 518 522
9576                              Store 63(bits) 523
9577             524:     60(int) Load 63(bits)
9578             526:     60(int) BitwiseAnd 524 525
9579             528:     60(int) ShiftLeftLogical 526 527
9580             529:     60(int) Load 63(bits)
9581             531:     60(int) BitwiseAnd 529 530
9582             532:     60(int) ShiftRightLogical 531 527
9583             533:     60(int) BitwiseOr 528 532
9584                              Store 63(bits) 533
9585             534:     60(int) Load 63(bits)
9586             536:     60(int) BitwiseAnd 534 535
9587             538:     60(int) ShiftLeftLogical 536 537
9588             539:     60(int) Load 63(bits)
9589             541:     60(int) BitwiseAnd 539 540
9590             542:     60(int) ShiftRightLogical 541 537
9591             543:     60(int) BitwiseOr 538 542
9592                              Store 63(bits) 543
9593             544:     60(int) Load 63(bits)
9594             545:    6(float) ConvertUToF 544
9595             547:    6(float) FMul 545 546
9596                              ReturnValue 547
9597                              FunctionEnd
959870(iTDHammersley(u1;u1;):   66(fvec2) Function None 67
9599           68(i):     61(ptr) FunctionParameter
9600           69(N):     61(ptr) FunctionParameter
9601              71:             Label
9602      555(param):     61(ptr) Variable Function
9603             550:     60(int) Load 68(i)
9604             551:    6(float) ConvertUToF 550
9605             552:     60(int) Load 69(N)
9606             553:    6(float) ConvertUToF 552
9607             554:    6(float) FDiv 551 553
9608             556:     60(int) Load 68(i)
9609                              Store 555(param) 556
9610             557:    6(float) FunctionCall 64(iTDRadicalInverse_VdC(u1;) 555(param)
9611             558:   66(fvec2) CompositeConstruct 554 557
9612                              ReturnValue 558
9613                              FunctionEnd
961477(iTDImportanceSampleGGX(vf2;f1;vf3;):   20(fvec3) Function None 73
9615          74(Xi):     72(ptr) FunctionParameter
9616  75(roughness2):     30(ptr) FunctionParameter
9617           76(N):     21(ptr) FunctionParameter
9618              78:             Label
9619          561(a):     30(ptr) Variable Function
9620        563(phi):     30(ptr) Variable Function
9621   568(cosTheta):     30(ptr) Variable Function
9622   582(sinTheta):     30(ptr) Variable Function
9623          588(H):     21(ptr) Variable Function
9624   601(upVector):     21(ptr) Variable Function
9625   612(tangentX):     21(ptr) Variable Function
9626   617(tangentY):     21(ptr) Variable Function
9627621(worldResult):     21(ptr) Variable Function
9628             562:    6(float) Load 75(roughness2)
9629                              Store 561(a) 562
9630             565:     30(ptr) AccessChain 74(Xi) 390
9631             566:    6(float) Load 565
9632             567:    6(float) FMul 564 566
9633                              Store 563(phi) 567
9634             569:     30(ptr) AccessChain 74(Xi) 393
9635             570:    6(float) Load 569
9636             571:    6(float) FSub 489 570
9637             572:    6(float) Load 561(a)
9638             573:    6(float) Load 561(a)
9639             574:    6(float) FMul 572 573
9640             575:    6(float) FSub 574 489
9641             576:     30(ptr) AccessChain 74(Xi) 393
9642             577:    6(float) Load 576
9643             578:    6(float) FMul 575 577
9644             579:    6(float) FAdd 489 578
9645             580:    6(float) FDiv 571 579
9646             581:    6(float) ExtInst 1(GLSL.std.450) 31(Sqrt) 580
9647                              Store 568(cosTheta) 581
9648             583:    6(float) Load 568(cosTheta)
9649             584:    6(float) Load 568(cosTheta)
9650             585:    6(float) FMul 583 584
9651             586:    6(float) FSub 489 585
9652             587:    6(float) ExtInst 1(GLSL.std.450) 31(Sqrt) 586
9653                              Store 582(sinTheta) 587
9654             589:    6(float) Load 582(sinTheta)
9655             590:    6(float) Load 563(phi)
9656             591:    6(float) ExtInst 1(GLSL.std.450) 14(Cos) 590
9657             592:    6(float) FMul 589 591
9658             593:     30(ptr) AccessChain 588(H) 390
9659                              Store 593 592
9660             594:    6(float) Load 582(sinTheta)
9661             595:    6(float) Load 563(phi)
9662             596:    6(float) ExtInst 1(GLSL.std.450) 13(Sin) 595
9663             597:    6(float) FMul 594 596
9664             598:     30(ptr) AccessChain 588(H) 393
9665                              Store 598 597
9666             599:    6(float) Load 568(cosTheta)
9667             600:     30(ptr) AccessChain 588(H) 342
9668                              Store 600 599
9669             602:     30(ptr) AccessChain 76(N) 342
9670             603:    6(float) Load 602
9671             604:    6(float) ExtInst 1(GLSL.std.450) 4(FAbs) 603
9672             606:    22(bool) FOrdLessThan 604 605
9673             610:  609(bvec3) CompositeConstruct 606 606 606
9674             611:   20(fvec3) Select 610 607 608
9675                              Store 601(upVector) 611
9676             613:   20(fvec3) Load 601(upVector)
9677             614:   20(fvec3) Load 76(N)
9678             615:   20(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 613 614
9679             616:   20(fvec3) ExtInst 1(GLSL.std.450) 69(Normalize) 615
9680                              Store 612(tangentX) 616
9681             618:   20(fvec3) Load 76(N)
9682             619:   20(fvec3) Load 612(tangentX)
9683             620:   20(fvec3) ExtInst 1(GLSL.std.450) 68(Cross) 618 619
9684                              Store 617(tangentY) 620
9685             622:   20(fvec3) Load 612(tangentX)
9686             623:     30(ptr) AccessChain 588(H) 390
9687             624:    6(float) Load 623
9688             625:   20(fvec3) VectorTimesScalar 622 624
9689             626:   20(fvec3) Load 617(tangentY)
9690             627:     30(ptr) AccessChain 588(H) 393
9691             628:    6(float) Load 627
9692             629:   20(fvec3) VectorTimesScalar 626 628
9693             630:   20(fvec3) FAdd 625 629
9694             631:   20(fvec3) Load 76(N)
9695             632:     30(ptr) AccessChain 588(H) 342
9696             633:    6(float) Load 632
9697             634:   20(fvec3) VectorTimesScalar 631 633
9698             635:   20(fvec3) FAdd 630 634
9699                              Store 621(worldResult) 635
9700             636:   20(fvec3) Load 621(worldResult)
9701                              ReturnValue 636
9702                              FunctionEnd
970383(iTDDistributionGGX(vf3;vf3;f1;):    6(float) Function None 79
9704      80(normal):     21(ptr) FunctionParameter
9705 81(half_vector):     21(ptr) FunctionParameter
9706  82(roughness2):     30(ptr) FunctionParameter
9707              84:             Label
9708      639(NdotH):     30(ptr) Variable Function
9709     645(alpha2):     30(ptr) Variable Function
9710      649(denom):     30(ptr) Variable Function
9711             640:   20(fvec3) Load 80(normal)
9712             641:   20(fvec3) Load 81(half_vector)
9713             642:    6(float) Dot 640 641
9714             644:    6(float) ExtInst 1(GLSL.std.450) 43(FClamp) 642 643 489
9715                              Store 639(NdotH) 644
9716             646:    6(float) Load 82(roughness2)
9717             647:    6(float) Load 82(roughness2)
9718             648:    6(float) FMul 646 647
9719                              Store 645(alpha2) 648
9720             650:    6(float) Load 639(NdotH)
9721             651:    6(float) Load 639(NdotH)
9722             652:    6(float) FMul 650 651
9723             653:    6(float) Load 645(alpha2)
9724             654:    6(float) FSub 653 489
9725             655:    6(float) FMul 652 654
9726             656:    6(float) FAdd 655 489
9727                              Store 649(denom) 656
9728             658:    6(float) Load 649(denom)
9729             659:    6(float) ExtInst 1(GLSL.std.450) 40(FMax) 657 658
9730                              Store 649(denom) 659
9731             660:    6(float) Load 645(alpha2)
9732             662:    6(float) Load 649(denom)
9733             663:    6(float) FMul 661 662
9734             664:    6(float) Load 649(denom)
9735             665:    6(float) FMul 663 664
9736             666:    6(float) FDiv 660 665
9737                              ReturnValue 666
9738                              FunctionEnd
973988(iTDCalcF(vf3;f1;):   20(fvec3) Function None 85
9740          86(F0):     21(ptr) FunctionParameter
9741       87(VdotH):     30(ptr) FunctionParameter
9742              89:             Label
9743             669:   20(fvec3) Load 86(F0)
9744             671:   20(fvec3) Load 86(F0)
9745             672:   20(fvec3) FSub 670 671
9746             675:    6(float) Load 87(VdotH)
9747             676:    6(float) FMul 674 675
9748             678:    6(float) FSub 676 677
9749             679:    6(float) Load 87(VdotH)
9750             680:    6(float) FMul 678 679
9751             681:    6(float) ExtInst 1(GLSL.std.450) 26(Pow) 673 680
9752             682:   20(fvec3) VectorTimesScalar 672 681
9753             683:   20(fvec3) FAdd 669 682
9754                              ReturnValue 683
9755                              FunctionEnd
975694(iTDCalcG(f1;f1;f1;):    6(float) Function None 90
9757       91(NdotL):     30(ptr) FunctionParameter
9758       92(NdotV):     30(ptr) FunctionParameter
9759           93(k):     30(ptr) FunctionParameter
9760              95:             Label
9761         686(Gl):     30(ptr) Variable Function
9762         694(Gv):     30(ptr) Variable Function
9763             687:    6(float) Load 91(NdotL)
9764             688:    6(float) Load 93(k)
9765             689:    6(float) FSub 489 688
9766             690:    6(float) FMul 687 689
9767             691:    6(float) Load 93(k)
9768             692:    6(float) FAdd 690 691
9769             693:    6(float) FDiv 489 692
9770                              Store 686(Gl) 693
9771             695:    6(float) Load 92(NdotV)
9772             696:    6(float) Load 93(k)
9773             697:    6(float) FSub 489 696
9774             698:    6(float) FMul 695 697
9775             699:    6(float) Load 93(k)
9776             700:    6(float) FAdd 698 699
9777             701:    6(float) FDiv 489 700
9778                              Store 694(Gv) 701
9779             702:    6(float) Load 686(Gl)
9780             703:    6(float) Load 694(Gv)
9781             704:    6(float) FMul 702 703
9782                              ReturnValue 704
9783                              FunctionEnd
9784107(TDLightingPBR(i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1;):96(TDPBRResult) Function None 97
9785       98(index):     29(ptr) FunctionParameter
978699(diffuseColor):     21(ptr) FunctionParameter
9787100(specularColor):     21(ptr) FunctionParameter
9788101(worldSpacePos):     21(ptr) FunctionParameter
9789     102(normal):     21(ptr) FunctionParameter
9790103(shadowStrength):     30(ptr) FunctionParameter
9791104(shadowColor):     21(ptr) FunctionParameter
9792  105(camVector):     21(ptr) FunctionParameter
9793  106(roughness):     30(ptr) FunctionParameter
9794             108:             Label
9795        708(res):    707(ptr) Variable Function
9796             709:96(TDPBRResult) Load 708(res)
9797                              ReturnValue 709
9798                              FunctionEnd
9799122(TDLightingPBR(vf3;vf3;f1;i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1;):           2 Function None 109
9800110(diffuseContrib):     21(ptr) FunctionParameter
9801111(specularContrib):     21(ptr) FunctionParameter
9802112(shadowStrengthOut):     30(ptr) FunctionParameter
9803      113(index):     29(ptr) FunctionParameter
9804114(diffuseColor):     21(ptr) FunctionParameter
9805115(specularColor):     21(ptr) FunctionParameter
9806116(worldSpacePos):     21(ptr) FunctionParameter
9807     117(normal):     21(ptr) FunctionParameter
9808118(shadowStrength):     30(ptr) FunctionParameter
9809119(shadowColor):     21(ptr) FunctionParameter
9810  120(camVector):     21(ptr) FunctionParameter
9811  121(roughness):     30(ptr) FunctionParameter
9812             123:             Label
9813        712(res):    707(ptr) Variable Function
9814      713(param):     29(ptr) Variable Function
9815      715(param):     21(ptr) Variable Function
9816      717(param):     21(ptr) Variable Function
9817      719(param):     21(ptr) Variable Function
9818      721(param):     21(ptr) Variable Function
9819      723(param):     30(ptr) Variable Function
9820      725(param):     21(ptr) Variable Function
9821      727(param):     21(ptr) Variable Function
9822      729(param):     30(ptr) Variable Function
9823             714:     28(int) Load 113(index)
9824                              Store 713(param) 714
9825             716:   20(fvec3) Load 114(diffuseColor)
9826                              Store 715(param) 716
9827             718:   20(fvec3) Load 115(specularColor)
9828                              Store 717(param) 718
9829             720:   20(fvec3) Load 116(worldSpacePos)
9830                              Store 719(param) 720
9831             722:   20(fvec3) Load 117(normal)
9832                              Store 721(param) 722
9833             724:    6(float) Load 118(shadowStrength)
9834                              Store 723(param) 724
9835             726:   20(fvec3) Load 119(shadowColor)
9836                              Store 725(param) 726
9837             728:   20(fvec3) Load 120(camVector)
9838                              Store 727(param) 728
9839             730:    6(float) Load 121(roughness)
9840                              Store 729(param) 730
9841             731:96(TDPBRResult) FunctionCall 107(TDLightingPBR(i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1;) 713(param) 715(param) 717(param) 719(param) 721(param) 723(param) 725(param) 727(param) 729(param)
9842                              Store 712(res) 731
9843             732:     21(ptr) AccessChain 712(res) 381
9844             733:   20(fvec3) Load 732
9845                              Store 110(diffuseContrib) 733
9846             734:     21(ptr) AccessChain 712(res) 436
9847             735:   20(fvec3) Load 734
9848                              Store 111(specularContrib) 735
9849             736:     30(ptr) AccessChain 712(res) 337
9850             737:    6(float) Load 736
9851                              Store 112(shadowStrengthOut) 737
9852                              Return
9853                              FunctionEnd
9854136(TDLightingPBR(vf3;vf3;i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1;):           2 Function None 124
9855125(diffuseContrib):     21(ptr) FunctionParameter
9856126(specularContrib):     21(ptr) FunctionParameter
9857      127(index):     29(ptr) FunctionParameter
9858128(diffuseColor):     21(ptr) FunctionParameter
9859129(specularColor):     21(ptr) FunctionParameter
9860130(worldSpacePos):     21(ptr) FunctionParameter
9861     131(normal):     21(ptr) FunctionParameter
9862132(shadowStrength):     30(ptr) FunctionParameter
9863133(shadowColor):     21(ptr) FunctionParameter
9864  134(camVector):     21(ptr) FunctionParameter
9865  135(roughness):     30(ptr) FunctionParameter
9866             137:             Label
9867        738(res):    707(ptr) Variable Function
9868      739(param):     29(ptr) Variable Function
9869      741(param):     21(ptr) Variable Function
9870      743(param):     21(ptr) Variable Function
9871      745(param):     21(ptr) Variable Function
9872      747(param):     21(ptr) Variable Function
9873      749(param):     30(ptr) Variable Function
9874      751(param):     21(ptr) Variable Function
9875      753(param):     21(ptr) Variable Function
9876      755(param):     30(ptr) Variable Function
9877             740:     28(int) Load 127(index)
9878                              Store 739(param) 740
9879             742:   20(fvec3) Load 128(diffuseColor)
9880                              Store 741(param) 742
9881             744:   20(fvec3) Load 129(specularColor)
9882                              Store 743(param) 744
9883             746:   20(fvec3) Load 130(worldSpacePos)
9884                              Store 745(param) 746
9885             748:   20(fvec3) Load 131(normal)
9886                              Store 747(param) 748
9887             750:    6(float) Load 132(shadowStrength)
9888                              Store 749(param) 750
9889             752:   20(fvec3) Load 133(shadowColor)
9890                              Store 751(param) 752
9891             754:   20(fvec3) Load 134(camVector)
9892                              Store 753(param) 754
9893             756:    6(float) Load 135(roughness)
9894                              Store 755(param) 756
9895             757:96(TDPBRResult) FunctionCall 107(TDLightingPBR(i1;vf3;vf3;vf3;vf3;f1;vf3;vf3;f1;) 739(param) 741(param) 743(param) 745(param) 747(param) 749(param) 751(param) 753(param) 755(param)
9896                              Store 738(res) 757
9897             758:     21(ptr) AccessChain 738(res) 381
9898             759:   20(fvec3) Load 758
9899                              Store 125(diffuseContrib) 759
9900             760:     21(ptr) AccessChain 738(res) 436
9901             761:   20(fvec3) Load 760
9902                              Store 126(specularContrib) 761
9903                              Return
9904                              FunctionEnd
9905146(TDEnvLightingPBR(i1;vf3;vf3;vf3;vf3;f1;f1;):96(TDPBRResult) Function None 138
9906      139(index):     29(ptr) FunctionParameter
9907140(diffuseColor):     21(ptr) FunctionParameter
9908141(specularColor):     21(ptr) FunctionParameter
9909     142(normal):     21(ptr) FunctionParameter
9910  143(camVector):     21(ptr) FunctionParameter
9911  144(roughness):     30(ptr) FunctionParameter
9912145(ambientOcclusion):     30(ptr) FunctionParameter
9913             147:             Label
9914        762(res):    707(ptr) Variable Function
9915             763:96(TDPBRResult) Load 762(res)
9916                              ReturnValue 763
9917                              FunctionEnd
9918158(TDEnvLightingPBR(vf3;vf3;i1;vf3;vf3;vf3;vf3;f1;f1;):           2 Function None 148
9919149(diffuseContrib):     21(ptr) FunctionParameter
9920150(specularContrib):     21(ptr) FunctionParameter
9921      151(index):     29(ptr) FunctionParameter
9922152(diffuseColor):     21(ptr) FunctionParameter
9923153(specularColor):     21(ptr) FunctionParameter
9924     154(normal):     21(ptr) FunctionParameter
9925  155(camVector):     21(ptr) FunctionParameter
9926  156(roughness):     30(ptr) FunctionParameter
9927157(ambientOcclusion):     30(ptr) FunctionParameter
9928             159:             Label
9929        766(res):    707(ptr) Variable Function
9930      767(param):     29(ptr) Variable Function
9931      769(param):     21(ptr) Variable Function
9932      771(param):     21(ptr) Variable Function
9933      773(param):     21(ptr) Variable Function
9934      775(param):     21(ptr) Variable Function
9935      777(param):     30(ptr) Variable Function
9936      779(param):     30(ptr) Variable Function
9937             768:     28(int) Load 151(index)
9938                              Store 767(param) 768
9939             770:   20(fvec3) Load 152(diffuseColor)
9940                              Store 769(param) 770
9941             772:   20(fvec3) Load 153(specularColor)
9942                              Store 771(param) 772
9943             774:   20(fvec3) Load 154(normal)
9944                              Store 773(param) 774
9945             776:   20(fvec3) Load 155(camVector)
9946                              Store 775(param) 776
9947             778:    6(float) Load 156(roughness)
9948                              Store 777(param) 778
9949             780:    6(float) Load 157(ambientOcclusion)
9950                              Store 779(param) 780
9951             781:96(TDPBRResult) FunctionCall 146(TDEnvLightingPBR(i1;vf3;vf3;vf3;vf3;f1;f1;) 767(param) 769(param) 771(param) 773(param) 775(param) 777(param) 779(param)
9952                              Store 766(res) 781
9953             782:     21(ptr) AccessChain 766(res) 381
9954             783:   20(fvec3) Load 782
9955                              Store 149(diffuseContrib) 783
9956             784:     21(ptr) AccessChain 766(res) 436
9957             785:   20(fvec3) Load 784
9958                              Store 150(specularContrib) 785
9959                              Return
9960                              FunctionEnd
9961170(TDLighting(i1;vf3;vf3;f1;vf3;vf3;f1;f1;):160(TDPhongResult) Function None 161
9962      162(index):     29(ptr) FunctionParameter
9963163(worldSpacePos):     21(ptr) FunctionParameter
9964     164(normal):     21(ptr) FunctionParameter
9965165(shadowStrength):     30(ptr) FunctionParameter
9966166(shadowColor):     21(ptr) FunctionParameter
9967  167(camVector):     21(ptr) FunctionParameter
9968  168(shininess):     30(ptr) FunctionParameter
9969 169(shininess2):     30(ptr) FunctionParameter
9970             171:             Label
9971        790(res):    789(ptr) Variable Function
9972             786:     28(int) Load 162(index)
9973                              SelectionMerge 788 None
9974                              Switch 786 787
9975             787:               Label
9976             792:     21(ptr)   AccessChain 790(res) 381
9977                                Store 792 791
9978             793:     21(ptr)   AccessChain 790(res) 436
9979                                Store 793 791
9980             794:     21(ptr)   AccessChain 790(res) 337
9981                                Store 794 791
9982             795:     30(ptr)   AccessChain 790(res) 377
9983                                Store 795 331
9984                                Branch 788
9985             788:             Label
9986             798:160(TDPhongResult) Load 790(res)
9987                              ReturnValue 798
9988                              FunctionEnd
9989185(TDLighting(vf3;vf3;vf3;f1;i1;vf3;vf3;f1;vf3;vf3;f1;f1;):           2 Function None 172
9990173(diffuseContrib):     21(ptr) FunctionParameter
9991174(specularContrib):     21(ptr) FunctionParameter
9992175(specularContrib2):     21(ptr) FunctionParameter
9993176(shadowStrengthOut):     30(ptr) FunctionParameter
9994      177(index):     29(ptr) FunctionParameter
9995178(worldSpacePos):     21(ptr) FunctionParameter
9996     179(normal):     21(ptr) FunctionParameter
9997180(shadowStrength):     30(ptr) FunctionParameter
9998181(shadowColor):     21(ptr) FunctionParameter
9999  182(camVector):     21(ptr) FunctionParameter
10000  183(shininess):     30(ptr) FunctionParameter
10001 184(shininess2):     30(ptr) FunctionParameter
10002             186:             Label
10003        804(res):    789(ptr) Variable Function
10004             801:     28(int) Load 177(index)
10005                              SelectionMerge 803 None
10006                              Switch 801 802
10007             802:               Label
10008             805:     21(ptr)   AccessChain 804(res) 381
10009                                Store 805 791
10010             806:     21(ptr)   AccessChain 804(res) 436
10011                                Store 806 791
10012             807:     21(ptr)   AccessChain 804(res) 337
10013                                Store 807 791
10014             808:     30(ptr)   AccessChain 804(res) 377
10015                                Store 808 331
10016                                Branch 803
10017             803:             Label
10018             811:     21(ptr) AccessChain 804(res) 381
10019             812:   20(fvec3) Load 811
10020                              Store 173(diffuseContrib) 812
10021             813:     21(ptr) AccessChain 804(res) 436
10022             814:   20(fvec3) Load 813
10023                              Store 174(specularContrib) 814
10024             815:     21(ptr) AccessChain 804(res) 337
10025             816:   20(fvec3) Load 815
10026                              Store 175(specularContrib2) 816
10027             817:     30(ptr) AccessChain 804(res) 377
10028             818:    6(float) Load 817
10029                              Store 176(shadowStrengthOut) 818
10030                              Return
10031                              FunctionEnd
10032199(TDLighting(vf3;vf3;vf3;i1;vf3;vf3;f1;vf3;vf3;f1;f1;):           2 Function None 187
10033188(diffuseContrib):     21(ptr) FunctionParameter
10034189(specularContrib):     21(ptr) FunctionParameter
10035190(specularContrib2):     21(ptr) FunctionParameter
10036      191(index):     29(ptr) FunctionParameter
10037192(worldSpacePos):     21(ptr) FunctionParameter
10038     193(normal):     21(ptr) FunctionParameter
10039194(shadowStrength):     30(ptr) FunctionParameter
10040195(shadowColor):     21(ptr) FunctionParameter
10041  196(camVector):     21(ptr) FunctionParameter
10042  197(shininess):     30(ptr) FunctionParameter
10043 198(shininess2):     30(ptr) FunctionParameter
10044             200:             Label
10045        822(res):    789(ptr) Variable Function
10046             819:     28(int) Load 191(index)
10047                              SelectionMerge 821 None
10048                              Switch 819 820
10049             820:               Label
10050             823:     21(ptr)   AccessChain 822(res) 381
10051                                Store 823 791
10052             824:     21(ptr)   AccessChain 822(res) 436
10053                                Store 824 791
10054             825:     21(ptr)   AccessChain 822(res) 337
10055                                Store 825 791
10056             826:     30(ptr)   AccessChain 822(res) 377
10057                                Store 826 331
10058                                Branch 821
10059             821:             Label
10060             829:     21(ptr) AccessChain 822(res) 381
10061             830:   20(fvec3) Load 829
10062                              Store 188(diffuseContrib) 830
10063             831:     21(ptr) AccessChain 822(res) 436
10064             832:   20(fvec3) Load 831
10065                              Store 189(specularContrib) 832
10066             833:     21(ptr) AccessChain 822(res) 337
10067             834:   20(fvec3) Load 833
10068                              Store 190(specularContrib2) 834
10069                              Return
10070                              FunctionEnd
10071211(TDLighting(vf3;vf3;i1;vf3;vf3;f1;vf3;vf3;f1;):           2 Function None 201
10072202(diffuseContrib):     21(ptr) FunctionParameter
10073203(specularContrib):     21(ptr) FunctionParameter
10074      204(index):     29(ptr) FunctionParameter
10075205(worldSpacePos):     21(ptr) FunctionParameter
10076     206(normal):     21(ptr) FunctionParameter
10077207(shadowStrength):     30(ptr) FunctionParameter
10078208(shadowColor):     21(ptr) FunctionParameter
10079  209(camVector):     21(ptr) FunctionParameter
10080  210(shininess):     30(ptr) FunctionParameter
10081             212:             Label
10082        838(res):    789(ptr) Variable Function
10083             835:     28(int) Load 204(index)
10084                              SelectionMerge 837 None
10085                              Switch 835 836
10086             836:               Label
10087             839:     21(ptr)   AccessChain 838(res) 381
10088                                Store 839 791
10089             840:     21(ptr)   AccessChain 838(res) 436
10090                                Store 840 791
10091             841:     21(ptr)   AccessChain 838(res) 337
10092                                Store 841 791
10093             842:     30(ptr)   AccessChain 838(res) 377
10094                                Store 842 331
10095                                Branch 837
10096             837:             Label
10097             845:     21(ptr) AccessChain 838(res) 381
10098             846:   20(fvec3) Load 845
10099                              Store 202(diffuseContrib) 846
10100             847:     21(ptr) AccessChain 838(res) 436
10101             848:   20(fvec3) Load 847
10102                              Store 203(specularContrib) 848
10103                              Return
10104                              FunctionEnd
10105223(TDLighting(vf3;vf3;vf3;i1;vf3;vf3;vf3;f1;f1;):           2 Function None 213
10106214(diffuseContrib):     21(ptr) FunctionParameter
10107215(specularContrib):     21(ptr) FunctionParameter
10108216(specularContrib2):     21(ptr) FunctionParameter
10109      217(index):     29(ptr) FunctionParameter
10110218(worldSpacePos):     21(ptr) FunctionParameter
10111     219(normal):     21(ptr) FunctionParameter
10112  220(camVector):     21(ptr) FunctionParameter
10113  221(shininess):     30(ptr) FunctionParameter
10114 222(shininess2):     30(ptr) FunctionParameter
10115             224:             Label
10116        852(res):    789(ptr) Variable Function
10117             849:     28(int) Load 217(index)
10118                              SelectionMerge 851 None
10119                              Switch 849 850
10120             850:               Label
10121             853:     21(ptr)   AccessChain 852(res) 381
10122                                Store 853 791
10123             854:     21(ptr)   AccessChain 852(res) 436
10124                                Store 854 791
10125             855:     21(ptr)   AccessChain 852(res) 337
10126                                Store 855 791
10127             856:     30(ptr)   AccessChain 852(res) 377
10128                                Store 856 331
10129                                Branch 851
10130             851:             Label
10131             859:     21(ptr) AccessChain 852(res) 381
10132             860:   20(fvec3) Load 859
10133                              Store 214(diffuseContrib) 860
10134             861:     21(ptr) AccessChain 852(res) 436
10135             862:   20(fvec3) Load 861
10136                              Store 215(specularContrib) 862
10137             863:     21(ptr) AccessChain 852(res) 337
10138             864:   20(fvec3) Load 863
10139                              Store 216(specularContrib2) 864
10140                              Return
10141                              FunctionEnd
10142233(TDLighting(vf3;vf3;i1;vf3;vf3;vf3;f1;):           2 Function None 225
10143226(diffuseContrib):     21(ptr) FunctionParameter
10144227(specularContrib):     21(ptr) FunctionParameter
10145      228(index):     29(ptr) FunctionParameter
10146229(worldSpacePos):     21(ptr) FunctionParameter
10147     230(normal):     21(ptr) FunctionParameter
10148  231(camVector):     21(ptr) FunctionParameter
10149  232(shininess):     30(ptr) FunctionParameter
10150             234:             Label
10151        868(res):    789(ptr) Variable Function
10152             865:     28(int) Load 228(index)
10153                              SelectionMerge 867 None
10154                              Switch 865 866
10155             866:               Label
10156             869:     21(ptr)   AccessChain 868(res) 381
10157                                Store 869 791
10158             870:     21(ptr)   AccessChain 868(res) 436
10159                                Store 870 791
10160             871:     21(ptr)   AccessChain 868(res) 337
10161                                Store 871 791
10162             872:     30(ptr)   AccessChain 868(res) 377
10163                                Store 872 331
10164                                Branch 867
10165             867:             Label
10166             875:     21(ptr) AccessChain 868(res) 381
10167             876:   20(fvec3) Load 875
10168                              Store 226(diffuseContrib) 876
10169             877:     21(ptr) AccessChain 868(res) 436
10170             878:   20(fvec3) Load 877
10171                              Store 227(specularContrib) 878
10172                              Return
10173                              FunctionEnd
10174240(TDLighting(vf3;i1;vf3;vf3;):           2 Function None 235
10175236(diffuseContrib):     21(ptr) FunctionParameter
10176      237(index):     29(ptr) FunctionParameter
10177238(worldSpacePos):     21(ptr) FunctionParameter
10178     239(normal):     21(ptr) FunctionParameter
10179             241:             Label
10180        882(res):    789(ptr) Variable Function
10181             879:     28(int) Load 237(index)
10182                              SelectionMerge 881 None
10183                              Switch 879 880
10184             880:               Label
10185             883:     21(ptr)   AccessChain 882(res) 381
10186                                Store 883 791
10187             884:     21(ptr)   AccessChain 882(res) 436
10188                                Store 884 791
10189             885:     21(ptr)   AccessChain 882(res) 337
10190                                Store 885 791
10191             886:     30(ptr)   AccessChain 882(res) 377
10192                                Store 886 331
10193                                Branch 881
10194             881:             Label
10195             889:     21(ptr) AccessChain 882(res) 381
10196             890:   20(fvec3) Load 889
10197                              Store 236(diffuseContrib) 890
10198                              Return
10199                              FunctionEnd
10200249(TDLighting(vf3;i1;vf3;vf3;f1;vf3;):           2 Function None 242
10201243(diffuseContrib):     21(ptr) FunctionParameter
10202      244(index):     29(ptr) FunctionParameter
10203245(worldSpacePos):     21(ptr) FunctionParameter
10204     246(normal):     21(ptr) FunctionParameter
10205247(shadowStrength):     30(ptr) FunctionParameter
10206248(shadowColor):     21(ptr) FunctionParameter
10207             250:             Label
10208        894(res):    789(ptr) Variable Function
10209             891:     28(int) Load 244(index)
10210                              SelectionMerge 893 None
10211                              Switch 891 892
10212             892:               Label
10213             895:     21(ptr)   AccessChain 894(res) 381
10214                                Store 895 791
10215             896:     21(ptr)   AccessChain 894(res) 436
10216                                Store 896 791
10217             897:     21(ptr)   AccessChain 894(res) 337
10218                                Store 897 791
10219             898:     30(ptr)   AccessChain 894(res) 377
10220                                Store 898 331
10221                                Branch 893
10222             893:             Label
10223             901:     21(ptr) AccessChain 894(res) 381
10224             902:   20(fvec3) Load 901
10225                              Store 243(diffuseContrib) 902
10226                              Return
10227                              FunctionEnd
10228255(TDProjMap(i1;vf3;vf4;):    7(fvec4) Function None 251
10229      252(index):     29(ptr) FunctionParameter
10230253(worldSpacePos):     21(ptr) FunctionParameter
10231254(defaultColor):      8(ptr) FunctionParameter
10232             256:             Label
10233             903:     28(int) Load 252(index)
10234                              SelectionMerge 905 None
10235                              Switch 903 904
10236             904:               Label
10237             906:    7(fvec4)   Load 254(defaultColor)
10238                                ReturnValue 906
10239             905:             Label
10240                              Unreachable
10241                              FunctionEnd
10242261(TDFog(vf4;vf3;i1;):    7(fvec4) Function None 257
10243      258(color):      8(ptr) FunctionParameter
10244259(lightingSpacePosition):     21(ptr) FunctionParameter
10245260(cameraIndex):     29(ptr) FunctionParameter
10246             262:             Label
10247             910:     28(int) Load 260(cameraIndex)
10248                              SelectionMerge 912 None
10249                              Switch 910 911 
10250                                     case 0: 911
10251             911:               Label
10252             913:    7(fvec4)   Load 258(color)
10253                                ReturnValue 913
10254             912:             Label
10255                              Unreachable
10256                              FunctionEnd
10257266(TDFog(vf4;vf3;):    7(fvec4) Function None 263
10258      264(color):      8(ptr) FunctionParameter
10259265(lightingSpacePosition):     21(ptr) FunctionParameter
10260             267:             Label
10261      917(param):      8(ptr) Variable Function
10262      919(param):     21(ptr) Variable Function
10263      921(param):     29(ptr) Variable Function
10264             918:    7(fvec4) Load 264(color)
10265                              Store 917(param) 918
10266             920:   20(fvec3) Load 265(lightingSpacePosition)
10267                              Store 919(param) 920
10268                              Store 921(param) 381
10269             922:    7(fvec4) FunctionCall 261(TDFog(vf4;vf3;i1;) 917(param) 919(param) 921(param)
10270                              ReturnValue 922
10271                              FunctionEnd
10272271(TDInstanceTexCoord(i1;vf3;):   20(fvec3) Function None 268
10273      269(index):     29(ptr) FunctionParameter
10274          270(t):     21(ptr) FunctionParameter
10275             272:             Label
10276      925(coord):     29(ptr) Variable Function
10277       927(samp):      8(ptr) Variable Function
10278          936(v):     21(ptr) Variable Function
10279             926:     28(int) Load 269(index)
10280                              Store 925(coord) 926
10281             932:         929 Load 931(sTDInstanceTexCoord)
10282             933:     28(int) Load 925(coord)
10283             934:         928 Image 932
10284             935:    7(fvec4) ImageFetch 934 933
10285                              Store 927(samp) 935
10286             937:     30(ptr) AccessChain 270(t) 390
10287             938:    6(float) Load 937
10288             939:     30(ptr) AccessChain 936(v) 390
10289                              Store 939 938
10290             940:     30(ptr) AccessChain 270(t) 393
10291             941:    6(float) Load 940
10292             942:     30(ptr) AccessChain 936(v) 393
10293                              Store 942 941
10294             943:     30(ptr) AccessChain 927(samp) 390
10295             944:    6(float) Load 943
10296             945:     30(ptr) AccessChain 936(v) 342
10297                              Store 945 944
10298             946:   20(fvec3) Load 936(v)
10299                              Store 270(t) 946
10300             947:   20(fvec3) Load 270(t)
10301                              ReturnValue 947
10302                              FunctionEnd
10303275(TDInstanceActive(i1;):    22(bool) Function None 273
10304      274(index):     29(ptr) FunctionParameter
10305             276:             Label
10306      955(coord):     29(ptr) Variable Function
10307       957(samp):      8(ptr) Variable Function
10308          963(v):     30(ptr) Variable Function
10309             951:    950(ptr) AccessChain 376 381
10310             952:     28(int) Load 951
10311             953:     28(int) Load 274(index)
10312             954:     28(int) ISub 953 952
10313                              Store 274(index) 954
10314             956:     28(int) Load 274(index)
10315                              Store 955(coord) 956
10316             959:         929 Load 958(sTDInstanceT)
10317             960:     28(int) Load 955(coord)
10318             961:         928 Image 959
10319             962:    7(fvec4) ImageFetch 961 960
10320                              Store 957(samp) 962
10321             964:     30(ptr) AccessChain 957(samp) 390
10322             965:    6(float) Load 964
10323                              Store 963(v) 965
10324             966:    6(float) Load 963(v)
10325             967:    22(bool) FUnordNotEqual 966 331
10326                              ReturnValue 967
10327                              FunctionEnd
10328281(iTDInstanceTranslate(i1;b1;):   20(fvec3) Function None 278
10329      279(index):     29(ptr) FunctionParameter
10330280(instanceActive):    277(ptr) FunctionParameter
10331             282:             Label
10332  970(origIndex):     29(ptr) Variable Function
10333      976(coord):     29(ptr) Variable Function
10334       978(samp):      8(ptr) Variable Function
10335          983(v):     21(ptr) Variable Function
10336             971:     28(int) Load 279(index)
10337                              Store 970(origIndex) 971
10338             972:    950(ptr) AccessChain 376 381
10339             973:     28(int) Load 972
10340             974:     28(int) Load 279(index)
10341             975:     28(int) ISub 974 973
10342                              Store 279(index) 975
10343             977:     28(int) Load 279(index)
10344                              Store 976(coord) 977
10345             979:         929 Load 958(sTDInstanceT)
10346             980:     28(int) Load 976(coord)
10347             981:         928 Image 979
10348             982:    7(fvec4) ImageFetch 981 980
10349                              Store 978(samp) 982
10350             984:     30(ptr) AccessChain 978(samp) 393
10351             985:    6(float) Load 984
10352             986:     30(ptr) AccessChain 983(v) 390
10353                              Store 986 985
10354             987:     30(ptr) AccessChain 978(samp) 342
10355             988:    6(float) Load 987
10356             989:     30(ptr) AccessChain 983(v) 393
10357                              Store 989 988
10358             990:     30(ptr) AccessChain 978(samp) 402
10359             991:    6(float) Load 990
10360             992:     30(ptr) AccessChain 983(v) 342
10361                              Store 992 991
10362             993:     30(ptr) AccessChain 978(samp) 390
10363             994:    6(float) Load 993
10364             995:    22(bool) FUnordNotEqual 994 331
10365                              Store 280(instanceActive) 995
10366             996:   20(fvec3) Load 983(v)
10367                              ReturnValue 996
10368                              FunctionEnd
10369285(TDInstanceTranslate(i1;):   20(fvec3) Function None 283
10370      284(index):     29(ptr) FunctionParameter
10371             286:             Label
10372     1003(coord):     29(ptr) Variable Function
10373      1005(samp):      8(ptr) Variable Function
10374         1010(v):     21(ptr) Variable Function
10375             999:    950(ptr) AccessChain 376 381
10376            1000:     28(int) Load 999
10377            1001:     28(int) Load 284(index)
10378            1002:     28(int) ISub 1001 1000
10379                              Store 284(index) 1002
10380            1004:     28(int) Load 284(index)
10381                              Store 1003(coord) 1004
10382            1006:         929 Load 958(sTDInstanceT)
10383            1007:     28(int) Load 1003(coord)
10384            1008:         928 Image 1006
10385            1009:    7(fvec4) ImageFetch 1008 1007
10386                              Store 1005(samp) 1009
10387            1011:     30(ptr) AccessChain 1005(samp) 393
10388            1012:    6(float) Load 1011
10389            1013:     30(ptr) AccessChain 1010(v) 390
10390                              Store 1013 1012
10391            1014:     30(ptr) AccessChain 1005(samp) 342
10392            1015:    6(float) Load 1014
10393            1016:     30(ptr) AccessChain 1010(v) 393
10394                              Store 1016 1015
10395            1017:     30(ptr) AccessChain 1005(samp) 402
10396            1018:    6(float) Load 1017
10397            1019:     30(ptr) AccessChain 1010(v) 342
10398                              Store 1019 1018
10399            1020:   20(fvec3) Load 1010(v)
10400                              ReturnValue 1020
10401                              FunctionEnd
10402290(TDInstanceRotateMat(i1;):         287 Function None 288
10403      289(index):     29(ptr) FunctionParameter
10404             291:             Label
10405         1027(v):     21(ptr) Variable Function
10406         1029(m):   1028(ptr) Variable Function
10407            1023:    950(ptr) AccessChain 376 381
10408            1024:     28(int) Load 1023
10409            1025:     28(int) Load 289(index)
10410            1026:     28(int) ISub 1025 1024
10411                              Store 289(index) 1026
10412                              Store 1027(v) 791
10413                              Store 1029(m) 1031
10414            1032:         287 Load 1029(m)
10415                              ReturnValue 1032
10416                              FunctionEnd
10417293(TDInstanceScale(i1;):   20(fvec3) Function None 283
10418      292(index):     29(ptr) FunctionParameter
10419             294:             Label
10420         1039(v):     21(ptr) Variable Function
10421            1035:    950(ptr) AccessChain 376 381
10422            1036:     28(int) Load 1035
10423            1037:     28(int) Load 292(index)
10424            1038:     28(int) ISub 1037 1036
10425                              Store 292(index) 1038
10426                              Store 1039(v) 670
10427            1040:   20(fvec3) Load 1039(v)
10428                              ReturnValue 1040
10429                              FunctionEnd
10430296(TDInstancePivot(i1;):   20(fvec3) Function None 283
10431      295(index):     29(ptr) FunctionParameter
10432             297:             Label
10433         1047(v):     21(ptr) Variable Function
10434            1043:    950(ptr) AccessChain 376 381
10435            1044:     28(int) Load 1043
10436            1045:     28(int) Load 295(index)
10437            1046:     28(int) ISub 1045 1044
10438                              Store 295(index) 1046
10439                              Store 1047(v) 791
10440            1048:   20(fvec3) Load 1047(v)
10441                              ReturnValue 1048
10442                              FunctionEnd
10443299(TDInstanceRotTo(i1;):   20(fvec3) Function None 283
10444      298(index):     29(ptr) FunctionParameter
10445             300:             Label
10446         1055(v):     21(ptr) Variable Function
10447            1051:    950(ptr) AccessChain 376 381
10448            1052:     28(int) Load 1051
10449            1053:     28(int) Load 298(index)
10450            1054:     28(int) ISub 1053 1052
10451                              Store 298(index) 1054
10452                              Store 1055(v) 607
10453            1056:   20(fvec3) Load 1055(v)
10454                              ReturnValue 1056
10455                              FunctionEnd
10456302(TDInstanceRotUp(i1;):   20(fvec3) Function None 283
10457      301(index):     29(ptr) FunctionParameter
10458             303:             Label
10459         1063(v):     21(ptr) Variable Function
10460            1059:    950(ptr) AccessChain 376 381
10461            1060:     28(int) Load 1059
10462            1061:     28(int) Load 301(index)
10463            1062:     28(int) ISub 1061 1060
10464                              Store 301(index) 1062
10465                              Store 1063(v) 1030
10466            1064:   20(fvec3) Load 1063(v)
10467                              ReturnValue 1064
10468                              FunctionEnd
10469307(TDInstanceMat(i1;):         304 Function None 305
10470         306(id):     29(ptr) FunctionParameter
10471             308:             Label
104721067(instanceActive):    277(ptr) Variable Function
10473         1069(t):     21(ptr) Variable Function
10474     1070(param):     29(ptr) Variable Function
10475     1072(param):    277(ptr) Variable Function
10476         1082(m):   1081(ptr) Variable Function
10477        1088(tt):     21(ptr) Variable Function
10478                              Store 1067(instanceActive) 1068
10479            1071:     28(int) Load 306(id)
10480                              Store 1070(param) 1071
10481            1073:   20(fvec3) FunctionCall 281(iTDInstanceTranslate(i1;b1;) 1070(param) 1072(param)
10482            1074:    22(bool) Load 1072(param)
10483                              Store 1067(instanceActive) 1074
10484                              Store 1069(t) 1073
10485            1075:    22(bool) Load 1067(instanceActive)
10486            1076:    22(bool) LogicalNot 1075
10487                              SelectionMerge 1078 None
10488                              BranchConditional 1076 1077 1078
10489            1077:               Label
10490                                ReturnValue 1079
10491            1078:             Label
10492                              Store 1082(m) 1087
10493            1089:   20(fvec3) Load 1069(t)
10494                              Store 1088(tt) 1089
10495            1090:     30(ptr) AccessChain 1082(m) 381 390
10496            1091:    6(float) Load 1090
10497            1092:     30(ptr) AccessChain 1088(tt) 390
10498            1093:    6(float) Load 1092
10499            1094:    6(float) FMul 1091 1093
10500            1095:     30(ptr) AccessChain 1082(m) 377 390
10501            1096:    6(float) Load 1095
10502            1097:    6(float) FAdd 1096 1094
10503            1098:     30(ptr) AccessChain 1082(m) 377 390
10504                              Store 1098 1097
10505            1099:     30(ptr) AccessChain 1082(m) 381 393
10506            1100:    6(float) Load 1099
10507            1101:     30(ptr) AccessChain 1088(tt) 390
10508            1102:    6(float) Load 1101
10509            1103:    6(float) FMul 1100 1102
10510            1104:     30(ptr) AccessChain 1082(m) 377 393
10511            1105:    6(float) Load 1104
10512            1106:    6(float) FAdd 1105 1103
10513            1107:     30(ptr) AccessChain 1082(m) 377 393
10514                              Store 1107 1106
10515            1108:     30(ptr) AccessChain 1082(m) 381 342
10516            1109:    6(float) Load 1108
10517            1110:     30(ptr) AccessChain 1088(tt) 390
10518            1111:    6(float) Load 1110
10519            1112:    6(float) FMul 1109 1111
10520            1113:     30(ptr) AccessChain 1082(m) 377 342
10521            1114:    6(float) Load 1113
10522            1115:    6(float) FAdd 1114 1112
10523            1116:     30(ptr) AccessChain 1082(m) 377 342
10524                              Store 1116 1115
10525            1117:     30(ptr) AccessChain 1082(m) 381 402
10526            1118:    6(float) Load 1117
10527            1119:     30(ptr) AccessChain 1088(tt) 390
10528            1120:    6(float) Load 1119
10529            1121:    6(float) FMul 1118 1120
10530            1122:     30(ptr) AccessChain 1082(m) 377 402
10531            1123:    6(float) Load 1122
10532            1124:    6(float) FAdd 1123 1121
10533            1125:     30(ptr) AccessChain 1082(m) 377 402
10534                              Store 1125 1124
10535            1126:     30(ptr) AccessChain 1082(m) 436 390
10536            1127:    6(float) Load 1126
10537            1128:     30(ptr) AccessChain 1088(tt) 393
10538            1129:    6(float) Load 1128
10539            1130:    6(float) FMul 1127 1129
10540            1131:     30(ptr) AccessChain 1082(m) 377 390
10541            1132:    6(float) Load 1131
10542            1133:    6(float) FAdd 1132 1130
10543            1134:     30(ptr) AccessChain 1082(m) 377 390
10544                              Store 1134 1133
10545            1135:     30(ptr) AccessChain 1082(m) 436 393
10546            1136:    6(float) Load 1135
10547            1137:     30(ptr) AccessChain 1088(tt) 393
10548            1138:    6(float) Load 1137
10549            1139:    6(float) FMul 1136 1138
10550            1140:     30(ptr) AccessChain 1082(m) 377 393
10551            1141:    6(float) Load 1140
10552            1142:    6(float) FAdd 1141 1139
10553            1143:     30(ptr) AccessChain 1082(m) 377 393
10554                              Store 1143 1142
10555            1144:     30(ptr) AccessChain 1082(m) 436 342
10556            1145:    6(float) Load 1144
10557            1146:     30(ptr) AccessChain 1088(tt) 393
10558            1147:    6(float) Load 1146
10559            1148:    6(float) FMul 1145 1147
10560            1149:     30(ptr) AccessChain 1082(m) 377 342
10561            1150:    6(float) Load 1149
10562            1151:    6(float) FAdd 1150 1148
10563            1152:     30(ptr) AccessChain 1082(m) 377 342
10564                              Store 1152 1151
10565            1153:     30(ptr) AccessChain 1082(m) 436 402
10566            1154:    6(float) Load 1153
10567            1155:     30(ptr) AccessChain 1088(tt) 393
10568            1156:    6(float) Load 1155
10569            1157:    6(float) FMul 1154 1156
10570            1158:     30(ptr) AccessChain 1082(m) 377 402
10571            1159:    6(float) Load 1158
10572            1160:    6(float) FAdd 1159 1157
10573            1161:     30(ptr) AccessChain 1082(m) 377 402
10574                              Store 1161 1160
10575            1162:     30(ptr) AccessChain 1082(m) 337 390
10576            1163:    6(float) Load 1162
10577            1164:     30(ptr) AccessChain 1088(tt) 342
10578            1165:    6(float) Load 1164
10579            1166:    6(float) FMul 1163 1165
10580            1167:     30(ptr) AccessChain 1082(m) 377 390
10581            1168:    6(float) Load 1167
10582            1169:    6(float) FAdd 1168 1166
10583            1170:     30(ptr) AccessChain 1082(m) 377 390
10584                              Store 1170 1169
10585            1171:     30(ptr) AccessChain 1082(m) 337 393
10586            1172:    6(float) Load 1171
10587            1173:     30(ptr) AccessChain 1088(tt) 342
10588            1174:    6(float) Load 1173
10589            1175:    6(float) FMul 1172 1174
10590            1176:     30(ptr) AccessChain 1082(m) 377 393
10591            1177:    6(float) Load 1176
10592            1178:    6(float) FAdd 1177 1175
10593            1179:     30(ptr) AccessChain 1082(m) 377 393
10594                              Store 1179 1178
10595            1180:     30(ptr) AccessChain 1082(m) 337 342
10596            1181:    6(float) Load 1180
10597            1182:     30(ptr) AccessChain 1088(tt) 342
10598            1183:    6(float) Load 1182
10599            1184:    6(float) FMul 1181 1183
10600            1185:     30(ptr) AccessChain 1082(m) 377 342
10601            1186:    6(float) Load 1185
10602            1187:    6(float) FAdd 1186 1184
10603            1188:     30(ptr) AccessChain 1082(m) 377 342
10604                              Store 1188 1187
10605            1189:     30(ptr) AccessChain 1082(m) 337 402
10606            1190:    6(float) Load 1189
10607            1191:     30(ptr) AccessChain 1088(tt) 342
10608            1192:    6(float) Load 1191
10609            1193:    6(float) FMul 1190 1192
10610            1194:     30(ptr) AccessChain 1082(m) 377 402
10611            1195:    6(float) Load 1194
10612            1196:    6(float) FAdd 1195 1193
10613            1197:     30(ptr) AccessChain 1082(m) 377 402
10614                              Store 1197 1196
10615            1198:         304 Load 1082(m)
10616                              ReturnValue 1198
10617                              FunctionEnd
10618310(TDInstanceMat3(i1;):         287 Function None 288
10619         309(id):     29(ptr) FunctionParameter
10620             311:             Label
10621         1201(m):   1028(ptr) Variable Function
10622                              Store 1201(m) 1031
10623            1202:         287 Load 1201(m)
10624                              ReturnValue 1202
10625                              FunctionEnd
10626313(TDInstanceMat3ForNorm(i1;):         287 Function None 288
10627         312(id):     29(ptr) FunctionParameter
10628             314:             Label
10629         1205(m):   1028(ptr) Variable Function
10630     1206(param):     29(ptr) Variable Function
10631            1207:     28(int) Load 312(id)
10632                              Store 1206(param) 1207
10633            1208:         287 FunctionCall 310(TDInstanceMat3(i1;) 1206(param)
10634                              Store 1205(m) 1208
10635            1209:         287 Load 1205(m)
10636                              ReturnValue 1209
10637                              FunctionEnd
10638318(TDInstanceColor(i1;vf4;):    7(fvec4) Function None 315
10639      316(index):     29(ptr) FunctionParameter
10640   317(curColor):      8(ptr) FunctionParameter
10641             319:             Label
10642     1216(coord):     29(ptr) Variable Function
10643      1218(samp):      8(ptr) Variable Function
10644         1224(v):      8(ptr) Variable Function
10645            1212:    950(ptr) AccessChain 376 381
10646            1213:     28(int) Load 1212
10647            1214:     28(int) Load 316(index)
10648            1215:     28(int) ISub 1214 1213
10649                              Store 316(index) 1215
10650            1217:     28(int) Load 316(index)
10651                              Store 1216(coord) 1217
10652            1220:         929 Load 1219(sTDInstanceColor)
10653            1221:     28(int) Load 1216(coord)
10654            1222:         928 Image 1220
10655            1223:    7(fvec4) ImageFetch 1222 1221
10656                              Store 1218(samp) 1223
10657            1225:     30(ptr) AccessChain 1218(samp) 390
10658            1226:    6(float) Load 1225
10659            1227:     30(ptr) AccessChain 1224(v) 390
10660                              Store 1227 1226
10661            1228:     30(ptr) AccessChain 1218(samp) 393
10662            1229:    6(float) Load 1228
10663            1230:     30(ptr) AccessChain 1224(v) 393
10664                              Store 1230 1229
10665            1231:     30(ptr) AccessChain 1218(samp) 342
10666            1232:    6(float) Load 1231
10667            1233:     30(ptr) AccessChain 1224(v) 342
10668                              Store 1233 1232
10669            1234:     30(ptr) AccessChain 1224(v) 402
10670                              Store 1234 489
10671            1235:     30(ptr) AccessChain 1224(v) 390
10672            1236:    6(float) Load 1235
10673            1237:     30(ptr) AccessChain 317(curColor) 390
10674                              Store 1237 1236
10675            1238:     30(ptr) AccessChain 1224(v) 393
10676            1239:    6(float) Load 1238
10677            1240:     30(ptr) AccessChain 317(curColor) 393
10678                              Store 1240 1239
10679            1241:     30(ptr) AccessChain 1224(v) 342
10680            1242:    6(float) Load 1241
10681            1243:     30(ptr) AccessChain 317(curColor) 342
10682                              Store 1243 1242
10683            1244:    7(fvec4) Load 317(curColor)
10684                              ReturnValue 1244
10685                              FunctionEnd
10686321(TDOutputSwizzle(vf4;):    7(fvec4) Function None 9
10687          320(c):      8(ptr) FunctionParameter
10688             322:             Label
10689            1247:    7(fvec4) Load 320(c)
10690                              ReturnValue 1247
10691                              FunctionEnd
10692327(TDOutputSwizzle(vu4;):  323(ivec4) Function None 325
10693          326(c):    324(ptr) FunctionParameter
10694             328:             Label
10695            1250:  323(ivec4) Load 326(c)
10696                              ReturnValue 1250
10697                              FunctionEnd
10698