152 lines
		
	
	
		
			7.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			152 lines
		
	
	
		
			7.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| hlsl.synthesizeInput.frag
 | |
| Shader version: 500
 | |
| gl_FragCoord origin is upper left
 | |
| 0:? Sequence
 | |
| 0:7  Function Definition: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
 | |
| 0:7    Function Parameters: 
 | |
| 0:7      'input' ( in structure{ temp float interp,  temp uint no_interp})
 | |
| 0:?     Sequence
 | |
| 0:8      Branch: Return with expression
 | |
| 0:?         Construct vec4 ( temp 4-component vector of float)
 | |
| 0:8          Convert uint to float ( temp float)
 | |
| 0:8            no_interp: direct index for structure ( temp uint)
 | |
| 0:8              'input' ( in structure{ temp float interp,  temp uint no_interp})
 | |
| 0:8              Constant:
 | |
| 0:8                1 (const int)
 | |
| 0:8          interp: direct index for structure ( temp float)
 | |
| 0:8            'input' ( in structure{ temp float interp,  temp uint no_interp})
 | |
| 0:8            Constant:
 | |
| 0:8              0 (const int)
 | |
| 0:8          Constant:
 | |
| 0:8            0.000000
 | |
| 0:8          Constant:
 | |
| 0:8            1.000000
 | |
