glslang/Test/baseResults/hlsl.tx.bracket.frag.out
John Kessenich d3f1122a44 Whole stack: Fix stale types in the AST linker object nodes, fixing #557.
Rationalizes the entire tracking of the linker object nodes, effecting
GLSL, HLSL, and SPIR-V, to allow tracked objects to be fully edited before
their type snapshot for linker objects.

Should only effect things when the rest of the AST contained no reference to
the symbol, because normal AST nodes were not stale. Also will only effect such
objects when their types were edited.
2016-11-05 10:22:33 -06:00

703 lines
46 KiB
Plaintext

hlsl.tx.bracket.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:38 Function Definition: Fn1(vi4; (temp 4-component vector of int)
0:38 Function Parameters:
0:38 'x' (in 4-component vector of int)
0:? Sequence
0:38 Branch: Return with expression
0:38 'x' (in 4-component vector of int)
0:39 Function Definition: Fn1(vu4; (temp 4-component vector of uint)
0:39 Function Parameters:
0:39 'x' (in 4-component vector of uint)
0:? Sequence
0:39 Branch: Return with expression
0:39 'x' (in 4-component vector of uint)
0:40 Function Definition: Fn1(vf4; (temp 4-component vector of float)
0:40 Function Parameters:
0:40 'x' (in 4-component vector of float)
0:? Sequence
0:40 Branch: Return with expression
0:40 'x' (in 4-component vector of float)
0:42 Function Definition: SomeValue( (temp 4-component vector of float)
0:42 Function Parameters:
0:? Sequence
0:42 Branch: Return with expression
0:42 Convert int to float (temp 4-component vector of float)
0:42 c4: direct index for structure (layout(offset=32 ) uniform 4-component vector of int)
0:42 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:42 Constant:
0:42 3 (const uint)
0:45 Function Definition: main( (temp structure{temp 4-component vector of float Color})
0:45 Function Parameters:
0:? Sequence
0:49 textureFetch (temp 4-component vector of float)
0:49 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:49 c1: direct index for structure (layout(offset=0 ) uniform int)
0:49 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:49 Constant:
0:49 0 (const uint)
0:49 Constant:
0:49 0 (const int)
0:51 Sequence
0:51 move second child to first child (temp 4-component vector of float)
0:51 'r00' (temp 4-component vector of float)
0:51 textureFetch (temp 4-component vector of float)
0:51 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:51 c1: direct index for structure (layout(offset=0 ) uniform int)
0:51 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:51 Constant:
0:51 0 (const uint)
0:51 Constant:
0:51 0 (const int)
0:52 Sequence
0:52 move second child to first child (temp 4-component vector of int)
0:52 'r01' (temp 4-component vector of int)
0:52 textureFetch (temp 4-component vector of int)
0:52 'g_tTex1di4' (uniform itexture1D)
0:52 c1: direct index for structure (layout(offset=0 ) uniform int)
0:52 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:52 Constant:
0:52 0 (const uint)
0:52 Constant:
0:52 0 (const int)
0:53 Sequence
0:53 move second child to first child (temp 4-component vector of uint)
0:53 'r02' (temp 4-component vector of uint)
0:53 textureFetch (temp 4-component vector of uint)
0:53 'g_tTex1du4' (uniform utexture1D)
0:53 c1: direct index for structure (layout(offset=0 ) uniform int)
0:53 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:53 Constant:
0:53 0 (const uint)
0:53 Constant:
0:53 0 (const int)
0:56 Sequence
0:56 move second child to first child (temp 4-component vector of float)
0:56 'r10' (temp 4-component vector of float)
0:56 textureFetch (temp 4-component vector of float)
0:56 'g_tTex2df4' (uniform texture2D)
0:56 c2: direct index for structure (layout(offset=8 ) uniform 2-component vector of int)
0:56 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:56 Constant:
0:56 1 (const uint)
0:56 Constant:
0:56 0 (const int)
0:57 Sequence
0:57 move second child to first child (temp 4-component vector of int)
0:57 'r11' (temp 4-component vector of int)
0:57 textureFetch (temp 4-component vector of int)
0:57 'g_tTex2di4' (uniform itexture2D)
0:57 c2: direct index for structure (layout(offset=8 ) uniform 2-component vector of int)
0:57 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:57 Constant:
0:57 1 (const uint)
0:57 Constant:
0:57 0 (const int)
0:58 Sequence
0:58 move second child to first child (temp 4-component vector of uint)
0:58 'r12' (temp 4-component vector of uint)
0:58 textureFetch (temp 4-component vector of uint)
0:58 'g_tTex2du4' (uniform utexture2D)
0:58 c2: direct index for structure (layout(offset=8 ) uniform 2-component vector of int)
0:58 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:58 Constant:
0:58 1 (const uint)
0:58 Constant:
0:58 0 (const int)
0:61 Sequence
0:61 move second child to first child (temp 4-component vector of float)
0:61 'r20' (temp 4-component vector of float)
0:61 textureFetch (temp 4-component vector of float)
0:61 'g_tTex3df4' (uniform texture3D)
0:61 c3: direct index for structure (layout(offset=16 ) uniform 3-component vector of int)
0:61 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:61 Constant:
0:61 2 (const uint)
0:61 Constant:
0:61 0 (const int)
0:62 Sequence
0:62 move second child to first child (temp 4-component vector of int)
0:62 'r21' (temp 4-component vector of int)
0:62 textureFetch (temp 4-component vector of int)
0:62 'g_tTex3di4' (uniform itexture3D)
0:62 c3: direct index for structure (layout(offset=16 ) uniform 3-component vector of int)
0:62 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:62 Constant:
0:62 2 (const uint)
0:62 Constant:
0:62 0 (const int)
0:63 Sequence
0:63 move second child to first child (temp 4-component vector of uint)
0:63 'r22' (temp 4-component vector of uint)
0:63 textureFetch (temp 4-component vector of uint)
0:63 'g_tTex3du4' (uniform utexture3D)
0:63 c3: direct index for structure (layout(offset=16 ) uniform 3-component vector of int)
0:63 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:63 Constant:
0:63 2 (const uint)
0:63 Constant:
0:63 0 (const int)
0:66 Function Call: Fn1(vf4; (temp 4-component vector of float)
0:66 textureFetch (temp 4-component vector of float)
0:66 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:66 c1: direct index for structure (layout(offset=0 ) uniform int)
0:66 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:66 Constant:
0:66 0 (const uint)
0:66 Constant:
0:66 0 (const int)
0:67 Function Call: Fn1(vi4; (temp 4-component vector of int)
0:67 textureFetch (temp 4-component vector of int)
0:67 'g_tTex1di4' (uniform itexture1D)
0:67 c1: direct index for structure (layout(offset=0 ) uniform int)
0:67 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:67 Constant:
0:67 0 (const uint)
0:67 Constant:
0:67 0 (const int)
0:68 Function Call: Fn1(vu4; (temp 4-component vector of uint)
0:68 textureFetch (temp 4-component vector of uint)
0:68 'g_tTex1du4' (uniform utexture1D)
0:68 c1: direct index for structure (layout(offset=0 ) uniform int)
0:68 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:68 Constant:
0:68 0 (const uint)
0:68 Constant:
0:68 0 (const int)
0:70 move second child to first child (temp 4-component vector of float)
0:70 Color: direct index for structure (temp 4-component vector of float)
0:70 'psout' (temp structure{temp 4-component vector of float Color})
0:70 Constant:
0:70 0 (const int)
0:70 Constant:
0:70 1.000000
0:70 1.000000
0:70 1.000000
0:70 1.000000
0:72 Sequence
0:72 Sequence
0:72 move second child to first child (temp 4-component vector of float)
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:72 Color: direct index for structure (temp 4-component vector of float)
0:72 'psout' (temp structure{temp 4-component vector of float Color})
0:72 Constant:
0:72 0 (const int)
0:72 Branch: Return
0:? Linker Objects
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? 'g_tTex1di4' (uniform itexture1D)
0:? 'g_tTex1du4' (uniform utexture1D)
0:? 'g_tTex2df4' (uniform texture2D)
0:? 'g_tTex2di4' (uniform itexture2D)
0:? 'g_tTex2du4' (uniform utexture2D)
0:? 'g_tTex3df4' (uniform texture3D)
0:? 'g_tTex3di4' (uniform itexture3D)
0:? 'g_tTex3du4' (uniform utexture3D)
0:? 'g_tTex1df4a' (uniform texture1DArray)
0:? 'g_tTex1di4a' (uniform itexture1DArray)
0:? 'g_tTex1du4a' (uniform utexture1DArray)
0:? 'g_tTex2df4a' (uniform texture2DArray)
0:? 'g_tTex2di4a' (uniform itexture2DArray)
0:? 'g_tTex2du4a' (uniform utexture2DArray)
0:? 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:38 Function Definition: Fn1(vi4; (temp 4-component vector of int)
0:38 Function Parameters:
0:38 'x' (in 4-component vector of int)
0:? Sequence
0:38 Branch: Return with expression
0:38 'x' (in 4-component vector of int)
0:39 Function Definition: Fn1(vu4; (temp 4-component vector of uint)
0:39 Function Parameters:
0:39 'x' (in 4-component vector of uint)
0:? Sequence
0:39 Branch: Return with expression
0:39 'x' (in 4-component vector of uint)
0:40 Function Definition: Fn1(vf4; (temp 4-component vector of float)
0:40 Function Parameters:
0:40 'x' (in 4-component vector of float)
0:? Sequence
0:40 Branch: Return with expression
0:40 'x' (in 4-component vector of float)
0:42 Function Definition: SomeValue( (temp 4-component vector of float)
0:42 Function Parameters:
0:? Sequence
0:42 Branch: Return with expression
0:42 Convert int to float (temp 4-component vector of float)
0:42 c4: direct index for structure (layout(offset=32 ) uniform 4-component vector of int)
0:42 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:42 Constant:
0:42 3 (const uint)
0:45 Function Definition: main( (temp structure{temp 4-component vector of float Color})
0:45 Function Parameters:
0:? Sequence
0:49 textureFetch (temp 4-component vector of float)
0:49 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:49 c1: direct index for structure (layout(offset=0 ) uniform int)
0:49 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:49 Constant:
0:49 0 (const uint)
0:49 Constant:
0:49 0 (const int)
0:51 Sequence
0:51 move second child to first child (temp 4-component vector of float)
0:51 'r00' (temp 4-component vector of float)
0:51 textureFetch (temp 4-component vector of float)
0:51 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:51 c1: direct index for structure (layout(offset=0 ) uniform int)
0:51 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:51 Constant:
0:51 0 (const uint)
0:51 Constant:
0:51 0 (const int)
0:52 Sequence
0:52 move second child to first child (temp 4-component vector of int)
0:52 'r01' (temp 4-component vector of int)
0:52 textureFetch (temp 4-component vector of int)
0:52 'g_tTex1di4' (uniform itexture1D)
0:52 c1: direct index for structure (layout(offset=0 ) uniform int)
0:52 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:52 Constant:
0:52 0 (const uint)
0:52 Constant:
0:52 0 (const int)
0:53 Sequence
0:53 move second child to first child (temp 4-component vector of uint)
0:53 'r02' (temp 4-component vector of uint)
0:53 textureFetch (temp 4-component vector of uint)
0:53 'g_tTex1du4' (uniform utexture1D)
0:53 c1: direct index for structure (layout(offset=0 ) uniform int)
0:53 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:53 Constant:
0:53 0 (const uint)
0:53 Constant:
0:53 0 (const int)
0:56 Sequence
0:56 move second child to first child (temp 4-component vector of float)
0:56 'r10' (temp 4-component vector of float)
0:56 textureFetch (temp 4-component vector of float)
0:56 'g_tTex2df4' (uniform texture2D)
0:56 c2: direct index for structure (layout(offset=8 ) uniform 2-component vector of int)
0:56 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:56 Constant:
0:56 1 (const uint)
0:56 Constant:
0:56 0 (const int)
0:57 Sequence
0:57 move second child to first child (temp 4-component vector of int)
0:57 'r11' (temp 4-component vector of int)
0:57 textureFetch (temp 4-component vector of int)
0:57 'g_tTex2di4' (uniform itexture2D)
0:57 c2: direct index for structure (layout(offset=8 ) uniform 2-component vector of int)
0:57 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:57 Constant:
0:57 1 (const uint)
0:57 Constant:
0:57 0 (const int)
0:58 Sequence
0:58 move second child to first child (temp 4-component vector of uint)
0:58 'r12' (temp 4-component vector of uint)
0:58 textureFetch (temp 4-component vector of uint)
0:58 'g_tTex2du4' (uniform utexture2D)
0:58 c2: direct index for structure (layout(offset=8 ) uniform 2-component vector of int)
0:58 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:58 Constant:
0:58 1 (const uint)
0:58 Constant:
0:58 0 (const int)
0:61 Sequence
0:61 move second child to first child (temp 4-component vector of float)
0:61 'r20' (temp 4-component vector of float)
0:61 textureFetch (temp 4-component vector of float)
0:61 'g_tTex3df4' (uniform texture3D)
0:61 c3: direct index for structure (layout(offset=16 ) uniform 3-component vector of int)
0:61 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:61 Constant:
0:61 2 (const uint)
0:61 Constant:
0:61 0 (const int)
0:62 Sequence
0:62 move second child to first child (temp 4-component vector of int)
0:62 'r21' (temp 4-component vector of int)
0:62 textureFetch (temp 4-component vector of int)
0:62 'g_tTex3di4' (uniform itexture3D)
0:62 c3: direct index for structure (layout(offset=16 ) uniform 3-component vector of int)
0:62 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:62 Constant:
0:62 2 (const uint)
0:62 Constant:
0:62 0 (const int)
0:63 Sequence
0:63 move second child to first child (temp 4-component vector of uint)
0:63 'r22' (temp 4-component vector of uint)
0:63 textureFetch (temp 4-component vector of uint)
0:63 'g_tTex3du4' (uniform utexture3D)
0:63 c3: direct index for structure (layout(offset=16 ) uniform 3-component vector of int)
0:63 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:63 Constant:
0:63 2 (const uint)
0:63 Constant:
0:63 0 (const int)
0:66 Function Call: Fn1(vf4; (temp 4-component vector of float)
0:66 textureFetch (temp 4-component vector of float)
0:66 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:66 c1: direct index for structure (layout(offset=0 ) uniform int)
0:66 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:66 Constant:
0:66 0 (const uint)
0:66 Constant:
0:66 0 (const int)
0:67 Function Call: Fn1(vi4; (temp 4-component vector of int)
0:67 textureFetch (temp 4-component vector of int)
0:67 'g_tTex1di4' (uniform itexture1D)
0:67 c1: direct index for structure (layout(offset=0 ) uniform int)
0:67 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:67 Constant:
0:67 0 (const uint)
0:67 Constant:
0:67 0 (const int)
0:68 Function Call: Fn1(vu4; (temp 4-component vector of uint)
0:68 textureFetch (temp 4-component vector of uint)
0:68 'g_tTex1du4' (uniform utexture1D)
0:68 c1: direct index for structure (layout(offset=0 ) uniform int)
0:68 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
0:68 Constant:
0:68 0 (const uint)
0:68 Constant:
0:68 0 (const int)
0:70 move second child to first child (temp 4-component vector of float)
0:70 Color: direct index for structure (temp 4-component vector of float)
0:70 'psout' (temp structure{temp 4-component vector of float Color})
0:70 Constant:
0:70 0 (const int)
0:70 Constant:
0:70 1.000000
0:70 1.000000
0:70 1.000000
0:70 1.000000
0:72 Sequence
0:72 Sequence
0:72 move second child to first child (temp 4-component vector of float)
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:72 Color: direct index for structure (temp 4-component vector of float)
0:72 'psout' (temp structure{temp 4-component vector of float Color})
0:72 Constant:
0:72 0 (const int)
0:72 Branch: Return
0:? Linker Objects
0:? 'Color' (layout(location=0 ) out 4-component vector of float)
0:? 'g_sSamp' (layout(binding=0 ) uniform sampler)
0:? 'g_tTex1df4' (layout(binding=0 ) uniform texture1D)
0:? 'g_tTex1di4' (uniform itexture1D)
0:? 'g_tTex1du4' (uniform utexture1D)
0:? 'g_tTex2df4' (uniform texture2D)
0:? 'g_tTex2di4' (uniform itexture2D)
0:? 'g_tTex2du4' (uniform utexture2D)
0:? 'g_tTex3df4' (uniform texture3D)
0:? 'g_tTex3di4' (uniform itexture3D)
0:? 'g_tTex3du4' (uniform utexture3D)
0:? 'g_tTex1df4a' (uniform texture1DArray)
0:? 'g_tTex1di4a' (uniform itexture1DArray)
0:? 'g_tTex1du4a' (uniform utexture1DArray)
0:? 'g_tTex2df4a' (uniform texture2DArray)
0:? 'g_tTex2di4a' (uniform itexture2DArray)
0:? 'g_tTex2du4a' (uniform utexture2DArray)
0:? 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int c1, layout(offset=8 ) uniform 2-component vector of int c2, layout(offset=16 ) uniform 3-component vector of int c3, layout(offset=32 ) uniform 4-component vector of int c4, layout(offset=48 ) uniform int o1, layout(offset=56 ) uniform 2-component vector of int o2, layout(offset=64 ) uniform 3-component vector of int o3, layout(offset=80 ) uniform 4-component vector of int o4})
// Module Version 10000
// Generated by (magic number): 80001
// Id's are bound by 183
Capability Shader
Capability Sampled1D
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Fragment 4 "main" 158
ExecutionMode 4 OriginUpperLeft
Name 4 "main"
Name 11 "Fn1(vi4;"
Name 10 "x"
Name 18 "Fn1(vu4;"
Name 17 "x"
Name 25 "Fn1(vf4;"
Name 24 "x"
Name 28 "SomeValue("
Name 41 "$Global"
MemberName 41($Global) 0 "c1"
MemberName 41($Global) 1 "c2"
MemberName 41($Global) 2 "c3"
MemberName 41($Global) 3 "c4"
MemberName 41($Global) 4 "o1"
MemberName 41($Global) 5 "o2"
MemberName 41($Global) 6 "o3"
MemberName 41($Global) 7 "o4"
Name 43 ""
Name 53 "g_tTex1df4"
Name 60 "r00"
Name 65 "r01"
Name 68 "g_tTex1di4"
Name 73 "r02"
Name 76 "g_tTex1du4"
Name 81 "r10"
Name 84 "g_tTex2df4"
Name 91 "r11"
Name 94 "g_tTex2di4"
Name 99 "r12"
Name 102 "g_tTex2du4"
Name 107 "r20"
Name 110 "g_tTex3df4"
Name 117 "r21"
Name 120 "g_tTex3di4"
Name 125 "r22"
Name 128 "g_tTex3du4"
Name 137 "param"
Name 143 "param"
Name 149 "param"
Name 151 "PS_OUTPUT"
MemberName 151(PS_OUTPUT) 0 "Color"
Name 153 "psout"
Name 158 "Color"
Name 164 "g_sSamp"
Name 167 "g_tTex1df4a"
Name 170 "g_tTex1di4a"
Name 173 "g_tTex1du4a"
Name 176 "g_tTex2df4a"
Name 179 "g_tTex2di4a"
Name 182 "g_tTex2du4a"
MemberDecorate 41($Global) 0 Offset 0
MemberDecorate 41($Global) 1 Offset 8
MemberDecorate 41($Global) 2 Offset 16
MemberDecorate 41($Global) 3 Offset 32
MemberDecorate 41($Global) 4 Offset 48
MemberDecorate 41($Global) 5 Offset 56
MemberDecorate 41($Global) 6 Offset 64
MemberDecorate 41($Global) 7 Offset 80
Decorate 41($Global) Block
Decorate 43 DescriptorSet 0
Decorate 53(g_tTex1df4) DescriptorSet 0
Decorate 53(g_tTex1df4) Binding 0
Decorate 68(g_tTex1di4) DescriptorSet 0
Decorate 76(g_tTex1du4) DescriptorSet 0
Decorate 84(g_tTex2df4) DescriptorSet 0
Decorate 94(g_tTex2di4) DescriptorSet 0
Decorate 102(g_tTex2du4) DescriptorSet 0
Decorate 110(g_tTex3df4) DescriptorSet 0
Decorate 120(g_tTex3di4) DescriptorSet 0
Decorate 128(g_tTex3du4) DescriptorSet 0
Decorate 158(Color) Location 0
Decorate 164(g_sSamp) DescriptorSet 0
Decorate 164(g_sSamp) Binding 0
Decorate 167(g_tTex1df4a) DescriptorSet 0
Decorate 170(g_tTex1di4a) DescriptorSet 0
Decorate 173(g_tTex1du4a) DescriptorSet 0
Decorate 176(g_tTex2df4a) DescriptorSet 0
Decorate 179(g_tTex2di4a) DescriptorSet 0
Decorate 182(g_tTex2du4a) DescriptorSet 0
2: TypeVoid
3: TypeFunction 2
6: TypeInt 32 1
7: TypeVector 6(int) 4
8: TypePointer Function 7(ivec4)
9: TypeFunction 7(ivec4) 8(ptr)
13: TypeInt 32 0
14: TypeVector 13(int) 4
15: TypePointer Function 14(ivec4)
16: TypeFunction 14(ivec4) 15(ptr)
20: TypeFloat 32
21: TypeVector 20(float) 4
22: TypePointer Function 21(fvec4)
23: TypeFunction 21(fvec4) 22(ptr)
27: TypeFunction 21(fvec4)
39: TypeVector 6(int) 2
40: TypeVector 6(int) 3
41($Global): TypeStruct 6(int) 39(ivec2) 40(ivec3) 7(ivec4) 6(int) 39(ivec2) 40(ivec3) 7(ivec4)
42: TypePointer Uniform 41($Global)
43: 42(ptr) Variable Uniform
44: 6(int) Constant 3
45: TypePointer Uniform 7(ivec4)
51: TypeImage 20(float) 1D sampled format:Unknown
52: TypePointer UniformConstant 51
53(g_tTex1df4): 52(ptr) Variable UniformConstant
55: 6(int) Constant 0
56: TypePointer Uniform 6(int)
66: TypeImage 6(int) 1D sampled format:Unknown
67: TypePointer UniformConstant 66
68(g_tTex1di4): 67(ptr) Variable UniformConstant
74: TypeImage 13(int) 1D sampled format:Unknown
75: TypePointer UniformConstant 74
76(g_tTex1du4): 75(ptr) Variable UniformConstant
82: TypeImage 20(float) 2D sampled format:Unknown
83: TypePointer UniformConstant 82
84(g_tTex2df4): 83(ptr) Variable UniformConstant
86: 6(int) Constant 1
87: TypePointer Uniform 39(ivec2)
92: TypeImage 6(int) 2D sampled format:Unknown
93: TypePointer UniformConstant 92
94(g_tTex2di4): 93(ptr) Variable UniformConstant
100: TypeImage 13(int) 2D sampled format:Unknown
101: TypePointer UniformConstant 100
102(g_tTex2du4): 101(ptr) Variable UniformConstant
108: TypeImage 20(float) 3D sampled format:Unknown
109: TypePointer UniformConstant 108
110(g_tTex3df4): 109(ptr) Variable UniformConstant
112: 6(int) Constant 2
113: TypePointer Uniform 40(ivec3)
118: TypeImage 6(int) 3D sampled format:Unknown
119: TypePointer UniformConstant 118
120(g_tTex3di4): 119(ptr) Variable UniformConstant
126: TypeImage 13(int) 3D sampled format:Unknown
127: TypePointer UniformConstant 126
128(g_tTex3du4): 127(ptr) Variable UniformConstant
151(PS_OUTPUT): TypeStruct 21(fvec4)
152: TypePointer Function 151(PS_OUTPUT)
154: 20(float) Constant 1065353216
155: 21(fvec4) ConstantComposite 154 154 154 154
157: TypePointer Output 21(fvec4)
158(Color): 157(ptr) Variable Output
162: TypeSampler
163: TypePointer UniformConstant 162
164(g_sSamp): 163(ptr) Variable UniformConstant
165: TypeImage 20(float) 1D array sampled format:Unknown
166: TypePointer UniformConstant 165
167(g_tTex1df4a): 166(ptr) Variable UniformConstant
168: TypeImage 6(int) 1D array sampled format:Unknown
169: TypePointer UniformConstant 168
170(g_tTex1di4a): 169(ptr) Variable UniformConstant
171: TypeImage 13(int) 1D array sampled format:Unknown
172: TypePointer UniformConstant 171
173(g_tTex1du4a): 172(ptr) Variable UniformConstant
174: TypeImage 20(float) 2D array sampled format:Unknown
175: TypePointer UniformConstant 174
176(g_tTex2df4a): 175(ptr) Variable UniformConstant
177: TypeImage 6(int) 2D array sampled format:Unknown
178: TypePointer UniformConstant 177
179(g_tTex2di4a): 178(ptr) Variable UniformConstant
180: TypeImage 13(int) 2D array sampled format:Unknown
181: TypePointer UniformConstant 180
182(g_tTex2du4a): 181(ptr) Variable UniformConstant
4(main): 2 Function None 3
5: Label
60(r00): 22(ptr) Variable Function
65(r01): 8(ptr) Variable Function
73(r02): 15(ptr) Variable Function
81(r10): 22(ptr) Variable Function
91(r11): 8(ptr) Variable Function
99(r12): 15(ptr) Variable Function
107(r20): 22(ptr) Variable Function
117(r21): 8(ptr) Variable Function
125(r22): 15(ptr) Variable Function
137(param): 22(ptr) Variable Function
143(param): 8(ptr) Variable Function
149(param): 15(ptr) Variable Function
153(psout): 152(ptr) Variable Function
54: 51 Load 53(g_tTex1df4)
57: 56(ptr) AccessChain 43 55
58: 6(int) Load 57
59: 21(fvec4) ImageFetch 54 58 Lod 55
61: 51 Load 53(g_tTex1df4)
62: 56(ptr) AccessChain 43 55
63: 6(int) Load 62
64: 21(fvec4) ImageFetch 61 63 Lod 55
Store 60(r00) 64
69: 66 Load 68(g_tTex1di4)
70: 56(ptr) AccessChain 43 55
71: 6(int) Load 70
72: 7(ivec4) ImageFetch 69 71 Lod 55
Store 65(r01) 72
77: 74 Load 76(g_tTex1du4)
78: 56(ptr) AccessChain 43 55
79: 6(int) Load 78
80: 14(ivec4) ImageFetch 77 79 Lod 55
Store 73(r02) 80
85: 82 Load 84(g_tTex2df4)
88: 87(ptr) AccessChain 43 86
89: 39(ivec2) Load 88
90: 21(fvec4) ImageFetch 85 89 Lod 55
Store 81(r10) 90
95: 92 Load 94(g_tTex2di4)
96: 87(ptr) AccessChain 43 86
97: 39(ivec2) Load 96
98: 7(ivec4) ImageFetch 95 97 Lod 55
Store 91(r11) 98
103: 100 Load 102(g_tTex2du4)
104: 87(ptr) AccessChain 43 86
105: 39(ivec2) Load 104
106: 14(ivec4) ImageFetch 103 105 Lod 55
Store 99(r12) 106
111: 108 Load 110(g_tTex3df4)
114: 113(ptr) AccessChain 43 112
115: 40(ivec3) Load 114
116: 21(fvec4) ImageFetch 111 115 Lod 55
Store 107(r20) 116
121: 118 Load 120(g_tTex3di4)
122: 113(ptr) AccessChain 43 112
123: 40(ivec3) Load 122
124: 7(ivec4) ImageFetch 121 123 Lod 55
Store 117(r21) 124
129: 126 Load 128(g_tTex3du4)
130: 113(ptr) AccessChain 43 112
131: 40(ivec3) Load 130
132: 14(ivec4) ImageFetch 129 131 Lod 55
Store 125(r22) 132
133: 51 Load 53(g_tTex1df4)
134: 56(ptr) AccessChain 43 55
135: 6(int) Load 134
136: 21(fvec4) ImageFetch 133 135 Lod 55
Store 137(param) 136
138: 21(fvec4) FunctionCall 25(Fn1(vf4;) 137(param)
139: 66 Load 68(g_tTex1di4)
140: 56(ptr) AccessChain 43 55
141: 6(int) Load 140
142: 7(ivec4) ImageFetch 139 141 Lod 55
Store 143(param) 142
144: 7(ivec4) FunctionCall 11(Fn1(vi4;) 143(param)
145: 74 Load 76(g_tTex1du4)
146: 56(ptr) AccessChain 43 55
147: 6(int) Load 146
148: 14(ivec4) ImageFetch 145 147 Lod 55
Store 149(param) 148
150: 14(ivec4) FunctionCall 18(Fn1(vu4;) 149(param)
156: 22(ptr) AccessChain 153(psout) 55
Store 156 155
159: 22(ptr) AccessChain 153(psout) 55
160: 21(fvec4) Load 159
Store 158(Color) 160
Return
FunctionEnd
11(Fn1(vi4;): 7(ivec4) Function None 9
10(x): 8(ptr) FunctionParameter
12: Label
30: 7(ivec4) Load 10(x)
ReturnValue 30
FunctionEnd
18(Fn1(vu4;): 14(ivec4) Function None 16
17(x): 15(ptr) FunctionParameter
19: Label
33: 14(ivec4) Load 17(x)
ReturnValue 33
FunctionEnd
25(Fn1(vf4;): 21(fvec4) Function None 23
24(x): 22(ptr) FunctionParameter
26: Label
36: 21(fvec4) Load 24(x)
ReturnValue 36
FunctionEnd
28(SomeValue(): 21(fvec4) Function None 27
29: Label
46: 45(ptr) AccessChain 43 44
47: 7(ivec4) Load 46
48: 21(fvec4) ConvertSToF 47
ReturnValue 48
FunctionEnd