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,30 +2,30 @@ hlsl.intrinsics.promote.down.frag
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:15 Function Definition: @main( (temp structure{temp 4-component vector of float color})
0:15 Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
0:15 Function Parameters:
0:? Sequence
0:16 Sequence
0:16 move second child to first child (temp uint)
0:16 'r00' (temp uint)
0:16 bitCount (temp uint)
0:16 Convert float to uint (temp uint)
0:16 f: direct index for structure (layout(offset=8 ) uniform float)
0:16 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int i, layout(offset=4 ) uniform uint u, layout(offset=8 ) uniform float f, layout(offset=12 ) uniform bool b, layout(offset=16 ) uniform 2-component vector of int i2, layout(offset=24 ) uniform 2-component vector of uint u2, layout(offset=32 ) uniform 2-component vector of float f2, layout(offset=40 ) uniform 2-component vector of bool b2})
0:16 move second child to first child ( temp uint)
0:16 'r00' ( temp uint)
0:16 bitCount ( temp uint)
0:16 Convert float to uint ( temp uint)
0:16 f: direct index for structure (layout( offset=8) uniform float)
0:16 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform int i, layout( offset=4) uniform uint u, layout( offset=8) uniform float f, layout( offset=12) uniform bool b, layout( offset=16) uniform 2-component vector of int i2, layout( offset=24) uniform 2-component vector of uint u2, layout( offset=32) uniform 2-component vector of float f2, layout( offset=40) uniform 2-component vector of bool b2})
0:16 Constant:
0:16 2 (const uint)
0:17 Sequence
0:17 move second child to first child (temp 2-component vector of uint)
0:17 'r01' (temp 2-component vector of uint)
0:17 bitFieldReverse (temp 2-component vector of uint)
0:17 Convert float to uint (temp 2-component vector of uint)
0:17 f2: direct index for structure (layout(offset=32 ) uniform 2-component vector of float)
0:17 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int i, layout(offset=4 ) uniform uint u, layout(offset=8 ) uniform float f, layout(offset=12 ) uniform bool b, layout(offset=16 ) uniform 2-component vector of int i2, layout(offset=24 ) uniform 2-component vector of uint u2, layout(offset=32 ) uniform 2-component vector of float f2, layout(offset=40 ) uniform 2-component vector of bool b2})
0:17 move second child to first child ( temp 2-component vector of uint)
0:17 'r01' ( temp 2-component vector of uint)
0:17 bitFieldReverse ( temp 2-component vector of uint)
0:17 Convert float to uint ( temp 2-component vector of uint)
0:17 f2: direct index for structure (layout( offset=32) uniform 2-component vector of float)
0:17 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform int i, layout( offset=4) uniform uint u, layout( offset=8) uniform float f, layout( offset=12) uniform bool b, layout( offset=16) uniform 2-component vector of int i2, layout( offset=24) uniform 2-component vector of uint u2, layout( offset=32) uniform 2-component vector of float f2, layout( offset=40) uniform 2-component vector of bool b2})
0:17 Constant:
0:17 6 (const uint)
0:20 move second child to first child (temp 4-component vector of float)
0:20 color: direct index for structure (temp 4-component vector of float)
0:20 'ps_output' (temp structure{temp 4-component vector of float color})
0:20 move second child to first child ( temp 4-component vector of float)
0:20 color: direct index for structure ( temp 4-component vector of float)
0:20 'ps_output' ( temp structure{ temp 4-component vector of float color})
0:20 Constant:
0:20 0 (const int)
0:? Constant:
@ -34,20 +34,20 @@ gl_FragCoord origin is upper left
0:? 0.000000
0:? 0.000000
0:21 Branch: Return with expression
0:21 'ps_output' (temp structure{temp 4-component vector of float color})
0:15 Function Definition: main( (temp void)
0:21 'ps_output' ( temp structure{ temp 4-component vector of float color})
0:15 Function Definition: main( ( temp void)
0:15 Function Parameters:
0:? Sequence
0:15 Sequence
0:15 move second child to first child (temp 4-component vector of float)
0:? 'color' (layout(location=0 ) out 4-component vector of float)
0:15 color: direct index for structure (temp 4-component vector of float)
0:15 Function Call: @main( (temp structure{temp 4-component vector of float color})
0:15 move second child to first child ( temp 4-component vector of float)
0:? 'color' (layout( location=0) out 4-component vector of float)
0:15 color: direct index for structure ( temp 4-component vector of float)
0:15 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
0:15 Constant:
0:15 0 (const int)
0:? Linker Objects
0:? 'color' (layout(location=0 ) out 4-component vector of float)
0:? 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int i, layout(offset=4 ) uniform uint u, layout(offset=8 ) uniform float f, layout(offset=12 ) uniform bool b, layout(offset=16 ) uniform 2-component vector of int i2, layout(offset=24 ) uniform 2-component vector of uint u2, layout(offset=32 ) uniform 2-component vector of float f2, layout(offset=40 ) uniform 2-component vector of bool b2})
0:? 'color' (layout( location=0) out 4-component vector of float)
0:? 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform int i, layout( offset=4) uniform uint u, layout( offset=8) uniform float f, layout( offset=12) uniform bool b, layout( offset=16) uniform 2-component vector of int i2, layout( offset=24) uniform 2-component vector of uint u2, layout( offset=32) uniform 2-component vector of float f2, layout( offset=40) uniform 2-component vector of bool b2})
Linked fragment stage:
@ -56,30 +56,30 @@ Linked fragment stage:
Shader version: 450
gl_FragCoord origin is upper left
0:? Sequence
0:15 Function Definition: @main( (temp structure{temp 4-component vector of float color})
0:15 Function Definition: @main( ( temp structure{ temp 4-component vector of float color})
0:15 Function Parameters:
0:? Sequence
0:16 Sequence
0:16 move second child to first child (temp uint)
0:16 'r00' (temp uint)
0:16 bitCount (temp uint)
0:16 Convert float to uint (temp uint)
0:16 f: direct index for structure (layout(offset=8 ) uniform float)
0:16 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int i, layout(offset=4 ) uniform uint u, layout(offset=8 ) uniform float f, layout(offset=12 ) uniform bool b, layout(offset=16 ) uniform 2-component vector of int i2, layout(offset=24 ) uniform 2-component vector of uint u2, layout(offset=32 ) uniform 2-component vector of float f2, layout(offset=40 ) uniform 2-component vector of bool b2})
0:16 move second child to first child ( temp uint)
0:16 'r00' ( temp uint)
0:16 bitCount ( temp uint)
0:16 Convert float to uint ( temp uint)
0:16 f: direct index for structure (layout( offset=8) uniform float)
0:16 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform int i, layout( offset=4) uniform uint u, layout( offset=8) uniform float f, layout( offset=12) uniform bool b, layout( offset=16) uniform 2-component vector of int i2, layout( offset=24) uniform 2-component vector of uint u2, layout( offset=32) uniform 2-component vector of float f2, layout( offset=40) uniform 2-component vector of bool b2})
0:16 Constant:
0:16 2 (const uint)
0:17 Sequence
0:17 move second child to first child (temp 2-component vector of uint)
0:17 'r01' (temp 2-component vector of uint)
0:17 bitFieldReverse (temp 2-component vector of uint)
0:17 Convert float to uint (temp 2-component vector of uint)
0:17 f2: direct index for structure (layout(offset=32 ) uniform 2-component vector of float)
0:17 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int i, layout(offset=4 ) uniform uint u, layout(offset=8 ) uniform float f, layout(offset=12 ) uniform bool b, layout(offset=16 ) uniform 2-component vector of int i2, layout(offset=24 ) uniform 2-component vector of uint u2, layout(offset=32 ) uniform 2-component vector of float f2, layout(offset=40 ) uniform 2-component vector of bool b2})
0:17 move second child to first child ( temp 2-component vector of uint)
0:17 'r01' ( temp 2-component vector of uint)
0:17 bitFieldReverse ( temp 2-component vector of uint)
0:17 Convert float to uint ( temp 2-component vector of uint)
0:17 f2: direct index for structure (layout( offset=32) uniform 2-component vector of float)
0:17 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform int i, layout( offset=4) uniform uint u, layout( offset=8) uniform float f, layout( offset=12) uniform bool b, layout( offset=16) uniform 2-component vector of int i2, layout( offset=24) uniform 2-component vector of uint u2, layout( offset=32) uniform 2-component vector of float f2, layout( offset=40) uniform 2-component vector of bool b2})
0:17 Constant:
0:17 6 (const uint)
0:20 move second child to first child (temp 4-component vector of float)
0:20 color: direct index for structure (temp 4-component vector of float)
0:20 'ps_output' (temp structure{temp 4-component vector of float color})
0:20 move second child to first child ( temp 4-component vector of float)
0:20 color: direct index for structure ( temp 4-component vector of float)
0:20 'ps_output' ( temp structure{ temp 4-component vector of float color})
0:20 Constant:
0:20 0 (const int)
0:? Constant:
@ -88,20 +88,20 @@ gl_FragCoord origin is upper left
0:? 0.000000
0:? 0.000000
0:21 Branch: Return with expression
0:21 'ps_output' (temp structure{temp 4-component vector of float color})
0:15 Function Definition: main( (temp void)
0:21 'ps_output' ( temp structure{ temp 4-component vector of float color})
0:15 Function Definition: main( ( temp void)
0:15 Function Parameters:
0:? Sequence
0:15 Sequence
0:15 move second child to first child (temp 4-component vector of float)
0:? 'color' (layout(location=0 ) out 4-component vector of float)
0:15 color: direct index for structure (temp 4-component vector of float)
0:15 Function Call: @main( (temp structure{temp 4-component vector of float color})
0:15 move second child to first child ( temp 4-component vector of float)
0:? 'color' (layout( location=0) out 4-component vector of float)
0:15 color: direct index for structure ( temp 4-component vector of float)
0:15 Function Call: @main( ( temp structure{ temp 4-component vector of float color})
0:15 Constant:
0:15 0 (const int)
0:? Linker Objects
0:? 'color' (layout(location=0 ) out 4-component vector of float)
0:? 'anon@0' (layout(row_major std140 ) uniform block{layout(offset=0 ) uniform int i, layout(offset=4 ) uniform uint u, layout(offset=8 ) uniform float f, layout(offset=12 ) uniform bool b, layout(offset=16 ) uniform 2-component vector of int i2, layout(offset=24 ) uniform 2-component vector of uint u2, layout(offset=32 ) uniform 2-component vector of float f2, layout(offset=40 ) uniform 2-component vector of bool b2})
0:? 'color' (layout( location=0) out 4-component vector of float)
0:? 'anon@0' (layout( row_major std140) uniform block{layout( offset=0) uniform int i, layout( offset=4) uniform uint u, layout( offset=8) uniform float f, layout( offset=12) uniform bool b, layout( offset=16) uniform 2-component vector of int i2, layout( offset=24) uniform 2-component vector of uint u2, layout( offset=32) uniform 2-component vector of float f2, layout( offset=40) uniform 2-component vector of bool b2})
// Module Version 10000
// Generated by (magic number): 80001