| 0:7  Function Definition: main( ( temp void)
 | |
| 0:7    Function Parameters: 
 | |
| 0:?     Sequence
 | |
| 0:7      move second child to first child ( temp structure{ temp float interp,  temp uint no_interp})
 | |
| 0:?         'input' ( temp structure{ temp float interp,  temp uint no_interp})
 | |
| 0:?         'input' (layout( location=0) in structure{ temp float interp,  flat temp uint no_interp})
 | |
| 0:7      move second child to first child ( temp 4-component vector of float)
 | |
| 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
 | |
| 0:7        Function Call: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
 | |
| 0:?           'input' ( temp structure{ temp float interp,  temp uint no_interp})
 | |
| 0:?   Linker Objects
 | |
| 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
 | |
| 0:?     'input' (layout( location=0) in structure{ temp float interp,  flat temp uint no_interp})
 | |
| 
 | |
| 
 | |
| Linked fragment stage:
 | |
| 
 | |
| 
 | |
| Shader version: 500
 | |
| gl_FragCoord origin is upper left
 | |
| 0:? Sequence
 | |
| 0:7  Function Definition: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
 | |
| 0:7    Function Parameters: 
 | |
| 0:7      'input' ( in structure{ temp float interp,  temp uint no_interp})
 | |
| 0:?     Sequence
 | |
| 0:8      Branch: Return with expression
 | |
| 0:?         Construct vec4 ( temp 4-component vector of float)
 | |
| 0:8          Convert uint to float ( temp float)
 | |
| 0:8            no_interp: direct index for structure ( temp uint)
 | |
| 0:8              'input' ( in structure{ temp float interp,  temp uint no_interp})
 | |
| 0:8              Constant:
 | |
| 0:8                1 (const int)
 | |
| 0:8          interp: direct index for structure ( temp float)
 | |
| 0:8            'input' ( in structure{ temp float interp,  temp uint no_interp})
 | |
| 0:8            Constant:
 | |
| 0:8              0 (const int)
 | |
| 0:8          Constant:
 | |
| 0:8            0.000000
 | |
| 0:8          Constant:
 | |
| 0:8            1.000000
 | |
| 0:7  Function Definition: main( ( temp void)
 | |
| 0:7    Function Parameters: 
 | |
| 0:?     Sequence
 | |
| 0:7      move second child to first child ( temp structure{ temp float interp,  temp uint no_interp})
 | |
| 0:?         'input' ( temp structure{ temp float interp,  temp uint no_interp})
 | |
| 0:?         'input' (layout( location=0) in structure{ temp float interp,  flat temp uint no_interp})
 | |
| 0:7      move second child to first child ( temp 4-component vector of float)
 | |
| 0:?         '@entryPointOutput' (layout( location=0) out 4-component vector of float)
 | |
| 0:7        Function Call: @main(struct-PSInput-f1-u11; ( temp 4-component vector of float)
 | |
| 0:?           'input' ( temp structure{ temp float interp,  temp uint no_interp})
 | |
| 0:?   Linker Objects
 | |
| 0:?     '@entryPointOutput' (layout( location=0) out 4-component vector of float)
 | |
| 0:?     'input' (layout( location=0) in structure{ temp float interp,  flat temp uint no_interp})
 | |
| 
 | |
| // Module Version 10000
 | |
| // Generated by (magic number): 80001
 | |
| // Id's are bound by 44
 | |
| 
 | |
|                               Capability Shader
 | |
|                1:             ExtInstImport  "GLSL.std.450"
 | |
|                               MemoryModel Logical GLSL450
 | |
|                               EntryPoint Fragment 4  "main" 33 40
 | |
|                               ExecutionMode 4 OriginUpperLeft
 | |
|                               Source HLSL 500
 | |
|                               Name 4  "main"
 | |
|                               Name 8  "PSInput"
 | |
|                               MemberName 8(PSInput) 0  "interp"
 | |
|                               MemberName 8(PSInput) 1  "no_interp"
 | |
|                               Name 13  "@main(struct-PSInput-f1-u11;"
 | |
|                               Name 12  "input"
 | |
|                               Name 30  "input"
 | |
|                               Name 31  "PSInput"
 | |
|                               MemberName 31(PSInput) 0  "interp"
 | |
|                               MemberName 31(PSInput) 1  "no_interp"
 | |
|                               Name 33  "input"
 | |
|                               Name 40  "@entryPointOutput"
 | |
|                               Name 41  "param"
 | |
|                               MemberDecorate 31(PSInput) 1 Flat
 | |
|                               Decorate 33(input) Location 0
 | |
|                               Decorate 40(@entryPointOutput) Location 0
 | |
|                2:             TypeVoid
 | |
|                3:             TypeFunction 2
 | |
|                6:             TypeFloat 32
 | |
|                7:             TypeInt 32 0
 | |
|       8(PSInput):             TypeStruct 6(float) 7(int)
 | |
|                9:             TypePointer Function 8(PSInput)
 | |
|               10:             TypeVector 6(float) 4
 | |
|               11:             TypeFunction 10(fvec4) 9(ptr)
 | |
|               15:             TypeInt 32 1
 | |
|               16:     15(int) Constant 1
 | |
|               17:             TypePointer Function 7(int)
 | |
|               21:     15(int) Constant 0
 | |
|               22:             TypePointer Function 6(float)
 | |
|               25:    6(float) Constant 0
 | |
|               26:    6(float) Constant 1065353216
 | |
|      31(PSInput):             TypeStruct 6(float) 7(int)
 | |
|               32:             TypePointer Input 31(PSInput)
 | |
|        33(input):     32(ptr) Variable Input
 | |
|               39:             TypePointer Output 10(fvec4)
 | |
| 40(@entryPointOutput):     39(ptr) Variable Output
 | |
|          4(main):           2 Function None 3
 | |
|                5:             Label
 | |
|        30(input):      9(ptr) Variable Function
 | |
|        41(param):      9(ptr) Variable Function
 | |
|               34: 31(PSInput) Load 33(input)
 | |
|               35:    6(float) CompositeExtract 34 0
 | |
|               36:     22(ptr) AccessChain 30(input) 21
 | |
|                               Store 36 35
 | |
|               37:      7(int) CompositeExtract 34 1
 | |
|               38:     17(ptr) AccessChain 30(input) 16
 | |
|                               Store 38 37
 | |
|               42:  8(PSInput) Load 30(input)
 | |
|                               Store 41(param) 42
 | |
|               43:   10(fvec4) FunctionCall 13(@main(struct-PSInput-f1-u11;) 41(param)
 | |
|                               Store 40(@entryPointOutput) 43
 | |
|                               Return
 | |
|                               FunctionEnd
 | |
| 13(@main(struct-PSInput-f1-u11;):   10(fvec4) Function None 11
 | |
|        12(input):      9(ptr) FunctionParameter
 | |
|               14:             Label
 | |
|               18:     17(ptr) AccessChain 12(input) 16
 | |
|               19:      7(int) Load 18
 | |
|               20:    6(float) ConvertUToF 19
 | |
|               23:     22(ptr) AccessChain 12(input) 21
 | |
|               24:    6(float) Load 23
 | |
|               27:   10(fvec4) CompositeConstruct 20 24 25 26
 | |
|                               ReturnValue 27
 | |
|                               FunctionEnd
 | 
