mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-23 19:55:05 +00:00
337dbc7d8c
Still need to handle arrays and built-in redeclarations, and many more rules, but this puts the basics in place. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@23225 e7fa87d3-cd2b-0410-9028-fcbf551c1848
102 lines
4.1 KiB
Plaintext
102 lines
4.1 KiB
Plaintext
0:? Sequence
|
|
0:3 Function Definition: foo(i1;i1;i1;i1;i1;i1; (mediump int)
|
|
0:3 Function Parameters:
|
|
0:3 'a' (in mediump int)
|
|
0:3 'b' (const (read only) mediump int)
|
|
0:3 'c' (in mediump int)
|
|
0:3 'd' (const (read only) mediump int)
|
|
0:3 'e' (out mediump int)
|
|
0:3 'f' (inout mediump int)
|
|
0:5 Sequence
|
|
0:5 Sequence
|
|
0:5 move second child to first child (mediump int)
|
|
0:5 'sum' (mediump int)
|
|
0:5 add (mediump int)
|
|
0:5 add (mediump int)
|
|
0:5 add (mediump int)
|
|
0:5 add (mediump int)
|
|
0:5 'a' (in mediump int)
|
|
0:5 'b' (const (read only) mediump int)
|
|
0:5 'c' (in mediump int)
|
|
0:5 'd' (const (read only) mediump int)
|
|
0:5 'f' (inout mediump int)
|
|
0:8 multiply second child into first child (mediump int)
|
|
0:8 'a' (in mediump int)
|
|
0:8 64 (const int)
|
|
0:10 multiply second child into first child (mediump int)
|
|
0:10 'c' (in mediump int)
|
|
0:10 64 (const int)
|
|
0:12 move second child to first child (mediump int)
|
|
0:12 'e' (out mediump int)
|
|
0:12 1024 (const int)
|
|
0:13 multiply second child into first child (mediump int)
|
|
0:13 'f' (inout mediump int)
|
|
0:13 64 (const int)
|
|
0:15 add second child into first child (mediump int)
|
|
0:15 'sum' (mediump int)
|
|
0:15 add (mediump int)
|
|
0:15 add (mediump int)
|
|
0:15 add (mediump int)
|
|
0:15 add (mediump int)
|
|
0:15 add (mediump int)
|
|
0:15 'a' (in mediump int)
|
|
0:15 component-wise multiply (mediump int)
|
|
0:15 64 (const int)
|
|
0:15 'b' (const (read only) mediump int)
|
|
0:15 'c' (in mediump int)
|
|
0:15 component-wise multiply (mediump int)
|
|
0:15 64 (const int)
|
|
0:15 'd' (const (read only) mediump int)
|
|
0:15 'e' (out mediump int)
|
|
0:15 'f' (inout mediump int)
|
|
0:18 Branch: Return with expression
|
|
0:18 'sum' (mediump int)
|
|
0:21 Function Definition: main( (void)
|
|
0:21 Function Parameters:
|
|
0:? Sequence
|
|
0:24 Sequence
|
|
0:24 move second child to first child (mediump int)
|
|
0:24 't' (mediump int)
|
|
0:24 2 (const int)
|
|
0:28 move second child to first child (mediump int)
|
|
0:28 direct index (mediump int)
|
|
0:28 t: direct index for structure (mediump 4-component vector of int)
|
|
0:28 'f' (structure)
|
|
0:28 0 (const int)
|
|
0:28 1 (const int)
|
|
0:28 32 (const int)
|
|
0:30 Sequence
|
|
0:30 move second child to first child (mediump int)
|
|
0:30 'color' (mediump int)
|
|
0:30 Function Call: foo(i1;i1;i1;i1;i1;i1; (mediump int)
|
|
0:30 1 (const int)
|
|
0:30 2 (const int)
|
|
0:30 add (mediump int)
|
|
0:30 't' (mediump int)
|
|
0:30 't' (mediump int)
|
|
0:30 8 (const int)
|
|
0:30 'e' (mediump int)
|
|
0:30 direct index (mediump int)
|
|
0:30 t: direct index for structure (mediump 4-component vector of int)
|
|
0:30 'f' (structure)
|
|
0:30 0 (const int)
|
|
0:30 1 (const int)
|
|
0:32 add second child into first child (mediump int)
|
|
0:32 'color' (mediump int)
|
|
0:32 component-wise multiply (mediump int)
|
|
0:32 128 (const int)
|
|
0:32 add (mediump int)
|
|
0:32 'e' (mediump int)
|
|
0:32 direct index (mediump int)
|
|
0:32 t: direct index for structure (mediump 4-component vector of int)
|
|
0:32 'f' (structure)
|
|
0:32 0 (const int)
|
|
0:32 1 (const int)
|
|
0:35 move second child to first child (mediump 4-component vector of float)
|
|
0:35 'gl_FragColor' (fragColor mediump 4-component vector of float)
|
|
0:35 Construct vec4 (mediump 4-component vector of float)
|
|
0:35 Convert int to float (mediump float)
|
|
0:35 'color' (mediump int)
|
|
0:? Linker Objects
|
|
|