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

@ -2,122 +2,122 @@ hlsl.conditional.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:2 Function Definition: @PixelShaderFunction(vf4; (temp 4-component vector of float)
0:2 Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
0:2 Function Parameters:
0:2 'input' (in 4-component vector of float)
0:2 'input' ( in 4-component vector of float)
0:? Sequence
0:3 Sequence
0:3 move second child to first child (temp int)
0:3 'a' (temp int)
0:3 move second child to first child ( temp int)
0:3 'a' ( temp int)
0:3 Constant:
0:3 5 (const int)
0:4 Sequence
0:4 move second child to first child (temp int)
0:4 'b' (temp int)
0:4 move second child to first child ( temp int)
0:4 'b' ( temp int)
0:4 Constant:
0:4 6 (const int)
0:5 Sequence
0:5 move second child to first child (temp int)
0:5 'c' (temp int)
0:5 move second child to first child ( temp int)
0:5 'c' ( temp int)
0:5 Constant:
0:5 7 (const int)
0:6 Sequence
0:6 move second child to first child (temp int)
0:6 'd' (temp int)
0:6 move second child to first child ( temp int)
0:6 'd' ( temp int)
0:6 Constant:
0:6 7 (const int)
0:7 Sequence
0:7 move second child to first child (temp 4-component vector of float)
0:7 'ret' (temp 4-component vector of float)
0:9 add (temp 4-component vector of float)
0:8 add (temp 4-component vector of float)
0:7 add (temp 4-component vector of float)
0:7 vector-scale (temp 4-component vector of float)
0:7 Convert int to float (temp float)
0:7 'a' (temp int)
0:7 'input' (in 4-component vector of float)
0:8 vector-scale (temp 4-component vector of float)
0:8 Convert int to float (temp float)
0:8 'b' (temp int)
0:8 'input' (in 4-component vector of float)
0:9 vector-scale (temp 4-component vector of float)
0:9 Convert int to float (temp float)
0:9 'c' (temp int)
0:9 'input' (in 4-component vector of float)
0:10 vector-scale (temp 4-component vector of float)
0:10 Convert int to float (temp float)
0:10 'd' (temp int)
0:10 'input' (in 4-component vector of float)
0:12 Comma (temp int)
0:12 move second child to first child (temp int)
0:12 'e' (temp int)
0:12 move second child to first child (temp int)
0:12 'a' (temp int)
0:12 Test condition and select (temp int)
0:7 move second child to first child ( temp 4-component vector of float)
0:7 'ret' ( temp 4-component vector of float)
0:9 add ( temp 4-component vector of float)
0:8 add ( temp 4-component vector of float)
0:7 add ( temp 4-component vector of float)
0:7 vector-scale ( temp 4-component vector of float)
0:7 Convert int to float ( temp float)
0:7 'a' ( temp int)
0:7 'input' ( in 4-component vector of float)
0:8 vector-scale ( temp 4-component vector of float)
0:8 Convert int to float ( temp float)
0:8 'b' ( temp int)
0:8 'input' ( in 4-component vector of float)
0:9 vector-scale ( temp 4-component vector of float)
0:9 Convert int to float ( temp float)
0:9 'c' ( temp int)
0:9 'input' ( in 4-component vector of float)
0:10 vector-scale ( temp 4-component vector of float)
0:10 Convert int to float ( temp float)
0:10 'd' ( temp int)
0:10 'input' ( in 4-component vector of float)
0:12 Comma ( temp int)
0:12 move second child to first child ( temp int)
0:12 'e' ( temp int)
0:12 move second child to first child ( temp int)
0:12 'a' ( temp int)
0:12 Test condition and select ( temp int)
0:12 Condition
0:12 'b' (temp int)
0:12 'b' ( temp int)
0:12 true case
0:12 move second child to first child (temp int)
0:12 'c' (temp int)
0:12 'd' (temp int)
0:12 move second child to first child ( temp int)
0:12 'c' ( temp int)
0:12 'd' ( temp int)
0:12 false case
0:12 Constant:
0:12 10 (const int)
0:12 move second child to first child (temp int)
0:12 'b' (temp int)
0:12 Test condition and select (temp int)
0:12 move second child to first child ( temp int)
0:12 'b' ( temp int)
0:12 Test condition and select ( temp int)
0:12 Condition
0:12 'a' (temp int)
0:12 'a' ( temp int)
0:12 true case
0:12 move second child to first child (temp int)
0:12 'd' (temp int)
0:12 'c' (temp int)
0:12 move second child to first child ( temp int)
0:12 'd' ( temp int)
0:12 'c' ( temp int)
0:12 false case
0:12 Constant:
0:12 11 (const int)
0:14 move second child to first child (temp 4-component vector of float)
0:14 'f' (temp 4-component vector of float)
0:14 Test condition and select (temp 4-component vector of float)
0:14 move second child to first child ( temp 4-component vector of float)
0:14 'f' ( temp 4-component vector of float)
0:14 Test condition and select ( temp 4-component vector of float)
0:14 Condition
0:14 Compare Less Than (temp bool)
0:14 direct index (temp float)
0:14 'ret' (temp 4-component vector of float)
0:14 Compare Less Than ( temp bool)
0:14 direct index ( temp float)
0:14 'ret' ( temp 4-component vector of float)
0:14 Constant:
0:14 0 (const int)
0:14 direct index (temp float)
0:14 'input' (in 4-component vector of float)
0:14 direct index ( temp float)
0:14 'input' ( in 4-component vector of float)
0:14 Constant:
0:14 1 (const int)
0:14 true case
0:14 vector-scale (temp 4-component vector of float)
0:14 Convert int to float (temp float)
0:14 'c' (temp int)
0:14 'input' (in 4-component vector of float)
0:14 vector-scale ( temp 4-component vector of float)
0:14 Convert int to float ( temp float)
0:14 'c' ( temp int)
0:14 'input' ( in 4-component vector of float)
0:14 false case
0:14 vector-scale (temp 4-component vector of float)
0:14 Convert int to float (temp float)
0:14 'd' (temp int)
0:14 'input' (in 4-component vector of float)
0:14 vector-scale ( temp 4-component vector of float)
0:14 Convert int to float ( temp float)
0:14 'd' ( temp int)
0:14 'input' ( in 4-component vector of float)
0:15 Branch: Return with expression
0:15 add (temp 4-component vector of float)
0:15 vector-scale (temp 4-component vector of float)
0:15 Convert int to float (temp float)
0:15 'e' (temp int)
0:15 'ret' (temp 4-component vector of float)
0:15 'f' (temp 4-component vector of float)
0:2 Function Definition: PixelShaderFunction( (temp void)
0:15 add ( temp 4-component vector of float)
0:15 vector-scale ( temp 4-component vector of float)
0:15 Convert int to float ( temp float)
0:15 'e' ( temp int)
0:15 'ret' ( temp 4-component vector of float)
0:15 'f' ( temp 4-component vector of float)
0:2 Function Definition: PixelShaderFunction( ( temp void)
0:2 Function Parameters:
0:? Sequence
0:2 move second child to first child (temp 4-component vector of float)
0:? 'input' (temp 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
0:2 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (layout(location=0 ) out 4-component vector of float)
0:2 Function Call: @PixelShaderFunction(vf4; (temp 4-component vector of float)
0:? 'input' (temp 4-component vector of float)
0:2 move second child to first child ( temp 4-component vector of float)
0:? 'input' ( temp 4-component vector of float)
0:? 'input' (layout( location=0) in 4-component vector of float)
0:2 move second child to first child ( temp 4-component vector of float)
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:2 Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
0:? 'input' ( temp 4-component vector of float)
0:? Linker Objects
0:? '@entryPointOutput' (layout(location=0 ) out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:? 'input' (layout( location=0) in 4-component vector of float)
Linked fragment stage:
@ -126,122 +126,122 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:2 Function Definition: @PixelShaderFunction(vf4; (temp 4-component vector of float)
0:2 Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
0:2 Function Parameters:
0:2 'input' (in 4-component vector of float)
0:2 'input' ( in 4-component vector of float)
0:? Sequence
0:3 Sequence
0:3 move second child to first child (temp int)
0:3 'a' (temp int)
0:3 move second child to first child ( temp int)
0:3 'a' ( temp int)
0:3 Constant:
0:3 5 (const int)
0:4 Sequence
0:4 move second child to first child (temp int)
0:4 'b' (temp int)
0:4 move second child to first child ( temp int)
0:4 'b' ( temp int)
0:4 Constant:
0:4 6 (const int)
0:5 Sequence
0:5 move second child to first child (temp int)
0:5 'c' (temp int)
0:5 move second child to first child ( temp int)
0:5 'c' ( temp int)
0:5 Constant:
0:5 7 (const int)
0:6 Sequence
0:6 move second child to first child (temp int)
0:6 'd' (temp int)
0:6 move second child to first child ( temp int)
0:6 'd' ( temp int)
0:6 Constant:
0:6 7 (const int)
0:7 Sequence
0:7 move second child to first child (temp 4-component vector of float)
0:7 'ret' (temp 4-component vector of float)
0:9 add (temp 4-component vector of float)
0:8 add (temp 4-component vector of float)
0:7 add (temp 4-component vector of float)
0:7 vector-scale (temp 4-component vector of float)
0:7 Convert int to float (temp float)
0:7 'a' (temp int)
0:7 'input' (in 4-component vector of float)
0:8 vector-scale (temp 4-component vector of float)
0:8 Convert int to float (temp float)
0:8 'b' (temp int)
0:8 'input' (in 4-component vector of float)
0:9 vector-scale (temp 4-component vector of float)
0:9 Convert int to float (temp float)
0:9 'c' (temp int)
0:9 'input' (in 4-component vector of float)
0:10 vector-scale (temp 4-component vector of float)
0:10 Convert int to float (temp float)
0:10 'd' (temp int)
0:10 'input' (in 4-component vector of float)
0:12 Comma (temp int)
0:12 move second child to first child (temp int)
0:12 'e' (temp int)
0:12 move second child to first child (temp int)
0:12 'a' (temp int)
0:12 Test condition and select (temp int)
0:7 move second child to first child ( temp 4-component vector of float)
0:7 'ret' ( temp 4-component vector of float)
0:9 add ( temp 4-component vector of float)
0:8 add ( temp 4-component vector of float)
0:7 add ( temp 4-component vector of float)
0:7 vector-scale ( temp 4-component vector of float)
0:7 Convert int to float ( temp float)
0:7 'a' ( temp int)
0:7 'input' ( in 4-component vector of float)
0:8 vector-scale ( temp 4-component vector of float)
0:8 Convert int to float ( temp float)
0:8 'b' ( temp int)
0:8 'input' ( in 4-component vector of float)
0:9 vector-scale ( temp 4-component vector of float)
0:9 Convert int to float ( temp float)
0:9 'c' ( temp int)
0:9 'input' ( in 4-component vector of float)
0:10 vector-scale ( temp 4-component vector of float)
0:10 Convert int to float ( temp float)
0:10 'd' ( temp int)
0:10 'input' ( in 4-component vector of float)
0:12 Comma ( temp int)
0:12 move second child to first child ( temp int)
0:12 'e' ( temp int)
0:12 move second child to first child ( temp int)
0:12 'a' ( temp int)
0:12 Test condition and select ( temp int)
0:12 Condition
0:12 'b' (temp int)
0:12 'b' ( temp int)
0:12 true case
0:12 move second child to first child (temp int)
0:12 'c' (temp int)
0:12 'd' (temp int)
0:12 move second child to first child ( temp int)
0:12 'c' ( temp int)
0:12 'd' ( temp int)
0:12 false case
0:12 Constant:
0:12 10 (const int)
0:12 move second child to first child (temp int)
0:12 'b' (temp int)
0:12 Test condition and select (temp int)
0:12 move second child to first child ( temp int)
0:12 'b' ( temp int)
0:12 Test condition and select ( temp int)
0:12 Condition
0:12 'a' (temp int)
0:12 'a' ( temp int)
0:12 true case
0:12 move second child to first child (temp int)
0:12 'd' (temp int)
0:12 'c' (temp int)
0:12 move second child to first child ( temp int)
0:12 'd' ( temp int)
0:12 'c' ( temp int)
0:12 false case
0:12 Constant:
0:12 11 (const int)
0:14 move second child to first child (temp 4-component vector of float)
0:14 'f' (temp 4-component vector of float)
0:14 Test condition and select (temp 4-component vector of float)
0:14 move second child to first child ( temp 4-component vector of float)
0:14 'f' ( temp 4-component vector of float)
0:14 Test condition and select ( temp 4-component vector of float)
0:14 Condition
0:14 Compare Less Than (temp bool)
0:14 direct index (temp float)
0:14 'ret' (temp 4-component vector of float)
0:14 Compare Less Than ( temp bool)
0:14 direct index ( temp float)
0:14 'ret' ( temp 4-component vector of float)
0:14 Constant:
0:14 0 (const int)
0:14 direct index (temp float)
0:14 'input' (in 4-component vector of float)
0:14 direct index ( temp float)
0:14 'input' ( in 4-component vector of float)
0:14 Constant:
0:14 1 (const int)
0:14 true case
0:14 vector-scale (temp 4-component vector of float)
0:14 Convert int to float (temp float)
0:14 'c' (temp int)
0:14 'input' (in 4-component vector of float)
0:14 vector-scale ( temp 4-component vector of float)
0:14 Convert int to float ( temp float)
0:14 'c' ( temp int)
0:14 'input' ( in 4-component vector of float)
0:14 false case
0:14 vector-scale (temp 4-component vector of float)
0:14 Convert int to float (temp float)
0:14 'd' (temp int)
0:14 'input' (in 4-component vector of float)
0:14 vector-scale ( temp 4-component vector of float)
0:14 Convert int to float ( temp float)
0:14 'd' ( temp int)
0:14 'input' ( in 4-component vector of float)
0:15 Branch: Return with expression
0:15 add (temp 4-component vector of float)
0:15 vector-scale (temp 4-component vector of float)
0:15 Convert int to float (temp float)
0:15 'e' (temp int)
0:15 'ret' (temp 4-component vector of float)
0:15 'f' (temp 4-component vector of float)
0:2 Function Definition: PixelShaderFunction( (temp void)
0:15 add ( temp 4-component vector of float)
0:15 vector-scale ( temp 4-component vector of float)
0:15 Convert int to float ( temp float)
0:15 'e' ( temp int)
0:15 'ret' ( temp 4-component vector of float)
0:15 'f' ( temp 4-component vector of float)
0:2 Function Definition: PixelShaderFunction( ( temp void)
0:2 Function Parameters:
0:? Sequence
0:2 move second child to first child (temp 4-component vector of float)
0:? 'input' (temp 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
0:2 move second child to first child (temp 4-component vector of float)
0:? '@entryPointOutput' (layout(location=0 ) out 4-component vector of float)
0:2 Function Call: @PixelShaderFunction(vf4; (temp 4-component vector of float)
0:? 'input' (temp 4-component vector of float)
0:2 move second child to first child ( temp 4-component vector of float)
0:? 'input' ( temp 4-component vector of float)
0:? 'input' (layout( location=0) in 4-component vector of float)
0:2 move second child to first child ( temp 4-component vector of float)
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:2 Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
0:? 'input' ( temp 4-component vector of float)
0:? Linker Objects
0:? '@entryPointOutput' (layout(location=0 ) out 4-component vector of float)
0:? 'input' (layout(location=0 ) in 4-component vector of float)
0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
0:? 'input' (layout( location=0) in 4-component vector of float)
// Module Version 10000
// Generated by (magic number): 80001