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:
@@ -22,7 +22,7 @@ ERROR: 0:122: '#endif' : unexpected tokens following directive
|
||||
ERROR: 0:135: '""' : string literals not supported
|
||||
ERROR: 0:136: '""' : string literals not supported
|
||||
ERROR: 0:136: 'length' : no matching overloaded function found
|
||||
ERROR: 0:136: '=' : cannot convert from 'const float' to 'global int'
|
||||
ERROR: 0:136: '=' : cannot convert from ' const float' to ' global int'
|
||||
ERROR: 0:138: ''' : character literals not supported
|
||||
ERROR: 0:138: ''' : character literals not supported
|
||||
ERROR: 0:141: '#define' : names beginning with "GL_" can't be (un)defined: GL_
|
||||
@@ -78,7 +78,7 @@ ERROR: 12:9000: 'preprocessor evaluation' : expected ')'
|
||||
ERROR: 12:9002: '#if' : unexpected tokens following directive
|
||||
ERROR: 12:9014: 'macro expansion' : expected '(' following FOOOM
|
||||
ERROR: 12:9014: 'FOOOM' : undeclared identifier
|
||||
ERROR: 12:9014: '=' : cannot convert from 'temp float' to 'global int'
|
||||
ERROR: 12:9014: '=' : cannot convert from ' temp float' to ' global int'
|
||||
ERROR: 12:9015: 'macro expansion' : expected '(' following FOOOM
|
||||
ERROR: 12:9016: 'preprocessor evaluation' : can't evaluate expression
|
||||
ERROR: 12:9016: 'preprocessor evaluation' : bad expression
|
||||
@@ -98,84 +98,84 @@ ERROR: 88 compilation errors. No code generated.
|
||||
Shader version: 400
|
||||
ERROR: node is still EOpNull!
|
||||
0:5 Sequence
|
||||
0:5 move second child to first child (temp float)
|
||||
0:5 'sum' (global float)
|
||||
0:5 move second child to first child ( temp float)
|
||||
0:5 'sum' ( global float)
|
||||
0:5 Constant:
|
||||
0:5 0.000000
|
||||
0:7 Function Definition: main( (global void)
|
||||
0:7 Function Definition: main( ( global void)
|
||||
0:7 Function Parameters:
|
||||
0:12 Sequence
|
||||
0:12 add second child into first child (temp float)
|
||||
0:12 'sum' (global float)
|
||||
0:12 add second child into first child ( temp float)
|
||||
0:12 'sum' ( global float)
|
||||
0:12 Constant:
|
||||
0:12 1.000000
|
||||
0:22 add second child into first child (temp float)
|
||||
0:22 'sum' (global float)
|
||||
0:22 add second child into first child ( temp float)
|
||||
0:22 'sum' ( global float)
|
||||
0:22 Constant:
|
||||
0:22 300.000000
|
||||
0:37 add second child into first child (temp float)
|
||||
0:37 'sum' (global float)
|
||||
0:37 add second child into first child ( temp float)
|
||||
0:37 'sum' ( global float)
|
||||
0:37 Constant:
|
||||
0:37 600000.000000
|
||||
0:48 add second child into first child (temp float)
|
||||
0:48 'sum' (global float)
|
||||
0:48 add second child into first child ( temp float)
|
||||
0:48 'sum' ( global float)
|
||||
0:48 Constant:
|
||||
0:48 7000000.000000
|
||||
0:53 add second child into first child (temp float)
|
||||
0:53 'sum' (global float)
|
||||
0:53 add second child into first child ( temp float)
|
||||
0:53 'sum' ( global float)
|
||||
0:53 Constant:
|
||||
0:53 80000000.000000
|
||||
0:58 add second child into first child (temp float)
|
||||
0:58 'sum' (global float)
|
||||
0:58 add second child into first child ( temp float)
|
||||
0:58 'sum' ( global float)
|
||||
0:58 Constant:
|
||||
0:58 900000000.000000
|
||||
0:65 add second child into first child (temp float)
|
||||
0:65 'sum' (global float)
|
||||
0:65 add second child into first child ( temp float)
|
||||
0:65 'sum' ( global float)
|
||||
0:65 Constant:
|
||||
0:65 0.050000
|
||||
0:69 move second child to first child (temp 4-component vector of float)
|
||||
0:69 gl_Position: direct index for structure (gl_Position 4-component vector of float Position)
|
||||
0:69 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out implicitly-sized array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord})
|
||||
0:69 move second child to first child ( temp 4-component vector of float)
|
||||
0:69 gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
|
||||
0:69 'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out implicitly-sized array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord})
|
||||
0:69 Constant:
|
||||
0:69 0 (const uint)
|
||||
0:69 Construct vec4 (temp 4-component vector of float)
|
||||
0:69 'sum' (global float)
|
||||
0:69 Construct vec4 ( temp 4-component vector of float)
|
||||
0:69 'sum' ( global float)
|
||||
0:124 Sequence
|
||||
0:124 move second child to first child (temp int)
|
||||
0:124 'linenumber' (global int)
|
||||
0:124 move second child to first child ( temp int)
|
||||
0:124 'linenumber' ( global int)
|
||||
0:124 Constant:
|
||||
0:124 124 (const int)
|
||||
0:125 Sequence
|
||||
0:125 move second child to first child (temp int)
|
||||
0:125 'filenumber' (global int)
|
||||
0:125 move second child to first child ( temp int)
|
||||
0:125 'filenumber' ( global int)
|
||||
0:125 Constant:
|
||||
0:125 0 (const int)
|
||||
0:126 Sequence
|
||||
0:126 move second child to first child (temp int)
|
||||
0:126 'version' (global int)
|
||||
0:126 move second child to first child ( temp int)
|
||||
0:126 'version' ( global int)
|
||||
0:126 Constant:
|
||||
0:126 400 (const int)
|
||||
0:130 Sequence
|
||||
0:130 move second child to first child (temp float)
|
||||
0:130 'twoPi' (global float)
|
||||
0:130 move second child to first child ( temp float)
|
||||
0:130 'twoPi' ( global float)
|
||||
0:130 Constant:
|
||||
0:130 6.280000
|
||||
0:199 Sequence
|
||||
0:199 move second child to first child (temp int)
|
||||
0:199 'n' (global int)
|
||||
0:199 move second child to first child ( temp int)
|
||||
0:199 'n' ( global int)
|
||||
0:199 Constant:
|
||||
0:199 15 (const int)
|
||||
0:202 Sequence
|
||||
0:202 move second child to first child (temp double)
|
||||
0:202 'f' (global double)
|
||||
0:202 move second child to first child ( temp double)
|
||||
0:202 'f' ( global double)
|
||||
0:202 Constant:
|
||||
0:202 0.000800
|
||||
12:20031 Function Definition: foo234( (global void)
|
||||
12:20031 Function Definition: foo234( ( global void)
|
||||
12:20031 Function Parameters:
|
||||
12:20033 Sequence
|
||||
12:20033 move second child to first child (temp 4-component vector of float)
|
||||
12:20033 gl_Position: direct index for structure (gl_Position 4-component vector of float Position)
|
||||
12:20033 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out implicitly-sized array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord})
|
||||
12:20033 move second child to first child ( temp 4-component vector of float)
|
||||
12:20033 gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
|
||||
12:20033 'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out implicitly-sized array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord})
|
||||
12:20033 Constant:
|
||||
12:20033 0 (const uint)
|
||||
12:20033 Constant:
|
||||
@@ -184,24 +184,24 @@ ERROR: node is still EOpNull!
|
||||
12:20033 6.000000
|
||||
12:20033 6.000000
|
||||
12:9011 Sequence
|
||||
12:9011 move second child to first child (temp int)
|
||||
12:9011 'R1' (global int)
|
||||
12:9011 'RECURSE' (global int)
|
||||
12:9011 move second child to first child ( temp int)
|
||||
12:9011 'R1' ( global int)
|
||||
12:9011 'RECURSE' ( global int)
|
||||
0:? Linker Objects
|
||||
0:? 'sum' (global float)
|
||||
0:? 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out implicitly-sized array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord})
|
||||
0:? 'linenumber' (global int)
|
||||
0:? 'filenumber' (global int)
|
||||
0:? 'version' (global int)
|
||||
0:? 'twoPi' (global float)
|
||||
0:? 'a' (global int)
|
||||
0:? 'n' (global int)
|
||||
0:? 'f' (global double)
|
||||
0:? 'RECURSE' (global int)
|
||||
0:? 'R1' (global int)
|
||||
0:? 'aoeua' (global int)
|
||||
0:? 'gl_VertexID' (gl_VertexId int VertexId)
|
||||
0:? 'gl_InstanceID' (gl_InstanceId int InstanceId)
|
||||
0:? 'sum' ( global float)
|
||||
0:? 'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out implicitly-sized array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out implicitly-sized array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord})
|
||||
0:? 'linenumber' ( global int)
|
||||
0:? 'filenumber' ( global int)
|
||||
0:? 'version' ( global int)
|
||||
0:? 'twoPi' ( global float)
|
||||
0:? 'a' ( global int)
|
||||
0:? 'n' ( global int)
|
||||
0:? 'f' ( global double)
|
||||
0:? 'RECURSE' ( global int)
|
||||
0:? 'R1' ( global int)
|
||||
0:? 'aoeua' ( global int)
|
||||
0:? 'gl_VertexID' ( gl_VertexId int VertexId)
|
||||
0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId)
|
||||
|
||||
|
||||
Linked vertex stage:
|
||||
@@ -210,95 +210,95 @@ Linked vertex stage:
|
||||
Shader version: 400
|
||||
ERROR: node is still EOpNull!
|
||||
0:5 Sequence
|
||||
0:5 move second child to first child (temp float)
|
||||
0:5 'sum' (global float)
|
||||
0:5 move second child to first child ( temp float)
|
||||
0:5 'sum' ( global float)
|
||||
0:5 Constant:
|
||||
0:5 0.000000
|
||||
0:7 Function Definition: main( (global void)
|
||||
0:7 Function Definition: main( ( global void)
|
||||
0:7 Function Parameters:
|
||||
0:12 Sequence
|
||||
0:12 add second child into first child (temp float)
|
||||
0:12 'sum' (global float)
|
||||
0:12 add second child into first child ( temp float)
|
||||
0:12 'sum' ( global float)
|
||||
0:12 Constant:
|
||||
0:12 1.000000
|
||||
0:22 add second child into first child (temp float)
|
||||
0:22 'sum' (global float)
|
||||
0:22 add second child into first child ( temp float)
|
||||
0:22 'sum' ( global float)
|
||||
0:22 Constant:
|
||||
0:22 300.000000
|
||||
0:37 add second child into first child (temp float)
|
||||
0:37 'sum' (global float)
|
||||
0:37 add second child into first child ( temp float)
|
||||
0:37 'sum' ( global float)
|
||||
0:37 Constant:
|
||||
0:37 600000.000000
|
||||
0:48 add second child into first child (temp float)
|
||||
0:48 'sum' (global float)
|
||||
0:48 add second child into first child ( temp float)
|
||||
0:48 'sum' ( global float)
|
||||
0:48 Constant:
|
||||
0:48 7000000.000000
|
||||
0:53 add second child into first child (temp float)
|
||||
0:53 'sum' (global float)
|
||||
0:53 add second child into first child ( temp float)
|
||||
0:53 'sum' ( global float)
|
||||
0:53 Constant:
|
||||
0:53 80000000.000000
|
||||
0:58 add second child into first child (temp float)
|
||||
0:58 'sum' (global float)
|
||||
0:58 add second child into first child ( temp float)
|
||||
0:58 'sum' ( global float)
|
||||
0:58 Constant:
|
||||
0:58 900000000.000000
|
||||
0:65 add second child into first child (temp float)
|
||||
0:65 'sum' (global float)
|
||||
0:65 add second child into first child ( temp float)
|
||||
0:65 'sum' ( global float)
|
||||
0:65 Constant:
|
||||
0:65 0.050000
|
||||
0:69 move second child to first child (temp 4-component vector of float)
|
||||
0:69 gl_Position: direct index for structure (gl_Position 4-component vector of float Position)
|
||||
0:69 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out 1-element array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out 1-element array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord})
|
||||
0:69 move second child to first child ( temp 4-component vector of float)
|
||||
0:69 gl_Position: direct index for structure ( gl_Position 4-component vector of float Position)
|
||||
0:69 'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out 1-element array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out 1-element array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord})
|
||||
0:69 Constant:
|
||||
0:69 0 (const uint)
|
||||
0:69 Construct vec4 (temp 4-component vector of float)
|
||||
0:69 'sum' (global float)
|
||||
0:69 Construct vec4 ( temp 4-component vector of float)
|
||||
0:69 'sum' ( global float)
|
||||
0:124 Sequence
|
||||
0:124 move second child to first child (temp int)
|
||||
0:124 'linenumber' (global int)
|
||||
0:124 move second child to first child ( temp int)
|
||||
0:124 'linenumber' ( global int)
|
||||
0:124 Constant:
|
||||
0:124 124 (const int)
|
||||
0:125 Sequence
|
||||
0:125 move second child to first child (temp int)
|
||||
0:125 'filenumber' (global int)
|
||||
0:125 move second child to first child ( temp int)
|
||||
0:125 'filenumber' ( global int)
|
||||
0:125 Constant:
|
||||
0:125 0 (const int)
|
||||
0:126 Sequence
|
||||
0:126 move second child to first child (temp int)
|
||||
0:126 'version' (global int)
|
||||
0:126 move second child to first child ( temp int)
|
||||
0:126 'version' ( global int)
|
||||
0:126 Constant:
|
||||
0:126 400 (const int)
|
||||
0:130 Sequence
|
||||
0:130 move second child to first child (temp float)
|
||||
0:130 'twoPi' (global float)
|
||||
0:130 move second child to first child ( temp float)
|
||||
0:130 'twoPi' ( global float)
|
||||
0:130 Constant:
|
||||
0:130 6.280000
|
||||
0:199 Sequence
|
||||
0:199 move second child to first child (temp int)
|
||||
0:199 'n' (global int)
|
||||
0:199 move second child to first child ( temp int)
|
||||
0:199 'n' ( global int)
|
||||
0:199 Constant:
|
||||
0:199 15 (const int)
|
||||
0:202 Sequence
|
||||
0:202 move second child to first child (temp double)
|
||||
0:202 'f' (global double)
|
||||
0:202 move second child to first child ( temp double)
|
||||
0:202 'f' ( global double)
|
||||
0:202 Constant:
|
||||
0:202 0.000800
|
||||
12:9011 Sequence
|
||||
12:9011 move second child to first child (temp int)
|
||||
12:9011 'R1' (global int)
|
||||
12:9011 'RECURSE' (global int)
|
||||
12:9011 move second child to first child ( temp int)
|
||||
12:9011 'R1' ( global int)
|
||||
12:9011 'RECURSE' ( global int)
|
||||
0:? Linker Objects
|
||||
0:? 'sum' (global float)
|
||||
0:? 'anon@0' (out block{gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out 1-element array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out 1-element array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord})
|
||||
0:? 'linenumber' (global int)
|
||||
0:? 'filenumber' (global int)
|
||||
0:? 'version' (global int)
|
||||
0:? 'twoPi' (global float)
|
||||
0:? 'a' (global int)
|
||||
0:? 'n' (global int)
|
||||
0:? 'f' (global double)
|
||||
0:? 'RECURSE' (global int)
|
||||
0:? 'R1' (global int)
|
||||
0:? 'aoeua' (global int)
|
||||
0:? 'gl_VertexID' (gl_VertexId int VertexId)
|
||||
0:? 'gl_InstanceID' (gl_InstanceId int InstanceId)
|
||||
0:? 'sum' ( global float)
|
||||
0:? 'anon@0' ( out block{ gl_Position 4-component vector of float Position gl_Position, gl_PointSize float PointSize gl_PointSize, out 1-element array of float ClipDistance gl_ClipDistance, gl_ClipVertex 4-component vector of float ClipVertex gl_ClipVertex, out 4-component vector of float FrontColor gl_FrontColor, out 4-component vector of float BackColor gl_BackColor, out 4-component vector of float FrontSecondaryColor gl_FrontSecondaryColor, out 4-component vector of float BackSecondaryColor gl_BackSecondaryColor, out 1-element array of 4-component vector of float TexCoord gl_TexCoord, out float FogFragCoord gl_FogFragCoord})
|
||||
0:? 'linenumber' ( global int)
|
||||
0:? 'filenumber' ( global int)
|
||||
0:? 'version' ( global int)
|
||||
0:? 'twoPi' ( global float)
|
||||
0:? 'a' ( global int)
|
||||
0:? 'n' ( global int)
|
||||
0:? 'f' ( global double)
|
||||
0:? 'RECURSE' ( global int)
|
||||
0:? 'R1' ( global int)
|
||||
0:? 'aoeua' ( global int)
|
||||
0:? 'gl_VertexID' ( gl_VertexId int VertexId)
|
||||
0:? 'gl_InstanceID' ( gl_InstanceId int InstanceId)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user