glslang AST output: include global vs. temp (local) in the printed output. This only effects test results, but a future check-in is going to fix some globals.
git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@30973 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
parent
bcef333a78
commit
8b37b04ecc
130 changed files with 15103 additions and 15104 deletions
|
|
@ -67,11 +67,11 @@ Requested GL_ARB_enhanced_layouts
|
|||
Requested GL_ARB_shader_texture_image_samples
|
||||
in xfb mode
|
||||
ERROR: node is still EOpNull!
|
||||
0:14 Function Definition: foo( (void)
|
||||
0:14 Function Definition: foo( (global void)
|
||||
0:14 Function Parameters:
|
||||
0:16 Sequence
|
||||
0:16 move second child to first child (float)
|
||||
0:16 direct index (float)
|
||||
0:16 move second child to first child (temp float)
|
||||
0:16 direct index (temp float)
|
||||
0:16 gl_ClipDistance: direct index for structure (out 17-element array of float)
|
||||
0:16 'anon@0' (out block{out 17-element array of float gl_ClipDistance, })
|
||||
0:16 Constant:
|
||||
|
|
@ -80,72 +80,72 @@ ERROR: node is still EOpNull!
|
|||
0:16 2 (const int)
|
||||
0:16 Constant:
|
||||
0:16 3.700000
|
||||
0:31 Function Definition: foo3(vf4;vf3;vf2;vf3; (void)
|
||||
0:31 Function Definition: foo3(vf4;vf3;vf2;vf3; (global void)
|
||||
0:31 Function Parameters:
|
||||
0:31 'v4' (in 4-component vector of float)
|
||||
0:31 'v3' (volatile in 3-component vector of float)
|
||||
0:31 'v2' (in 2-component vector of float)
|
||||
0:31 'cv3' (in 3-component vector of float)
|
||||
0:148 Function Definition: fooBarrier( (void)
|
||||
0:148 Function Definition: fooBarrier( (global void)
|
||||
0:148 Function Parameters:
|
||||
0:150 Sequence
|
||||
0:150 Constant:
|
||||
0:150 0.000000
|
||||
0:151 MemoryBarrier (void)
|
||||
0:152 MemoryBarrierAtomicCounter (void)
|
||||
0:153 MemoryBarrierBuffer (void)
|
||||
0:151 MemoryBarrier (global void)
|
||||
0:152 MemoryBarrierAtomicCounter (global void)
|
||||
0:153 MemoryBarrierBuffer (global void)
|
||||
0:154 Constant:
|
||||
0:154 0.000000
|
||||
0:155 MemoryBarrierImage (void)
|
||||
0:155 MemoryBarrierImage (global void)
|
||||
0:156 Constant:
|
||||
0:156 0.000000
|
||||
0:166 Function Definition: fooq( (void)
|
||||
0:166 Function Definition: fooq( (global void)
|
||||
0:166 Function Parameters:
|
||||
0:168 Sequence
|
||||
0:168 Sequence
|
||||
0:168 move second child to first child (int)
|
||||
0:168 's' (int)
|
||||
0:168 Function Call: textureSamples(s21; (int)
|
||||
0:168 move second child to first child (temp int)
|
||||
0:168 's' (temp int)
|
||||
0:168 Function Call: textureSamples(s21; (global int)
|
||||
0:168 's2dms' (uniform sampler2DMS)
|
||||
0:169 add second child into first child (int)
|
||||
0:169 's' (int)
|
||||
0:169 Function Call: textureSamples(usA21; (int)
|
||||
0:169 add second child into first child (temp int)
|
||||
0:169 's' (temp int)
|
||||
0:169 Function Call: textureSamples(usA21; (global int)
|
||||
0:169 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:170 add second child into first child (int)
|
||||
0:170 's' (int)
|
||||
0:170 Function Call: imageSamples(iI21; (int)
|
||||
0:170 add second child into first child (temp int)
|
||||
0:170 's' (temp int)
|
||||
0:170 Function Call: imageSamples(iI21; (global int)
|
||||
0:170 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:171 add second child into first child (int)
|
||||
0:171 's' (int)
|
||||
0:171 Function Call: imageSamples(IA21; (int)
|
||||
0:171 add second child into first child (temp int)
|
||||
0:171 's' (temp int)
|
||||
0:171 Function Call: imageSamples(IA21; (global int)
|
||||
0:171 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:176 Function Definition: fooq2( (void)
|
||||
0:176 Function Definition: fooq2( (global void)
|
||||
0:176 Function Parameters:
|
||||
0:178 Sequence
|
||||
0:178 Sequence
|
||||
0:178 move second child to first child (int)
|
||||
0:178 's' (int)
|
||||
0:178 Function Call: textureSamples(s21; (int)
|
||||
0:178 move second child to first child (temp int)
|
||||
0:178 's' (temp int)
|
||||
0:178 Function Call: textureSamples(s21; (global int)
|
||||
0:178 's2dms' (uniform sampler2DMS)
|
||||
0:179 add second child into first child (int)
|
||||
0:179 's' (int)
|
||||
0:179 Function Call: textureSamples(usA21; (int)
|
||||
0:179 add second child into first child (temp int)
|
||||
0:179 's' (temp int)
|
||||
0:179 Function Call: textureSamples(usA21; (global int)
|
||||
0:179 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:180 add second child into first child (int)
|
||||
0:180 's' (int)
|
||||
0:180 Function Call: imageSamples(iI21; (int)
|
||||
0:180 add second child into first child (temp int)
|
||||
0:180 's' (temp int)
|
||||
0:180 Function Call: imageSamples(iI21; (global int)
|
||||
0:180 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:181 add second child into first child (int)
|
||||
0:181 's' (int)
|
||||
0:181 Function Call: imageSamples(IA21; (int)
|
||||
0:181 add second child into first child (temp int)
|
||||
0:181 's' (temp int)
|
||||
0:181 Function Call: imageSamples(IA21; (global int)
|
||||
0:181 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:? Linker Objects
|
||||
0:? 'v4' (layout(location=3 ) 4-component vector of float)
|
||||
0:? 'v4' (layout(location=3 ) temp 4-component vector of float)
|
||||
0:? 'uv4' (layout(location=4 ) uniform 4-component vector of float)
|
||||
0:? 'b1' (layout(location=2 ) in block{in 4-component vector of float v})
|
||||
0:? 'b2' (layout(location=2 ) out block{out 4-component vector of float v})
|
||||
0:? 'anon@0' (out block{out 17-element array of float gl_ClipDistance, })
|
||||
0:? 'cs' (layout(location=10 ) smooth out 2-element array of structure{7-element array of 3X2 matrix of float m, float f})
|
||||
0:? 'cs' (layout(location=10 ) smooth out 2-element array of structure{global 7-element array of 3X2 matrix of float m, global float f})
|
||||
0:? 'cf' (layout(location=54 ) smooth out float)
|
||||
0:? 'cg' (layout(location=53 ) smooth out float)
|
||||
0:? 'alias1' (layout(location=10 ) in 4-component vector of float)
|
||||
|
|
@ -156,8 +156,8 @@ ERROR: node is still EOpNull!
|
|||
0:? 'inst4e' (layout(column_major std140 align=16 ) uniform block{layout(column_major std140 offset=0 align=16 ) uniform int a})
|
||||
0:? 'inst9e' (layout(column_major shared align=32 ) uniform block{layout(column_major shared offset=12 align=4 ) uniform float f, layout(column_major shared offset=20 ) uniform float g})
|
||||
0:? 'spinste' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform 4-component vector of float a, layout(column_major std140 offset=32 ) uniform 3-component vector of float b})
|
||||
0:? 'aconste' (4-element array of int)
|
||||
0:? 'bconste' (64-element array of int)
|
||||
0:? 'aconste' (global 4-element array of int)
|
||||
0:? 'bconste' (global 64-element array of int)
|
||||
0:? 'bbinst2' (out block{layout(xfb_buffer=0 xfb_offset=64 ) out 4-component vector of float bbv})
|
||||
0:? 'bge' (layout(xfb_buffer=2 xfb_offset=48 xfb_stride=80 ) smooth out 4-component vector of float)
|
||||
0:? 'bhe' (layout(xfb_buffer=3 xfb_offset=32 xfb_stride=64 ) smooth out 4-component vector of float)
|
||||
|
|
@ -166,8 +166,8 @@ ERROR: node is still EOpNull!
|
|||
0:? 'inst4' (layout(column_major std140 align=16 ) uniform block{layout(column_major std140 offset=0 align=16 ) uniform int a})
|
||||
0:? 'inst9' (layout(column_major std430 align=32 ) uniform block{layout(column_major std430 offset=12 align=4 ) uniform float f, layout(column_major std430 offset=20 align=32 ) uniform float g})
|
||||
0:? 'spinst' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform 4-component vector of float a, layout(column_major std140 offset=32 ) uniform 3-component vector of float b})
|
||||
0:? 'aconst' (4-element array of int)
|
||||
0:? 'bconst' (64-element array of int)
|
||||
0:? 'aconst' (global 4-element array of int)
|
||||
0:? 'bconst' (global 64-element array of int)
|
||||
0:? 'start2' (const int)
|
||||
0:? 5 (const int)
|
||||
0:? 'v6' (layout(location=19 ) in 4-component vector of float)
|
||||
|
|
@ -199,11 +199,11 @@ Requested GL_ARB_enhanced_layouts
|
|||
Requested GL_ARB_shader_texture_image_samples
|
||||
in xfb mode
|
||||
ERROR: node is still EOpNull!
|
||||
0:14 Function Definition: foo( (void)
|
||||
0:14 Function Definition: foo( (global void)
|
||||
0:14 Function Parameters:
|
||||
0:16 Sequence
|
||||
0:16 move second child to first child (float)
|
||||
0:16 direct index (float)
|
||||
0:16 move second child to first child (temp float)
|
||||
0:16 direct index (temp float)
|
||||
0:16 gl_ClipDistance: direct index for structure (out 17-element array of float)
|
||||
0:16 'anon@0' (out block{out 17-element array of float gl_ClipDistance, })
|
||||
0:16 Constant:
|
||||
|
|
@ -212,72 +212,72 @@ ERROR: node is still EOpNull!
|
|||
0:16 2 (const int)
|
||||
0:16 Constant:
|
||||
0:16 3.700000
|
||||
0:31 Function Definition: foo3(vf4;vf3;vf2;vf3; (void)
|
||||
0:31 Function Definition: foo3(vf4;vf3;vf2;vf3; (global void)
|
||||
0:31 Function Parameters:
|
||||
0:31 'v4' (in 4-component vector of float)
|
||||
0:31 'v3' (volatile in 3-component vector of float)
|
||||
0:31 'v2' (in 2-component vector of float)
|
||||
0:31 'cv3' (in 3-component vector of float)
|
||||
0:148 Function Definition: fooBarrier( (void)
|
||||
0:148 Function Definition: fooBarrier( (global void)
|
||||
0:148 Function Parameters:
|
||||
0:150 Sequence
|
||||
0:150 Constant:
|
||||
0:150 0.000000
|
||||
0:151 MemoryBarrier (void)
|
||||
0:152 MemoryBarrierAtomicCounter (void)
|
||||
0:153 MemoryBarrierBuffer (void)
|
||||
0:151 MemoryBarrier (global void)
|
||||
0:152 MemoryBarrierAtomicCounter (global void)
|
||||
0:153 MemoryBarrierBuffer (global void)
|
||||
0:154 Constant:
|
||||
0:154 0.000000
|
||||
0:155 MemoryBarrierImage (void)
|
||||
0:155 MemoryBarrierImage (global void)
|
||||
0:156 Constant:
|
||||
0:156 0.000000
|
||||
0:166 Function Definition: fooq( (void)
|
||||
0:166 Function Definition: fooq( (global void)
|
||||
0:166 Function Parameters:
|
||||
0:168 Sequence
|
||||
0:168 Sequence
|
||||
0:168 move second child to first child (int)
|
||||
0:168 's' (int)
|
||||
0:168 Function Call: textureSamples(s21; (int)
|
||||
0:168 move second child to first child (temp int)
|
||||
0:168 's' (temp int)
|
||||
0:168 Function Call: textureSamples(s21; (global int)
|
||||
0:168 's2dms' (uniform sampler2DMS)
|
||||
0:169 add second child into first child (int)
|
||||
0:169 's' (int)
|
||||
0:169 Function Call: textureSamples(usA21; (int)
|
||||
0:169 add second child into first child (temp int)
|
||||
0:169 's' (temp int)
|
||||
0:169 Function Call: textureSamples(usA21; (global int)
|
||||
0:169 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:170 add second child into first child (int)
|
||||
0:170 's' (int)
|
||||
0:170 Function Call: imageSamples(iI21; (int)
|
||||
0:170 add second child into first child (temp int)
|
||||
0:170 's' (temp int)
|
||||
0:170 Function Call: imageSamples(iI21; (global int)
|
||||
0:170 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:171 add second child into first child (int)
|
||||
0:171 's' (int)
|
||||
0:171 Function Call: imageSamples(IA21; (int)
|
||||
0:171 add second child into first child (temp int)
|
||||
0:171 's' (temp int)
|
||||
0:171 Function Call: imageSamples(IA21; (global int)
|
||||
0:171 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:176 Function Definition: fooq2( (void)
|
||||
0:176 Function Definition: fooq2( (global void)
|
||||
0:176 Function Parameters:
|
||||
0:178 Sequence
|
||||
0:178 Sequence
|
||||
0:178 move second child to first child (int)
|
||||
0:178 's' (int)
|
||||
0:178 Function Call: textureSamples(s21; (int)
|
||||
0:178 move second child to first child (temp int)
|
||||
0:178 's' (temp int)
|
||||
0:178 Function Call: textureSamples(s21; (global int)
|
||||
0:178 's2dms' (uniform sampler2DMS)
|
||||
0:179 add second child into first child (int)
|
||||
0:179 's' (int)
|
||||
0:179 Function Call: textureSamples(usA21; (int)
|
||||
0:179 add second child into first child (temp int)
|
||||
0:179 's' (temp int)
|
||||
0:179 Function Call: textureSamples(usA21; (global int)
|
||||
0:179 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:180 add second child into first child (int)
|
||||
0:180 's' (int)
|
||||
0:180 Function Call: imageSamples(iI21; (int)
|
||||
0:180 add second child into first child (temp int)
|
||||
0:180 's' (temp int)
|
||||
0:180 Function Call: imageSamples(iI21; (global int)
|
||||
0:180 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:181 add second child into first child (int)
|
||||
0:181 's' (int)
|
||||
0:181 Function Call: imageSamples(IA21; (int)
|
||||
0:181 add second child into first child (temp int)
|
||||
0:181 's' (temp int)
|
||||
0:181 Function Call: imageSamples(IA21; (global int)
|
||||
0:181 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:? Linker Objects
|
||||
0:? 'v4' (layout(location=3 ) 4-component vector of float)
|
||||
0:? 'v4' (layout(location=3 ) temp 4-component vector of float)
|
||||
0:? 'uv4' (layout(location=4 ) uniform 4-component vector of float)
|
||||
0:? 'b1' (layout(location=2 ) in block{in 4-component vector of float v})
|
||||
0:? 'b2' (layout(location=2 ) out block{out 4-component vector of float v})
|
||||
0:? 'anon@0' (out block{out 17-element array of float gl_ClipDistance, })
|
||||
0:? 'cs' (layout(location=10 ) smooth out 2-element array of structure{7-element array of 3X2 matrix of float m, float f})
|
||||
0:? 'cs' (layout(location=10 ) smooth out 2-element array of structure{global 7-element array of 3X2 matrix of float m, global float f})
|
||||
0:? 'cf' (layout(location=54 ) smooth out float)
|
||||
0:? 'cg' (layout(location=53 ) smooth out float)
|
||||
0:? 'alias1' (layout(location=10 ) in 4-component vector of float)
|
||||
|
|
@ -288,8 +288,8 @@ ERROR: node is still EOpNull!
|
|||
0:? 'inst4e' (layout(column_major std140 align=16 ) uniform block{layout(column_major std140 offset=0 align=16 ) uniform int a})
|
||||
0:? 'inst9e' (layout(column_major shared align=32 ) uniform block{layout(column_major shared offset=12 align=4 ) uniform float f, layout(column_major shared offset=20 ) uniform float g})
|
||||
0:? 'spinste' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform 4-component vector of float a, layout(column_major std140 offset=32 ) uniform 3-component vector of float b})
|
||||
0:? 'aconste' (4-element array of int)
|
||||
0:? 'bconste' (64-element array of int)
|
||||
0:? 'aconste' (global 4-element array of int)
|
||||
0:? 'bconste' (global 64-element array of int)
|
||||
0:? 'bbinst2' (out block{layout(xfb_buffer=0 xfb_offset=64 ) out 4-component vector of float bbv})
|
||||
0:? 'bge' (layout(xfb_buffer=2 xfb_offset=48 xfb_stride=80 ) smooth out 4-component vector of float)
|
||||
0:? 'bhe' (layout(xfb_buffer=3 xfb_offset=32 xfb_stride=64 ) smooth out 4-component vector of float)
|
||||
|
|
@ -298,8 +298,8 @@ ERROR: node is still EOpNull!
|
|||
0:? 'inst4' (layout(column_major std140 align=16 ) uniform block{layout(column_major std140 offset=0 align=16 ) uniform int a})
|
||||
0:? 'inst9' (layout(column_major std430 align=32 ) uniform block{layout(column_major std430 offset=12 align=4 ) uniform float f, layout(column_major std430 offset=20 align=32 ) uniform float g})
|
||||
0:? 'spinst' (layout(column_major std140 ) uniform block{layout(column_major std140 offset=0 ) uniform 4-component vector of float a, layout(column_major std140 offset=32 ) uniform 3-component vector of float b})
|
||||
0:? 'aconst' (4-element array of int)
|
||||
0:? 'bconst' (64-element array of int)
|
||||
0:? 'aconst' (global 4-element array of int)
|
||||
0:? 'bconst' (global 64-element array of int)
|
||||
0:? 'start2' (const int)
|
||||
0:? 5 (const int)
|
||||
0:? 'v6' (layout(location=19 ) in 4-component vector of float)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue