 6626cadbad
			
		
	
	
		6626cadbad
		
	
	
	
	
		
			
			git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@31531 e7fa87d3-cd2b-0410-9028-fcbf551c1848
		
			
				
	
	
		
			97 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			97 lines
		
	
	
		
			4.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| spv.structAssignment.frag
 | |
| WARNING: 0:4: varying deprecated in version 130; may be removed in future release
 | |
| 
 | |
| 
 | |
| Linked fragment stage:
 | |
| 
 | |
| 
 | |
| // Module Version 99
 | |
| // Generated by (magic number): 51a00bb
 | |
| // Id's are bound by 50
 | |
| 
 | |
|                               Source GLSL 130
 | |
|                1:             ExtInstImport  "GLSL.std.450"
 | |
|                               MemoryModel Logical GLSL450
 | |
|                               EntryPoint Fragment 4
 | |
|                               Name 4  "main"
 | |
|                               Name 9  "lunarStruct1"
 | |
|                               MemberName 9(lunarStruct1) 0  "i"
 | |
|                               MemberName 9(lunarStruct1) 1  "f"
 | |
|                               Name 10  "lunarStruct2"
 | |
|                               MemberName 10(lunarStruct2) 0  "i"
 | |
|                               MemberName 10(lunarStruct2) 1  "f"
 | |
|                               MemberName 10(lunarStruct2) 2  "s1_1"
 | |
|                               Name 11  "lunarStruct3"
 | |
|                               MemberName 11(lunarStruct3) 0  "s2_1"
 | |
|                               MemberName 11(lunarStruct3) 1  "i"
 | |
|                               MemberName 11(lunarStruct3) 2  "f"
 | |
|                               MemberName 11(lunarStruct3) 3  "s1_1"
 | |
|                               Name 13  "foo3"
 | |
|                               Name 23  "locals2"
 | |
|                               Name 28  "foo2"
 | |
|                               Name 32  "gl_FragColor"
 | |
|                               Name 40  "sampler"
 | |
|                               Name 44  "coord"
 | |
|                               Name 49  "foo"
 | |
|                               Decorate 32(gl_FragColor) BuiltIn FragColor
 | |
|                               Decorate 44(coord) Smooth 
 | |
|                               Decorate 49(foo) NoStaticUse 
 | |
|                2:             TypeVoid
 | |
|                3:             TypeFunction 2 
 | |
|                7:             TypeInt 32 1
 | |
|                8:             TypeFloat 32
 | |
|  9(lunarStruct1):             TypeStruct 7(int) 8(float)
 | |
| 10(lunarStruct2):             TypeStruct 7(int) 8(float) 9(lunarStruct1)
 | |
| 11(lunarStruct3):             TypeStruct 10(lunarStruct2) 7(int) 8(float) 9(lunarStruct1)
 | |
|               12:             TypePointer UniformConstant 11(lunarStruct3)
 | |
|         13(foo3):     12(ptr) Variable UniformConstant 
 | |
|               14:      7(int) Constant 0
 | |
|               15:             TypePointer UniformConstant 7(int)
 | |
|               18:             TypeBool
 | |
|               22:             TypePointer Function 10(lunarStruct2)
 | |
|               24:             TypePointer UniformConstant 10(lunarStruct2)
 | |
|         28(foo2):     24(ptr) Variable UniformConstant 
 | |
|               30:             TypeVector 8(float) 4
 | |
|               31:             TypePointer Output 30(fvec4)
 | |
| 32(gl_FragColor):     31(ptr) Variable Output 
 | |
|               33:      7(int) Constant 2
 | |
|               34:      7(int) Constant 1
 | |
|               35:             TypePointer Function 8(float)
 | |
|               38:             TypeSampler8(float) 2D filter+texture
 | |
|               39:             TypePointer UniformConstant 38
 | |
|      40(sampler):     39(ptr) Variable UniformConstant 
 | |
|               42:             TypeVector 8(float) 2
 | |
|               43:             TypePointer Input 42(fvec2)
 | |
|        44(coord):     43(ptr) Variable Input 
 | |
|               48:             TypePointer UniformConstant 9(lunarStruct1)
 | |
|          49(foo):     48(ptr) Variable UniformConstant 
 | |
|          4(main):           2 Function None 3
 | |
|                5:             Label
 | |
|      23(locals2):     22(ptr) Variable Function 
 | |
|               16:     15(ptr) AccessChain 13(foo3) 14 14
 | |
|               17:      7(int) Load 16 
 | |
|               19:    18(bool) SGreaterThan 17 14
 | |
|                               SelectionMerge 21 None
 | |
|                               BranchConditional 19 20 27 
 | |
|               20:               Label
 | |
|               25:     24(ptr)   AccessChain 13(foo3) 14
 | |
|               26:10(lunarStruct2)   Load 25 
 | |
|                                 Store 23(locals2) 26 
 | |
|                                 Branch 21
 | |
|               27:               Label
 | |
|               29:10(lunarStruct2)   Load 28(foo2) 
 | |
|                                 Store 23(locals2) 29 
 | |
|                                 Branch 21
 | |
|               21:             Label
 | |
|               36:     35(ptr) AccessChain 23(locals2) 33 34
 | |
|               37:    8(float) Load 36 
 | |
|               41:          38 Load 40(sampler) 
 | |
|               45:   42(fvec2) Load 44(coord) 
 | |
|               46:   30(fvec4) TextureSample 41 45 
 | |
|               47:   30(fvec4) VectorTimesScalar 46 37
 | |
|                               Store 32(gl_FragColor) 47 
 | |
|                               Branch 6
 | |
|                6:             Label
 | |
|                               Return
 | |
|                               FunctionEnd
 |