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:
@@ -5,14 +5,14 @@ max_vertices = 4
|
||||
input primitive = points
|
||||
output primitive = triangle_strip
|
||||
0:? Sequence
|
||||
0:13 Function Definition: @main(u1[1];struct-PSInput-vf4-vf2-vf3-u11; (temp void)
|
||||
0:13 Function Definition: @main(u1[1];struct-PSInput-vf4-vf2-vf3-u11; ( temp void)
|
||||
0:13 Function Parameters:
|
||||
0:13 'v' (in 1-element array of uint)
|
||||
0:13 'OutputStream' (out structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:13 'v' ( in 1-element array of uint)
|
||||
0:13 'OutputStream' ( out structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:? Sequence
|
||||
0:16 Sequence
|
||||
0:16 move second child to first child (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:16 'Out' (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:16 move second child to first child ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:16 'Out' ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:16 Constant:
|
||||
0:16 0.000000
|
||||
0:16 0.000000
|
||||
@@ -25,53 +25,53 @@ output primitive = triangle_strip
|
||||
0:16 0.000000
|
||||
0:16 0 (const uint)
|
||||
0:18 Sequence
|
||||
0:18 move second child to first child (temp int)
|
||||
0:18 'x' (temp int)
|
||||
0:18 move second child to first child ( temp int)
|
||||
0:18 'x' ( temp int)
|
||||
0:18 Constant:
|
||||
0:18 0 (const int)
|
||||
0:18 Loop with condition tested first
|
||||
0:18 Loop Condition
|
||||
0:18 Compare Less Than (temp bool)
|
||||
0:18 'x' (temp int)
|
||||
0:18 Compare Less Than ( temp bool)
|
||||
0:18 'x' ( temp int)
|
||||
0:18 Constant:
|
||||
0:18 2 (const int)
|
||||
0:18 Loop Body
|
||||
0:19 Sequence
|
||||
0:19 move second child to first child (temp int)
|
||||
0:19 'y' (temp int)
|
||||
0:19 move second child to first child ( temp int)
|
||||
0:19 'y' ( temp int)
|
||||
0:19 Constant:
|
||||
0:19 0 (const int)
|
||||
0:19 Loop with condition tested first
|
||||
0:19 Loop Condition
|
||||
0:19 Compare Less Than (temp bool)
|
||||
0:19 'y' (temp int)
|
||||
0:19 Compare Less Than ( temp bool)
|
||||
0:19 'y' ( temp int)
|
||||
0:19 Constant:
|
||||
0:19 2 (const int)
|
||||
0:19 Loop Body
|
||||
0:20 move second child to first child (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 indirect index (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 indirect index (temp 3-element array of structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 'Verts' (temp 2-element array of 3-element array of structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 'x' (temp int)
|
||||
0:20 'y' (temp int)
|
||||
0:20 'Out' (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 move second child to first child ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 indirect index ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 indirect index ( temp 3-element array of structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 'Verts' ( temp 2-element array of 3-element array of structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 'x' ( temp int)
|
||||
0:20 'y' ( temp int)
|
||||
0:20 'Out' ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:19 Loop Terminal Expression
|
||||
0:19 Pre-Increment (temp int)
|
||||
0:19 'y' (temp int)
|
||||
0:19 Pre-Increment ( temp int)
|
||||
0:19 'y' ( temp int)
|
||||
0:18 Loop Terminal Expression
|
||||
0:18 Pre-Increment (temp int)
|
||||
0:18 'x' (temp int)
|
||||
0:13 Function Definition: main( (temp void)
|
||||
0:18 Pre-Increment ( temp int)
|
||||
0:18 'x' ( temp int)
|
||||
0:13 Function Definition: main( ( temp void)
|
||||
0:13 Function Parameters:
|
||||
0:? Sequence
|
||||
0:13 move second child to first child (temp 1-element array of uint)
|
||||
0:? 'v' (temp 1-element array of uint)
|
||||
0:? 'v' (layout(location=0 ) in 1-element array of uint)
|
||||
0:13 Function Call: @main(u1[1];struct-PSInput-vf4-vf2-vf3-u11; (temp void)
|
||||
0:? 'v' (temp 1-element array of uint)
|
||||
0:? 'OutputStream' (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:13 move second child to first child ( temp 1-element array of uint)
|
||||
0:? 'v' ( temp 1-element array of uint)
|
||||
0:? 'v' (layout( location=0) in 1-element array of uint)
|
||||
0:13 Function Call: @main(u1[1];struct-PSInput-vf4-vf2-vf3-u11; ( temp void)
|
||||
0:? 'v' ( temp 1-element array of uint)
|
||||
0:? 'OutputStream' ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:? Linker Objects
|
||||
0:? 'v' (layout(location=0 ) in 1-element array of uint)
|
||||
0:? 'v' (layout( location=0) in 1-element array of uint)
|
||||
|
||||
|
||||
Linked geometry stage:
|
||||
@@ -83,14 +83,14 @@ max_vertices = 4
|
||||
input primitive = points
|
||||
output primitive = triangle_strip
|
||||
0:? Sequence
|
||||
0:13 Function Definition: @main(u1[1];struct-PSInput-vf4-vf2-vf3-u11; (temp void)
|
||||
0:13 Function Definition: @main(u1[1];struct-PSInput-vf4-vf2-vf3-u11; ( temp void)
|
||||
0:13 Function Parameters:
|
||||
0:13 'v' (in 1-element array of uint)
|
||||
0:13 'OutputStream' (out structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:13 'v' ( in 1-element array of uint)
|
||||
0:13 'OutputStream' ( out structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:? Sequence
|
||||
0:16 Sequence
|
||||
0:16 move second child to first child (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:16 'Out' (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:16 move second child to first child ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:16 'Out' ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:16 Constant:
|
||||
0:16 0.000000
|
||||
0:16 0.000000
|
||||
@@ -103,53 +103,53 @@ output primitive = triangle_strip
|
||||
0:16 0.000000
|
||||
0:16 0 (const uint)
|
||||
0:18 Sequence
|
||||
0:18 move second child to first child (temp int)
|
||||
0:18 'x' (temp int)
|
||||
0:18 move second child to first child ( temp int)
|
||||
0:18 'x' ( temp int)
|
||||
0:18 Constant:
|
||||
0:18 0 (const int)
|
||||
0:18 Loop with condition tested first
|
||||
0:18 Loop Condition
|
||||
0:18 Compare Less Than (temp bool)
|
||||
0:18 'x' (temp int)
|
||||
0:18 Compare Less Than ( temp bool)
|
||||
0:18 'x' ( temp int)
|
||||
0:18 Constant:
|
||||
0:18 2 (const int)
|
||||
0:18 Loop Body
|
||||
0:19 Sequence
|
||||
0:19 move second child to first child (temp int)
|
||||
0:19 'y' (temp int)
|
||||
0:19 move second child to first child ( temp int)
|
||||
0:19 'y' ( temp int)
|
||||
0:19 Constant:
|
||||
0:19 0 (const int)
|
||||
0:19 Loop with condition tested first
|
||||
0:19 Loop Condition
|
||||
0:19 Compare Less Than (temp bool)
|
||||
0:19 'y' (temp int)
|
||||
0:19 Compare Less Than ( temp bool)
|
||||
0:19 'y' ( temp int)
|
||||
0:19 Constant:
|
||||
0:19 2 (const int)
|
||||
0:19 Loop Body
|
||||
0:20 move second child to first child (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 indirect index (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 indirect index (temp 3-element array of structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 'Verts' (temp 2-element array of 3-element array of structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 'x' (temp int)
|
||||
0:20 'y' (temp int)
|
||||
0:20 'Out' (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 move second child to first child ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 indirect index ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 indirect index ( temp 3-element array of structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 'Verts' ( temp 2-element array of 3-element array of structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:20 'x' ( temp int)
|
||||
0:20 'y' ( temp int)
|
||||
0:20 'Out' ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:19 Loop Terminal Expression
|
||||
0:19 Pre-Increment (temp int)
|
||||
0:19 'y' (temp int)
|
||||
0:19 Pre-Increment ( temp int)
|
||||
0:19 'y' ( temp int)
|
||||
0:18 Loop Terminal Expression
|
||||
0:18 Pre-Increment (temp int)
|
||||
0:18 'x' (temp int)
|
||||
0:13 Function Definition: main( (temp void)
|
||||
0:18 Pre-Increment ( temp int)
|
||||
0:18 'x' ( temp int)
|
||||
0:13 Function Definition: main( ( temp void)
|
||||
0:13 Function Parameters:
|
||||
0:? Sequence
|
||||
0:13 move second child to first child (temp 1-element array of uint)
|
||||
0:? 'v' (temp 1-element array of uint)
|
||||
0:? 'v' (layout(location=0 ) in 1-element array of uint)
|
||||
0:13 Function Call: @main(u1[1];struct-PSInput-vf4-vf2-vf3-u11; (temp void)
|
||||
0:? 'v' (temp 1-element array of uint)
|
||||
0:? 'OutputStream' (temp structure{temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:13 move second child to first child ( temp 1-element array of uint)
|
||||
0:? 'v' ( temp 1-element array of uint)
|
||||
0:? 'v' (layout( location=0) in 1-element array of uint)
|
||||
0:13 Function Call: @main(u1[1];struct-PSInput-vf4-vf2-vf3-u11; ( temp void)
|
||||
0:? 'v' ( temp 1-element array of uint)
|
||||
0:? 'OutputStream' ( temp structure{ temp 4-component vector of float Pos, temp 2-component vector of float TexCoord, temp 3-component vector of float TerrainPos, temp uint VertexID})
|
||||
0:? Linker Objects
|
||||
0:? 'v' (layout(location=0 ) in 1-element array of uint)
|
||||
0:? 'v' (layout( location=0) in 1-element array of uint)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
||||
Reference in New Issue
Block a user