Linker: Eliminate uncalled functions, because they can be ill-defined.
Fixes issue #610. Also provides a testing option to keep uncalled functions.
This commit is contained in:
@@ -184,77 +184,6 @@ ERROR: node is still EOpNull!
|
||||
0:39 10 (const int)
|
||||
0:39 true case
|
||||
0:40 Barrier (global void)
|
||||
0:63 Function Definition: foo( (global void)
|
||||
0:63 Function Parameters:
|
||||
0:65 Sequence
|
||||
0:65 move second child to first child (temp float)
|
||||
0:65 direct index (layout(column_major shared ) temp float)
|
||||
0:65 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
|
||||
0:65 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
|
||||
0:65 Constant:
|
||||
0:65 1 (const int)
|
||||
0:65 Constant:
|
||||
0:65 2 (const int)
|
||||
0:65 Constant:
|
||||
0:65 4.700000
|
||||
0:66 array length (temp int)
|
||||
0:66 values: direct index for structure (layout(column_major shared ) buffer implicitly-sized array of float)
|
||||
0:66 'ro' (layout(column_major shared ) readonly buffer block{layout(column_major shared ) buffer int value, layout(column_major shared ) buffer implicitly-sized array of float values})
|
||||
0:66 Constant:
|
||||
0:66 1 (const int)
|
||||
0:67 Barrier (global void)
|
||||
0:72 Function Definition: fooaoeu( (global void)
|
||||
0:72 Function Parameters:
|
||||
0:73 Sequence
|
||||
0:73 Sequence
|
||||
0:73 move second child to first child (temp 2-component vector of int)
|
||||
0:73 'storePos' (temp 2-component vector of int)
|
||||
0:73 Convert uint to int (temp 2-component vector of int)
|
||||
0:73 vector swizzle (temp 2-component vector of uint)
|
||||
0:73 'gl_GlobalInvocationID' (in 3-component vector of uint GlobalInvocationID)
|
||||
0:73 Sequence
|
||||
0:73 Constant:
|
||||
0:73 0 (const int)
|
||||
0:73 Constant:
|
||||
0:73 1 (const int)
|
||||
0:74 Sequence
|
||||
0:74 move second child to first child (temp double)
|
||||
0:74 'localCoef' (temp double)
|
||||
0:74 Convert float to double (temp double)
|
||||
0:74 length (global float)
|
||||
0:74 divide (temp 2-component vector of float)
|
||||
0:74 Convert int to float (temp 2-component vector of float)
|
||||
0:74 subtract (temp 2-component vector of int)
|
||||
0:74 Convert uint to int (temp 2-component vector of int)
|
||||
0:74 vector swizzle (temp 2-component vector of uint)
|
||||
0:74 'gl_LocalInvocationID' (in 3-component vector of uint LocalInvocationID)
|
||||
0:74 Sequence
|
||||
0:74 Constant:
|
||||
0:74 0 (const int)
|
||||
0:74 Constant:
|
||||
0:74 1 (const int)
|
||||
0:74 Constant:
|
||||
0:74 8 (const int)
|
||||
0:74 Constant:
|
||||
0:74 8.000000
|
||||
0:75 Sequence
|
||||
0:75 move second child to first child (temp 4-component vector of double)
|
||||
0:75 'aa' (temp 4-component vector of double)
|
||||
0:75 Constant:
|
||||
0:75 0.400000
|
||||
0:75 0.200000
|
||||
0:75 0.300000
|
||||
0:75 0.400000
|
||||
0:76 Sequence
|
||||
0:76 move second child to first child (temp double)
|
||||
0:76 'globalCoef' (temp double)
|
||||
0:76 Constant:
|
||||
0:76 1.000000
|
||||
0:78 Sequence
|
||||
0:78 move second child to first child (temp double)
|
||||
0:78 'di' (temp double)
|
||||
0:78 Convert int to double (temp double)
|
||||
0:78 'i' (temp int)
|
||||
0:? Linker Objects
|
||||
0:? 'gl_WorkGroupSize' (const 3-component vector of uint WorkGroupSize)
|
||||
0:? 2 (const uint)
|
||||
|
||||
Reference in New Issue
Block a user