GLSL output: Removed fixed-size buffer; fixes #769.

Makes some white-space differences in most output, plus a few cases
where more could have been put out but was cut short by the previous
fix-sized buffer.
This commit is contained in:
John Kessenich
2017-03-14 19:43:13 -06:00
parent c08fb8ab9c
commit 71c100d7c0
332 changed files with 62136 additions and 62097 deletions

View File

@@ -53,58 +53,58 @@ max_vertices = 200
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:39 Function Definition: main( (global void)
0:39 Function Definition: main( ( global void)
0:39 Function Parameters:
0:41 Sequence
0:41 EmitVertex (global void)
0:42 EndPrimitive (global void)
0:41 EmitVertex ( global void)
0:42 EndPrimitive ( global void)
0:43 Constant:
0:43 0.000000
0:44 Constant:
0:44 0.000000
0:46 move second child to first child (temp mediump 3-component vector of float)
0:46 color: direct index for structure (layout(stream=0 ) out mediump 3-component vector of float)
0:46 'anon@0' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 3-component vector of float color})
0:46 move second child to first child ( temp mediump 3-component vector of float)
0:46 color: direct index for structure (layout( stream=0) out mediump 3-component vector of float)
0:46 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:46 Constant:
0:46 0 (const uint)
0:46 color: direct index for structure (in mediump 3-component vector of float)
0:46 direct index (temp block{in mediump 3-component vector of float color})
0:46 'fromV' (in 4-element array of block{in mediump 3-component vector of float color})
0:46 color: direct index for structure ( in mediump 3-component vector of float)
0:46 direct index ( temp block{ in mediump 3-component vector of float color})
0:46 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:46 Constant:
0:46 0 (const int)
0:46 Constant:
0:46 0 (const int)
0:47 move second child to first child (temp float)
0:47 move second child to first child ( temp float)
0:47 Constant:
0:47 0.000000
0:48 Constant:
0:48 0.000000
0:49 move second child to first child (temp highp 4-component vector of float)
0:49 gl_Position: direct index for structure (layout(stream=0 ) gl_Position highp 4-component vector of float Position)
0:49 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position highp 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize highp float PointSize gl_PointSize})
0:49 move second child to first child ( temp highp 4-component vector of float)
0:49 gl_Position: direct index for structure (layout( stream=0) gl_Position highp 4-component vector of float Position)
0:49 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
0:49 Constant:
0:49 0 (const uint)
0:49 gl_Position: direct index for structure (in highp 4-component vector of float Position)
0:49 direct index (temp block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:49 'gl_in' (in 4-element array of block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:49 gl_Position: direct index for structure ( in highp 4-component vector of float Position)
0:49 direct index ( temp block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:49 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:49 Constant:
0:49 0 (const int)
0:49 Constant:
0:49 0 (const int)
0:51 move second child to first child (temp highp int)
0:51 'gl_PrimitiveID' (layout(stream=0 ) out highp int PrimitiveID)
0:51 'gl_PrimitiveIDIn' (in highp int PrimitiveID)
0:52 move second child to first child (temp highp int)
0:52 'gl_Layer' (layout(stream=0 ) out highp int Layer)
0:51 move second child to first child ( temp highp int)
0:51 'gl_PrimitiveID' (layout( stream=0) out highp int PrimitiveID)
0:51 'gl_PrimitiveIDIn' ( in highp int PrimitiveID)
0:52 move second child to first child ( temp highp int)
0:52 'gl_Layer' (layout( stream=0) out highp int Layer)
0:52 Constant:
0:52 2 (const int)
0:63 Function Definition: foo(i1; (global void)
0:63 Function Definition: foo(i1; ( global void)
0:63 Function Parameters:
0:63 'a' (in highp int)
0:63 'a' ( in highp int)
0:65 Sequence
0:65 move second child to first child (temp mediump 4-component vector of float)
0:65 a: direct index for structure (layout(stream=0 ) out mediump 4-component vector of float)
0:65 'ouuaa6' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 4-component vector of float a})
0:65 move second child to first child ( temp mediump 4-component vector of float)
0:65 a: direct index for structure (layout( stream=0) out mediump 4-component vector of float)
0:65 'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
0:65 Constant:
0:65 0 (const int)
0:65 Constant:
@@ -112,85 +112,85 @@ ERROR: node is still EOpNull!
0:65 1.000000
0:65 1.000000
0:65 1.000000
0:114 Function Definition: fooe1( (global void)
0:114 Function Definition: fooe1( ( global void)
0:114 Function Parameters:
0:116 Sequence
0:116 'gl_ViewportIndex' (temp float)
0:117 'gl_MaxViewports' (temp float)
0:116 'gl_ViewportIndex' ( temp float)
0:117 'gl_MaxViewports' ( temp float)
0:118 Constant:
0:118 4 (const int)
0:119 Sequence
0:119 move second child to first child (temp highp int)
0:119 'inv' (temp highp int)
0:119 'gl_InvocationID' (in highp int InvocationID)
0:134 Function Definition: notHere( (global void)
0:119 move second child to first child ( temp highp int)
0:119 'inv' ( temp highp int)
0:119 'gl_InvocationID' ( in highp int InvocationID)
0:134 Function Definition: notHere( ( global void)
0:134 Function Parameters:
0:136 Sequence
0:136 'gl_MaxGeometryVaryingComponents' (temp float)
0:137 'gl_VerticesIn' (temp float)
0:140 Function Definition: pointSize1( (global void)
0:136 'gl_MaxGeometryVaryingComponents' ( temp float)
0:137 'gl_VerticesIn' ( temp float)
0:140 Function Definition: pointSize1( ( global void)
0:140 Function Parameters:
0:142 Sequence
0:142 Sequence
0:142 move second child to first child (temp highp float)
0:142 'ps' (temp highp float)
0:142 gl_PointSize: direct index for structure (in highp float PointSize)
0:142 direct index (temp block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:142 'gl_in' (in 4-element array of block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:142 move second child to first child ( temp highp float)
0:142 'ps' ( temp highp float)
0:142 gl_PointSize: direct index for structure ( in highp float PointSize)
0:142 direct index ( temp block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:142 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:142 Constant:
0:142 3 (const int)
0:142 Constant:
0:142 1 (const int)
0:143 move second child to first child (temp highp float)
0:143 gl_PointSize: direct index for structure (layout(stream=0 ) gl_PointSize highp float PointSize)
0:143 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position highp 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize highp float PointSize gl_PointSize})
0:143 move second child to first child ( temp highp float)
0:143 gl_PointSize: direct index for structure (layout( stream=0) gl_PointSize highp float PointSize)
0:143 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
0:143 Constant:
0:143 1 (const uint)
0:143 'ps' (temp highp float)
0:148 Function Definition: pointSize2( (global void)
0:143 'ps' ( temp highp float)
0:148 Function Definition: pointSize2( ( global void)
0:148 Function Parameters:
0:150 Sequence
0:150 Sequence
0:150 move second child to first child (temp highp float)
0:150 'ps' (temp highp float)
0:150 gl_PointSize: direct index for structure (in highp float PointSize)
0:150 direct index (temp block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:150 'gl_in' (in 4-element array of block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:150 move second child to first child ( temp highp float)
0:150 'ps' ( temp highp float)
0:150 gl_PointSize: direct index for structure ( in highp float PointSize)
0:150 direct index ( temp block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:150 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:150 Constant:
0:150 3 (const int)
0:150 Constant:
0:150 1 (const int)
0:151 move second child to first child (temp highp float)
0:151 gl_PointSize: direct index for structure (layout(stream=0 ) gl_PointSize highp float PointSize)
0:151 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position highp 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize highp float PointSize gl_PointSize})
0:151 move second child to first child ( temp highp float)
0:151 gl_PointSize: direct index for structure (layout( stream=0) gl_PointSize highp float PointSize)
0:151 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
0:151 Constant:
0:151 1 (const uint)
0:151 'ps' (temp highp float)
0:151 'ps' ( temp highp float)
0:? Linker Objects
0:? 'fromV' (in 4-element array of block{in mediump 3-component vector of float color})
0:? 'nonBlockUnsized' (in 4-element array of mediump 4-component vector of float)
0:? 'toF' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 3-component vector of float color})
0:? 'anon@0' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 3-component vector of float color})
0:? 'gl_in' (in 4-element array of block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:? 'ov4' (layout(stream=4 ) out mediump 4-component vector of float)
0:? 'ouuaa6' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 4-component vector of float a})
0:? 'badv4' (layout(stream=0 ) out mediump 4-component vector of float)
0:? 'bad2v4' (in 4-element array of mediump 4-component vector of float)
0:? 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) out highp int a})
0:? 'outbi' (layout(stream=0 ) out block{layout(stream=0 ) out highp int a, layout(stream=0 ) out highp int b, layout(stream=0 ) out highp int c})
0:? 'insn' (in 4-element array of block{in highp int a15})
0:? 'anon@2' (layout(stream=0 ) out block{layout(stream=0 ) out mediump float f15})
0:? 'anon@3' (layout(column_major shared ) uniform block{layout(column_major shared ) uniform bool b15})
0:? 'summ' (const highp int)
0:? 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:? 'nonBlockUnsized' ( in 4-element array of mediump 4-component vector of float)
0:? 'toF' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:? 'ov4' (layout( stream=4) out mediump 4-component vector of float)
0:? 'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
0:? 'badv4' (layout( stream=0) out mediump 4-component vector of float)
0:? 'bad2v4' ( in 4-element array of mediump 4-component vector of float)
0:? 'anon@1' (layout( stream=0) out block{layout( stream=0) out highp int a})
0:? 'outbi' (layout( stream=0) out block{layout( stream=0) out highp int a, layout( stream=0) out highp int b, layout( stream=0) out highp int c})
0:? 'insn' ( in 4-element array of block{ in highp int a15})
0:? 'anon@2' (layout( stream=0) out block{layout( stream=0) out mediump float f15})
0:? 'anon@3' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
0:? 'summ' ( const highp int)
0:? 2752 (const int)
0:? 'explArray' (in 4-element array of mediump 4-component vector of float)
0:? 'explArrayBad' (in 5-element array of mediump 4-component vector of float)
0:? 'nonArrayed' (in mediump 4-component vector of float)
0:? 'myColor1' (layout(stream=0 ) flat out mediump 3-component vector of float)
0:? 'myColor2' (layout(stream=0 ) centroid out mediump 3-component vector of float)
0:? 'centr' (centroid in 4-element array of mediump 3-component vector of float)
0:? 'perSampleColor' (layout(stream=0 ) sample out mediump 4-component vector of float)
0:? 'comp' (layout(location=7 component=2 ) in 4-element array of mediump float)
0:? 'explArray' ( in 4-element array of mediump 4-component vector of float)
0:? 'explArrayBad' ( in 5-element array of mediump 4-component vector of float)
0:? 'nonArrayed' ( in mediump 4-component vector of float)
0:? 'myColor1' (layout( stream=0) flat out mediump 3-component vector of float)
0:? 'myColor2' (layout( stream=0) centroid out mediump 3-component vector of float)
0:? 'centr' ( centroid in 4-element array of mediump 3-component vector of float)
0:? 'perSampleColor' (layout( stream=0) sample out mediump 4-component vector of float)
0:? 'comp' (layout( location=7 component=2) in 4-element array of mediump float)
Linked geometry stage:
@@ -205,74 +205,74 @@ max_vertices = 200
input primitive = lines_adjacency
output primitive = triangle_strip
ERROR: node is still EOpNull!
0:39 Function Definition: main( (global void)
0:39 Function Definition: main( ( global void)
0:39 Function Parameters:
0:41 Sequence
0:41 EmitVertex (global void)
0:42 EndPrimitive (global void)
0:41 EmitVertex ( global void)
0:42 EndPrimitive ( global void)
0:43 Constant:
0:43 0.000000
0:44 Constant:
0:44 0.000000
0:46 move second child to first child (temp mediump 3-component vector of float)
0:46 color: direct index for structure (layout(stream=0 ) out mediump 3-component vector of float)
0:46 'anon@0' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 3-component vector of float color})
0:46 move second child to first child ( temp mediump 3-component vector of float)
0:46 color: direct index for structure (layout( stream=0) out mediump 3-component vector of float)
0:46 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:46 Constant:
0:46 0 (const uint)
0:46 color: direct index for structure (in mediump 3-component vector of float)
0:46 direct index (temp block{in mediump 3-component vector of float color})
0:46 'fromV' (in 4-element array of block{in mediump 3-component vector of float color})
0:46 color: direct index for structure ( in mediump 3-component vector of float)
0:46 direct index ( temp block{ in mediump 3-component vector of float color})
0:46 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:46 Constant:
0:46 0 (const int)
0:46 Constant:
0:46 0 (const int)
0:47 move second child to first child (temp float)
0:47 move second child to first child ( temp float)
0:47 Constant:
0:47 0.000000
0:48 Constant:
0:48 0.000000
0:49 move second child to first child (temp highp 4-component vector of float)
0:49 gl_Position: direct index for structure (layout(stream=0 ) gl_Position highp 4-component vector of float Position)
0:49 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) gl_Position highp 4-component vector of float Position gl_Position, layout(stream=0 ) gl_PointSize highp float PointSize gl_PointSize})
0:49 move second child to first child ( temp highp 4-component vector of float)
0:49 gl_Position: direct index for structure (layout( stream=0) gl_Position highp 4-component vector of float Position)
0:49 'anon@1' (layout( stream=0) out block{layout( stream=0) gl_Position highp 4-component vector of float Position gl_Position, layout( stream=0) gl_PointSize highp float PointSize gl_PointSize})
0:49 Constant:
0:49 0 (const uint)
0:49 gl_Position: direct index for structure (in highp 4-component vector of float Position)
0:49 direct index (temp block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:49 'gl_in' (in 4-element array of block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:49 gl_Position: direct index for structure ( in highp 4-component vector of float Position)
0:49 direct index ( temp block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:49 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:49 Constant:
0:49 0 (const int)
0:49 Constant:
0:49 0 (const int)
0:51 move second child to first child (temp highp int)
0:51 'gl_PrimitiveID' (layout(stream=0 ) out highp int PrimitiveID)
0:51 'gl_PrimitiveIDIn' (in highp int PrimitiveID)
0:52 move second child to first child (temp highp int)
0:52 'gl_Layer' (layout(stream=0 ) out highp int Layer)
0:51 move second child to first child ( temp highp int)
0:51 'gl_PrimitiveID' (layout( stream=0) out highp int PrimitiveID)
0:51 'gl_PrimitiveIDIn' ( in highp int PrimitiveID)
0:52 move second child to first child ( temp highp int)
0:52 'gl_Layer' (layout( stream=0) out highp int Layer)
0:52 Constant:
0:52 2 (const int)
0:? Linker Objects
0:? 'fromV' (in 4-element array of block{in mediump 3-component vector of float color})
0:? 'nonBlockUnsized' (in 4-element array of mediump 4-component vector of float)
0:? 'toF' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 3-component vector of float color})
0:? 'anon@0' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 3-component vector of float color})
0:? 'gl_in' (in 4-element array of block{in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:? 'ov4' (layout(stream=4 ) out mediump 4-component vector of float)
0:? 'ouuaa6' (layout(stream=0 ) out block{layout(stream=0 ) out mediump 4-component vector of float a})
0:? 'badv4' (layout(stream=0 ) out mediump 4-component vector of float)
0:? 'bad2v4' (in 4-element array of mediump 4-component vector of float)
0:? 'anon@1' (layout(stream=0 ) out block{layout(stream=0 ) out highp int a})
0:? 'outbi' (layout(stream=0 ) out block{layout(stream=0 ) out highp int a, layout(stream=0 ) out highp int b, layout(stream=0 ) out highp int c})
0:? 'insn' (in 4-element array of block{in highp int a15})
0:? 'anon@2' (layout(stream=0 ) out block{layout(stream=0 ) out mediump float f15})
0:? 'anon@3' (layout(column_major shared ) uniform block{layout(column_major shared ) uniform bool b15})
0:? 'summ' (const highp int)
0:? 'fromV' ( in 4-element array of block{ in mediump 3-component vector of float color})
0:? 'nonBlockUnsized' ( in 4-element array of mediump 4-component vector of float)
0:? 'toF' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'anon@0' (layout( stream=0) out block{layout( stream=0) out mediump 3-component vector of float color})
0:? 'gl_in' ( in 4-element array of block{ in highp 4-component vector of float Position gl_Position, in highp float PointSize gl_PointSize})
0:? 'ov4' (layout( stream=4) out mediump 4-component vector of float)
0:? 'ouuaa6' (layout( stream=0) out block{layout( stream=0) out mediump 4-component vector of float a})
0:? 'badv4' (layout( stream=0) out mediump 4-component vector of float)
0:? 'bad2v4' ( in 4-element array of mediump 4-component vector of float)
0:? 'anon@1' (layout( stream=0) out block{layout( stream=0) out highp int a})
0:? 'outbi' (layout( stream=0) out block{layout( stream=0) out highp int a, layout( stream=0) out highp int b, layout( stream=0) out highp int c})
0:? 'insn' ( in 4-element array of block{ in highp int a15})
0:? 'anon@2' (layout( stream=0) out block{layout( stream=0) out mediump float f15})
0:? 'anon@3' (layout( column_major shared) uniform block{layout( column_major shared) uniform bool b15})
0:? 'summ' ( const highp int)
0:? 2752 (const int)
0:? 'explArray' (in 4-element array of mediump 4-component vector of float)
0:? 'explArrayBad' (in 5-element array of mediump 4-component vector of float)
0:? 'nonArrayed' (in mediump 4-component vector of float)
0:? 'myColor1' (layout(stream=0 ) flat out mediump 3-component vector of float)
0:? 'myColor2' (layout(stream=0 ) centroid out mediump 3-component vector of float)
0:? 'centr' (centroid in 4-element array of mediump 3-component vector of float)
0:? 'perSampleColor' (layout(stream=0 ) sample out mediump 4-component vector of float)
0:? 'comp' (layout(location=7 component=2 ) in 4-element array of mediump float)
0:? 'explArray' ( in 4-element array of mediump 4-component vector of float)
0:? 'explArrayBad' ( in 5-element array of mediump 4-component vector of float)
0:? 'nonArrayed' ( in mediump 4-component vector of float)
0:? 'myColor1' (layout( stream=0) flat out mediump 3-component vector of float)
0:? 'myColor2' (layout( stream=0) centroid out mediump 3-component vector of float)
0:? 'centr' ( centroid in 4-element array of mediump 3-component vector of float)
0:? 'perSampleColor' (layout( stream=0) sample out mediump 4-component vector of float)
0:? 'comp' (layout( location=7 component=2) in 4-element array of mediump float)