 5134b9cf57
			
		
	
	
		5134b9cf57
		
	
	
	
	
		
			
			Also made all tests in testlist include linker tests. git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@24156 e7fa87d3-cd2b-0410-9028-fcbf551c1848
		
			
				
	
	
		
			57 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ../../LunarGLASS/test/structAssignment.frag
 | |
| Warning, version 130 is not yet complete; most features are present, but a few are missing.
 | |
| WARNING: 0:4: varying deprecated in version 130; may be removed in future release
 | |
| 
 | |
| 0:? Sequence
 | |
| 0:29  Function Definition: main( (void)
 | |
| 0:29    Function Parameters: 
 | |
| 0:?     Sequence
 | |
| 0:33      Test condition and select (void)
 | |
| 0:33        Condition
 | |
| 0:33        Compare Greater Than (bool)
 | |
| 0:33          i: direct index for structure (int)
 | |
| 0:33            s2_1: direct index for structure (structure{i,f,s1_1})
 | |
| 0:33              'foo3' (uniform structure{s2_1,i,f,s1_1})
 | |
| 0:33              Constant:
 | |
| 0:33                0 (const int)
 | |
| 0:33            Constant:
 | |
| 0:33              0 (const int)
 | |
| 0:33          Constant:
 | |
| 0:33            0 (const int)
 | |
| 0:33        true case
 | |
| 0:34        move second child to first child (structure{i,f,s1_1})
 | |
| 0:34          'locals2' (structure{i,f,s1_1})
 | |
| 0:34          s2_1: direct index for structure (structure{i,f,s1_1})
 | |
| 0:34            'foo3' (uniform structure{s2_1,i,f,s1_1})
 | |
| 0:34            Constant:
 | |
| 0:34              0 (const int)
 | |
| 0:33        false case
 | |
| 0:36        move second child to first child (structure{i,f,s1_1})
 | |
| 0:36          'locals2' (structure{i,f,s1_1})
 | |
| 0:36          'foo2' (uniform structure{i,f,s1_1})
 | |
| 0:38      move second child to first child (4-component vector of float)
 | |
| 0:38        'gl_FragColor' (fragColor 4-component vector of float)
 | |
| 0:38        vector-scale (4-component vector of float)
 | |
| 0:38          f: direct index for structure (float)
 | |
| 0:38            s1_1: direct index for structure (structure{i,f})
 | |
| 0:38              'locals2' (structure{i,f,s1_1})
 | |
| 0:38              Constant:
 | |
| 0:38                2 (const int)
 | |
| 0:38            Constant:
 | |
| 0:38              1 (const int)
 | |
| 0:38          Function Call: texture2D(s21;vf2; (4-component vector of float)
 | |
| 0:38            'sampler' (uniform sampler2D)
 | |
| 0:38            'coord' (smooth in 2-component vector of float)
 | |
| 0:?   Linker Objects
 | |
| 0:?     'sampler' (uniform sampler2D)
 | |
| 0:?     'coord' (smooth in 2-component vector of float)
 | |
| 0:?     'foo' (uniform structure{i,f})
 | |
| 0:?     'foo2' (uniform structure{i,f,s1_1})
 | |
| 0:?     'foo3' (uniform structure{s2_1,i,f,s1_1})
 | |
| 
 | |
| 
 | |
| Linked fragment stage:
 | |
| 
 | |
| 
 | |
| 
 |