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:
@@ -2,95 +2,95 @@ hlsl.hull.1.tesc
|
||||
Shader version: 450
|
||||
vertices = 4
|
||||
0:? Sequence
|
||||
0:26 Function Definition: @main(struct-VS_OUT-vf31[4];u1; (temp structure{temp 3-component vector of float cpoint})
|
||||
0:26 Function Definition: @main(struct-VS_OUT-vf31[4];u1; ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:26 Function Parameters:
|
||||
0:26 'ip' (in 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:26 'm_cpid' (in uint)
|
||||
0:26 'ip' ( in 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:26 'm_cpid' ( in uint)
|
||||
0:? Sequence
|
||||
0:28 move second child to first child (temp 3-component vector of float)
|
||||
0:28 cpoint: direct index for structure (temp 3-component vector of float)
|
||||
0:28 'output' (temp structure{temp 3-component vector of float cpoint})
|
||||
0:28 move second child to first child ( temp 3-component vector of float)
|
||||
0:28 cpoint: direct index for structure ( temp 3-component vector of float)
|
||||
0:28 'output' ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:28 cpoint: direct index for structure (temp 3-component vector of float)
|
||||
0:28 direct index (temp structure{temp 3-component vector of float cpoint})
|
||||
0:28 'ip' (in 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:28 cpoint: direct index for structure ( temp 3-component vector of float)
|
||||
0:28 direct index ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:28 'ip' ( in 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:29 Branch: Return with expression
|
||||
0:29 'output' (temp structure{temp 3-component vector of float cpoint})
|
||||
0:26 Function Definition: main( (temp void)
|
||||
0:29 'output' ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:26 Function Definition: main( ( temp void)
|
||||
0:26 Function Parameters:
|
||||
0:? Sequence
|
||||
0:26 move second child to first child (temp 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (temp 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (layout(location=0 ) in 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:26 move second child to first child (temp uint)
|
||||
0:? 'm_cpid' (temp uint)
|
||||
0:? 'm_cpid' (in uint InvocationID)
|
||||
0:26 move second child to first child (temp structure{temp 3-component vector of float cpoint})
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out structure{temp 3-component vector of float cpoint})
|
||||
0:26 Function Call: @main(struct-VS_OUT-vf31[4];u1; (temp structure{temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (temp 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:? 'm_cpid' (temp uint)
|
||||
0:? Barrier (temp void)
|
||||
0:? Test condition and select (temp void)
|
||||
0:26 move second child to first child ( temp 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'ip' ( temp 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (layout( location=0) in 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:26 move second child to first child ( temp uint)
|
||||
0:? 'm_cpid' ( temp uint)
|
||||
0:? 'm_cpid' ( in uint InvocationID)
|
||||
0:26 move second child to first child ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{ temp 3-component vector of float cpoint})
|
||||
0:26 Function Call: @main(struct-VS_OUT-vf31[4];u1; ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'ip' ( temp 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'm_cpid' ( temp uint)
|
||||
0:? Barrier ( temp void)
|
||||
0:? Test condition and select ( temp void)
|
||||
0:? Condition
|
||||
0:? Compare Equal (temp bool)
|
||||
0:? 'm_cpid' (in uint InvocationID)
|
||||
0:? Compare Equal ( temp bool)
|
||||
0:? 'm_cpid' ( in uint InvocationID)
|
||||
0:? Constant:
|
||||
0:? 0 (const int)
|
||||
0:? true case
|
||||
0:? Sequence
|
||||
0:? move second child to first child (temp structure{temp 2-element array of float edges})
|
||||
0:? '@patchConstantResult' (temp structure{temp 2-element array of float edges})
|
||||
0:? Function Call: PCF(u1; (temp structure{temp 2-element array of float edges})
|
||||
0:? 'pid' (in uint PrimitiveID)
|
||||
0:? move second child to first child ( temp structure{ temp 2-element array of float edges})
|
||||
0:? '@patchConstantResult' ( temp structure{ temp 2-element array of float edges})
|
||||
0:? Function Call: PCF(u1; ( temp structure{ temp 2-element array of float edges})
|
||||
0:? 'pid' ( in uint PrimitiveID)
|
||||
0:? Sequence
|
||||
0:? move second child to first child (temp float)
|
||||
0:? direct index (out float TessLevelOuter)
|
||||
0:? '@patchConstantOutput_edges' (out 2-element array of float TessLevelOuter)
|
||||
0:? move second child to first child ( temp float)
|
||||
0:? direct index ( out float TessLevelOuter)
|
||||
0:? '@patchConstantOutput_edges' ( out 2-element array of float TessLevelOuter)
|
||||
0:? Constant:
|
||||
0:? 0 (const int)
|
||||
0:? direct index (temp float)
|
||||
0:? edges: direct index for structure (temp 2-element array of float)
|
||||
0:? '@patchConstantResult' (temp structure{temp 2-element array of float edges})
|
||||
0:? direct index ( temp float)
|
||||
0:? edges: direct index for structure ( temp 2-element array of float)
|
||||
0:? '@patchConstantResult' ( temp structure{ temp 2-element array of float edges})
|
||||
0:? Constant:
|
||||
0:? 0 (const int)
|
||||
0:? Constant:
|
||||
0:? 0 (const int)
|
||||
0:? move second child to first child (temp float)
|
||||
0:? direct index (out float TessLevelOuter)
|
||||
0:? '@patchConstantOutput_edges' (out 2-element array of float TessLevelOuter)
|
||||
0:? move second child to first child ( temp float)
|
||||
0:? direct index ( out float TessLevelOuter)
|
||||
0:? '@patchConstantOutput_edges' ( out 2-element array of float TessLevelOuter)
|
||||
0:? Constant:
|
||||
0:? 1 (const int)
|
||||
0:? direct index (temp float)
|
||||
0:? edges: direct index for structure (temp 2-element array of float)
|
||||
0:? '@patchConstantResult' (temp structure{temp 2-element array of float edges})
|
||||
0:? direct index ( temp float)
|
||||
0:? edges: direct index for structure ( temp 2-element array of float)
|
||||
0:? '@patchConstantResult' ( temp structure{ temp 2-element array of float edges})
|
||||
0:? Constant:
|
||||
0:? 0 (const int)
|
||||
0:? Constant:
|
||||
0:? 1 (const int)
|
||||
0:33 Function Definition: PCF(u1; (temp structure{temp 2-element array of float edges})
|
||||
0:33 Function Definition: PCF(u1; ( temp structure{ temp 2-element array of float edges})
|
||||
0:33 Function Parameters:
|
||||
0:33 'pid' (in uint)
|
||||
0:33 'pid' ( in uint)
|
||||
0:? Sequence
|
||||
0:36 move second child to first child (temp float)
|
||||
0:36 direct index (temp float)
|
||||
0:36 edges: direct index for structure (temp 2-element array of float)
|
||||
0:36 'output' (temp structure{temp 2-element array of float edges})
|
||||
0:36 move second child to first child ( temp float)
|
||||
0:36 direct index ( temp float)
|
||||
0:36 edges: direct index for structure ( temp 2-element array of float)
|
||||
0:36 'output' ( temp structure{ temp 2-element array of float edges})
|
||||
0:36 Constant:
|
||||
0:36 0 (const int)
|
||||
0:36 Constant:
|
||||
0:36 0 (const int)
|
||||
0:36 Constant:
|
||||
0:36 2.000000
|
||||
0:37 move second child to first child (temp float)
|
||||
0:37 direct index (temp float)
|
||||
0:37 edges: direct index for structure (temp 2-element array of float)
|
||||
0:37 'output' (temp structure{temp 2-element array of float edges})
|
||||
0:37 move second child to first child ( temp float)
|
||||
0:37 direct index ( temp float)
|
||||
0:37 edges: direct index for structure ( temp 2-element array of float)
|
||||
0:37 'output' ( temp structure{ temp 2-element array of float edges})
|
||||
0:37 Constant:
|
||||
0:37 0 (const int)
|
||||
0:37 Constant:
|
||||
@@ -98,13 +98,13 @@ vertices = 4
|
||||
0:37 Constant:
|
||||
0:37 8.000000
|
||||
0:38 Branch: Return with expression
|
||||
0:38 'output' (temp structure{temp 2-element array of float edges})
|
||||
0:38 'output' ( temp structure{ temp 2-element array of float edges})
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out structure{temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (layout(location=0 ) in 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:? 'm_cpid' (in uint InvocationID)
|
||||
0:? 'pid' (in uint PrimitiveID)
|
||||
0:? '@patchConstantOutput_edges' (out 2-element array of float TessLevelOuter)
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (layout( location=0) in 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'm_cpid' ( in uint InvocationID)
|
||||
0:? 'pid' ( in uint PrimitiveID)
|
||||
0:? '@patchConstantOutput_edges' ( out 2-element array of float TessLevelOuter)
|
||||
|
||||
|
||||
Linked tessellation control stage:
|
||||
@@ -113,95 +113,95 @@ Linked tessellation control stage:
|
||||
Shader version: 450
|
||||
vertices = 4
|
||||
0:? Sequence
|
||||
0:26 Function Definition: @main(struct-VS_OUT-vf31[4];u1; (temp structure{temp 3-component vector of float cpoint})
|
||||
0:26 Function Definition: @main(struct-VS_OUT-vf31[4];u1; ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:26 Function Parameters:
|
||||
0:26 'ip' (in 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:26 'm_cpid' (in uint)
|
||||
0:26 'ip' ( in 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:26 'm_cpid' ( in uint)
|
||||
0:? Sequence
|
||||
0:28 move second child to first child (temp 3-component vector of float)
|
||||
0:28 cpoint: direct index for structure (temp 3-component vector of float)
|
||||
0:28 'output' (temp structure{temp 3-component vector of float cpoint})
|
||||
0:28 move second child to first child ( temp 3-component vector of float)
|
||||
0:28 cpoint: direct index for structure ( temp 3-component vector of float)
|
||||
0:28 'output' ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:28 cpoint: direct index for structure (temp 3-component vector of float)
|
||||
0:28 direct index (temp structure{temp 3-component vector of float cpoint})
|
||||
0:28 'ip' (in 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:28 cpoint: direct index for structure ( temp 3-component vector of float)
|
||||
0:28 direct index ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:28 'ip' ( in 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:28 Constant:
|
||||
0:28 0 (const int)
|
||||
0:29 Branch: Return with expression
|
||||
0:29 'output' (temp structure{temp 3-component vector of float cpoint})
|
||||
0:26 Function Definition: main( (temp void)
|
||||
0:29 'output' ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:26 Function Definition: main( ( temp void)
|
||||
0:26 Function Parameters:
|
||||
0:? Sequence
|
||||
0:26 move second child to first child (temp 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (temp 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (layout(location=0 ) in 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:26 move second child to first child (temp uint)
|
||||
0:? 'm_cpid' (temp uint)
|
||||
0:? 'm_cpid' (in uint InvocationID)
|
||||
0:26 move second child to first child (temp structure{temp 3-component vector of float cpoint})
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out structure{temp 3-component vector of float cpoint})
|
||||
0:26 Function Call: @main(struct-VS_OUT-vf31[4];u1; (temp structure{temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (temp 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:? 'm_cpid' (temp uint)
|
||||
0:? Barrier (temp void)
|
||||
0:? Test condition and select (temp void)
|
||||
0:26 move second child to first child ( temp 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'ip' ( temp 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (layout( location=0) in 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:26 move second child to first child ( temp uint)
|
||||
0:? 'm_cpid' ( temp uint)
|
||||
0:? 'm_cpid' ( in uint InvocationID)
|
||||
0:26 move second child to first child ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{ temp 3-component vector of float cpoint})
|
||||
0:26 Function Call: @main(struct-VS_OUT-vf31[4];u1; ( temp structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'ip' ( temp 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'm_cpid' ( temp uint)
|
||||
0:? Barrier ( temp void)
|
||||
0:? Test condition and select ( temp void)
|
||||
0:? Condition
|
||||
0:? Compare Equal (temp bool)
|
||||
0:? 'm_cpid' (in uint InvocationID)
|
||||
0:? Compare Equal ( temp bool)
|
||||
0:? 'm_cpid' ( in uint InvocationID)
|
||||
0:? Constant:
|
||||
0:? 0 (const int)
|
||||
0:? true case
|
||||
0:? Sequence
|
||||
0:? move second child to first child (temp structure{temp 2-element array of float edges})
|
||||
0:? '@patchConstantResult' (temp structure{temp 2-element array of float edges})
|
||||
0:? Function Call: PCF(u1; (temp structure{temp 2-element array of float edges})
|
||||
0:? 'pid' (in uint PrimitiveID)
|
||||
0:? move second child to first child ( temp structure{ temp 2-element array of float edges})
|
||||
0:? '@patchConstantResult' ( temp structure{ temp 2-element array of float edges})
|
||||
0:? Function Call: PCF(u1; ( temp structure{ temp 2-element array of float edges})
|
||||
0:? 'pid' ( in uint PrimitiveID)
|
||||
0:? Sequence
|
||||
0:? move second child to first child (temp float)
|
||||
0:? direct index (out float TessLevelOuter)
|
||||
0:? '@patchConstantOutput_edges' (out 2-element array of float TessLevelOuter)
|
||||
0:? move second child to first child ( temp float)
|
||||
0:? direct index ( out float TessLevelOuter)
|
||||
0:? '@patchConstantOutput_edges' ( out 2-element array of float TessLevelOuter)
|
||||
0:? Constant:
|
||||
0:? 0 (const int)
|
||||
0:? direct index (temp float)
|
||||
0:? edges: direct index for structure (temp 2-element array of float)
|
||||
0:? '@patchConstantResult' (temp structure{temp 2-element array of float edges})
|
||||
0:? direct index ( temp float)
|
||||
0:? edges: direct index for structure ( temp 2-element array of float)
|
||||
0:? '@patchConstantResult' ( temp structure{ temp 2-element array of float edges})
|
||||
0:? Constant:
|
||||
0:? 0 (const int)
|
||||
0:? Constant:
|
||||
0:? 0 (const int)
|
||||
0:? move second child to first child (temp float)
|
||||
0:? direct index (out float TessLevelOuter)
|
||||
0:? '@patchConstantOutput_edges' (out 2-element array of float TessLevelOuter)
|
||||
0:? move second child to first child ( temp float)
|
||||
0:? direct index ( out float TessLevelOuter)
|
||||
0:? '@patchConstantOutput_edges' ( out 2-element array of float TessLevelOuter)
|
||||
0:? Constant:
|
||||
0:? 1 (const int)
|
||||
0:? direct index (temp float)
|
||||
0:? edges: direct index for structure (temp 2-element array of float)
|
||||
0:? '@patchConstantResult' (temp structure{temp 2-element array of float edges})
|
||||
0:? direct index ( temp float)
|
||||
0:? edges: direct index for structure ( temp 2-element array of float)
|
||||
0:? '@patchConstantResult' ( temp structure{ temp 2-element array of float edges})
|
||||
0:? Constant:
|
||||
0:? 0 (const int)
|
||||
0:? Constant:
|
||||
0:? 1 (const int)
|
||||
0:33 Function Definition: PCF(u1; (temp structure{temp 2-element array of float edges})
|
||||
0:33 Function Definition: PCF(u1; ( temp structure{ temp 2-element array of float edges})
|
||||
0:33 Function Parameters:
|
||||
0:33 'pid' (in uint)
|
||||
0:33 'pid' ( in uint)
|
||||
0:? Sequence
|
||||
0:36 move second child to first child (temp float)
|
||||
0:36 direct index (temp float)
|
||||
0:36 edges: direct index for structure (temp 2-element array of float)
|
||||
0:36 'output' (temp structure{temp 2-element array of float edges})
|
||||
0:36 move second child to first child ( temp float)
|
||||
0:36 direct index ( temp float)
|
||||
0:36 edges: direct index for structure ( temp 2-element array of float)
|
||||
0:36 'output' ( temp structure{ temp 2-element array of float edges})
|
||||
0:36 Constant:
|
||||
0:36 0 (const int)
|
||||
0:36 Constant:
|
||||
0:36 0 (const int)
|
||||
0:36 Constant:
|
||||
0:36 2.000000
|
||||
0:37 move second child to first child (temp float)
|
||||
0:37 direct index (temp float)
|
||||
0:37 edges: direct index for structure (temp 2-element array of float)
|
||||
0:37 'output' (temp structure{temp 2-element array of float edges})
|
||||
0:37 move second child to first child ( temp float)
|
||||
0:37 direct index ( temp float)
|
||||
0:37 edges: direct index for structure ( temp 2-element array of float)
|
||||
0:37 'output' ( temp structure{ temp 2-element array of float edges})
|
||||
0:37 Constant:
|
||||
0:37 0 (const int)
|
||||
0:37 Constant:
|
||||
@@ -209,13 +209,13 @@ vertices = 4
|
||||
0:37 Constant:
|
||||
0:37 8.000000
|
||||
0:38 Branch: Return with expression
|
||||
0:38 'output' (temp structure{temp 2-element array of float edges})
|
||||
0:38 'output' ( temp structure{ temp 2-element array of float edges})
|
||||
0:? Linker Objects
|
||||
0:? '@entryPointOutput' (layout(location=0 ) out structure{temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (layout(location=0 ) in 4-element array of structure{temp 3-component vector of float cpoint})
|
||||
0:? 'm_cpid' (in uint InvocationID)
|
||||
0:? 'pid' (in uint PrimitiveID)
|
||||
0:? '@patchConstantOutput_edges' (out 2-element array of float TessLevelOuter)
|
||||
0:? '@entryPointOutput' (layout( location=0) out structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'ip' (layout( location=0) in 4-element array of structure{ temp 3-component vector of float cpoint})
|
||||
0:? 'm_cpid' ( in uint InvocationID)
|
||||
0:? 'pid' ( in uint PrimitiveID)
|
||||
0:? '@patchConstantOutput_edges' ( out 2-element array of float TessLevelOuter)
|
||||
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80001
|
||||
|
||||
Reference in New Issue
Block a user