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:
@@ -275,135 +275,6 @@ Requested GL_ARB_enhanced_layouts
|
||||
Requested GL_ARB_shader_texture_image_samples
|
||||
in xfb mode
|
||||
ERROR: node is still EOpNull!
|
||||
0:14 Function Definition: foo( (global void)
|
||||
0:14 Function Parameters:
|
||||
0:16 Sequence
|
||||
0:16 move second child to first child (temp float)
|
||||
0:16 direct index (temp float ClipDistance)
|
||||
0:16 gl_ClipDistance: direct index for structure (out 17-element array of float ClipDistance)
|
||||
0:16 'anon@0' (out block{out 17-element array of float ClipDistance gl_ClipDistance, })
|
||||
0:16 Constant:
|
||||
0:16 2 (const uint)
|
||||
0:16 Constant:
|
||||
0:16 2 (const int)
|
||||
0:16 Constant:
|
||||
0:16 3.700000
|
||||
0:31 Function Definition: foo3(vf4;vf3;vf2;vf3; (global void)
|
||||
0:31 Function Parameters:
|
||||
0:31 'v4' (in 4-component vector of float)
|
||||
0:31 'v3' (volatile in 3-component vector of float)
|
||||
0:31 'v2' (in 2-component vector of float)
|
||||
0:31 'cv3' (in 3-component vector of float)
|
||||
0:148 Function Definition: fooBarrier( (global void)
|
||||
0:148 Function Parameters:
|
||||
0:150 Sequence
|
||||
0:150 Constant:
|
||||
0:150 0.000000
|
||||
0:151 MemoryBarrier (global void)
|
||||
0:152 MemoryBarrierAtomicCounter (global void)
|
||||
0:153 MemoryBarrierBuffer (global void)
|
||||
0:154 Constant:
|
||||
0:154 0.000000
|
||||
0:155 MemoryBarrierImage (global void)
|
||||
0:156 Constant:
|
||||
0:156 0.000000
|
||||
0:166 Function Definition: fooq( (global void)
|
||||
0:166 Function Parameters:
|
||||
0:168 Sequence
|
||||
0:168 Sequence
|
||||
0:168 move second child to first child (temp int)
|
||||
0:168 's' (temp int)
|
||||
0:168 textureSamples (global int)
|
||||
0:168 's2dms' (uniform sampler2DMS)
|
||||
0:169 add second child into first child (temp int)
|
||||
0:169 's' (temp int)
|
||||
0:169 textureSamples (global int)
|
||||
0:169 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:170 add second child into first child (temp int)
|
||||
0:170 's' (temp int)
|
||||
0:170 imageQuerySamples (global int)
|
||||
0:170 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:171 add second child into first child (temp int)
|
||||
0:171 's' (temp int)
|
||||
0:171 imageQuerySamples (global int)
|
||||
0:171 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:176 Function Definition: fooq2( (global void)
|
||||
0:176 Function Parameters:
|
||||
0:178 Sequence
|
||||
0:178 Sequence
|
||||
0:178 move second child to first child (temp int)
|
||||
0:178 's' (temp int)
|
||||
0:178 textureSamples (global int)
|
||||
0:178 's2dms' (uniform sampler2DMS)
|
||||
0:179 add second child into first child (temp int)
|
||||
0:179 's' (temp int)
|
||||
0:179 textureSamples (global int)
|
||||
0:179 'us2dmsa' (uniform usampler2DMSArray)
|
||||
0:180 add second child into first child (temp int)
|
||||
0:180 's' (temp int)
|
||||
0:180 imageQuerySamples (global int)
|
||||
0:180 'ii2dms' (layout(rgba32i ) uniform iimage2DMS)
|
||||
0:181 add second child into first child (temp int)
|
||||
0:181 's' (temp int)
|
||||
0:181 imageQuerySamples (global int)
|
||||
0:181 'i2dmsa' (layout(rgba32f ) uniform image2DMSArray)
|
||||
0:202 Function Definition: qlod( (global void)
|
||||
0:202 Function Parameters:
|
||||
0:? Sequence
|
||||
0:206 move second child to first child (temp int)
|
||||
0:206 'levels' (temp int)
|
||||
0:206 textureQueryLevels (global int)
|
||||
0:206 'samp1D' (uniform sampler1D)
|
||||
0:207 move second child to first child (temp int)
|
||||
0:207 'levels' (temp int)
|
||||
0:207 textureQueryLevels (global int)
|
||||
0:207 'usamp2D' (uniform usampler2D)
|
||||
0:208 move second child to first child (temp int)
|
||||
0:208 'levels' (temp int)
|
||||
0:208 textureQueryLevels (global int)
|
||||
0:208 'isamp3D' (uniform isampler3D)
|
||||
0:209 move second child to first child (temp int)
|
||||
0:209 'levels' (temp int)
|
||||
0:209 textureQueryLevels (global int)
|
||||
0:209 'isampCube' (uniform isamplerCube)
|
||||
0:210 move second child to first child (temp int)
|
||||
0:210 'levels' (temp int)
|
||||
0:210 textureQueryLevels (global int)
|
||||
0:210 'isamp1DA' (uniform isampler1DArray)
|
||||
0:211 move second child to first child (temp int)
|
||||
0:211 'levels' (temp int)
|
||||
0:211 textureQueryLevels (global int)
|
||||
0:211 'samp2DA' (uniform sampler2DArray)
|
||||
0:212 move second child to first child (temp int)
|
||||
0:212 'levels' (temp int)
|
||||
0:212 textureQueryLevels (global int)
|
||||
0:212 'usampCubeA' (uniform usamplerCubeArray)
|
||||
0:214 move second child to first child (temp int)
|
||||
0:214 'levels' (temp int)
|
||||
0:214 textureQueryLevels (global int)
|
||||
0:214 'samp1Ds' (uniform sampler1DShadow)
|
||||
0:215 move second child to first child (temp int)
|
||||
0:215 'levels' (temp int)
|
||||
0:215 textureQueryLevels (global int)
|
||||
0:215 'samp2Ds' (uniform sampler2DShadow)
|
||||
0:216 move second child to first child (temp int)
|
||||
0:216 'levels' (temp int)
|
||||
0:216 textureQueryLevels (global int)
|
||||
0:216 'sampCubes' (uniform samplerCubeShadow)
|
||||
0:217 move second child to first child (temp int)
|
||||
0:217 'levels' (temp int)
|
||||
0:217 textureQueryLevels (global int)
|
||||
0:217 'samp1DAs' (uniform sampler1DArrayShadow)
|
||||
0:218 move second child to first child (temp int)
|
||||
0:218 'levels' (temp int)
|
||||
0:218 textureQueryLevels (global int)
|
||||
0:218 'samp2DAs' (uniform sampler2DArrayShadow)
|
||||
0:219 move second child to first child (temp int)
|
||||
0:219 'levels' (temp int)
|
||||
0:219 textureQueryLevels (global int)
|
||||
0:219 'sampCubeAs' (uniform samplerCubeArrayShadow)
|
||||
0:221 'levels' (temp int)
|
||||
0:222 'levels' (temp int)
|
||||
0:? Linker Objects
|
||||
0:? 'v4' (layout(location=3 ) temp 4-component vector of float)
|
||||
0:? 'uv4' (layout(location=4 ) uniform 4-component vector of float)
|
||||
|
||||
Reference in New Issue
Block a user