blob: dcc493d7d3b3886ed48b815b953842f1f843a4e7 [file] [log] [blame]
steve-lunargefe97242016-08-22 16:13:47 -06001hlsl.stringtoken.frag
John Kessenich6fa17642017-04-07 15:33:08 -06002Shader version: 500
steve-lunargefe97242016-08-22 16:13:47 -06003gl_FragCoord origin is upper left
40:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060050:16 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
steve-lunargefe97242016-08-22 16:13:47 -060060:16 Function Parameters:
70:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060080:18 move second child to first child ( temp 4-component vector of float)
90:18 Color: direct index for structure ( temp 4-component vector of float)
100:18 'psout' ( temp structure{ temp 4-component vector of float Color})
steve-lunargefe97242016-08-22 16:13:47 -0600110:18 Constant:
120:18 0 (const int)
130:? Constant:
140:? 0.000000
150:? 0.000000
160:? 0.000000
170:? 1.000000
John Kessenich02467d82017-01-19 15:41:47 -0700180:19 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600190:19 'psout' ( temp structure{ temp 4-component vector of float Color})
200:16 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700210:16 Function Parameters:
220:? Sequence
230:16 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600240:16 move second child to first child ( temp 4-component vector of float)
John Kesseniche516d432017-08-09 14:29:29 -0600250:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
John Kessenich71c100d2017-03-14 19:43:13 -0600260:16 Color: direct index for structure ( temp 4-component vector of float)
270:16 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
John Kessenich02467d82017-01-19 15:41:47 -0700280:16 Constant:
290:16 0 (const int)
steve-lunargefe97242016-08-22 16:13:47 -0600300:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -0600310:? 'TestTexture' ( uniform texture2D)
John Kessenich000c8182017-03-22 23:21:34 -0600320:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float TestUF})
John Kesseniche516d432017-08-09 14:29:29 -0600330:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
steve-lunargefe97242016-08-22 16:13:47 -060034
35
36Linked fragment stage:
37
38
John Kessenich6fa17642017-04-07 15:33:08 -060039Shader version: 500
steve-lunargefe97242016-08-22 16:13:47 -060040gl_FragCoord origin is upper left
410:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600420:16 Function Definition: @main( ( temp structure{ temp 4-component vector of float Color})
steve-lunargefe97242016-08-22 16:13:47 -0600430:16 Function Parameters:
440:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600450:18 move second child to first child ( temp 4-component vector of float)
460:18 Color: direct index for structure ( temp 4-component vector of float)
470:18 'psout' ( temp structure{ temp 4-component vector of float Color})
steve-lunargefe97242016-08-22 16:13:47 -0600480:18 Constant:
490:18 0 (const int)
500:? Constant:
510:? 0.000000
520:? 0.000000
530:? 0.000000
540:? 1.000000
John Kessenich02467d82017-01-19 15:41:47 -0700550:19 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600560:19 'psout' ( temp structure{ temp 4-component vector of float Color})
570:16 Function Definition: main( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700580:16 Function Parameters:
590:? Sequence
600:16 Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600610:16 move second child to first child ( temp 4-component vector of float)
John Kesseniche516d432017-08-09 14:29:29 -0600620:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
John Kessenich71c100d2017-03-14 19:43:13 -0600630:16 Color: direct index for structure ( temp 4-component vector of float)
640:16 Function Call: @main( ( temp structure{ temp 4-component vector of float Color})
John Kessenich02467d82017-01-19 15:41:47 -0700650:16 Constant:
660:16 0 (const int)
steve-lunargefe97242016-08-22 16:13:47 -0600670:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -0600680:? 'TestTexture' ( uniform texture2D)
John Kessenich000c8182017-03-22 23:21:34 -0600690:? 'anon@0' (layout( row_major std140) uniform block{ uniform 4-component vector of float TestUF})
John Kesseniche516d432017-08-09 14:29:29 -0600700:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float)
steve-lunargefe97242016-08-22 16:13:47 -060071
72// Module Version 10000
John Kessenich07ed11f2017-10-07 11:33:11 -060073// Generated by (magic number): 80002
John Kessenich02467d82017-01-19 15:41:47 -070074// Id's are bound by 34
steve-lunargefe97242016-08-22 16:13:47 -060075
76 Capability Shader
77 1: ExtInstImport "GLSL.std.450"
78 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -070079 EntryPoint Fragment 4 "main" 25
steve-lunargefe97242016-08-22 16:13:47 -060080 ExecutionMode 4 OriginUpperLeft
John Kessenich6fa17642017-04-07 15:33:08 -060081 Source HLSL 500
steve-lunargefe97242016-08-22 16:13:47 -060082 Name 4 "main"
83 Name 8 "PS_OUTPUT"
84 MemberName 8(PS_OUTPUT) 0 "Color"
John Kessenich02467d82017-01-19 15:41:47 -070085 Name 10 "@main("
86 Name 13 "psout"
John Kesseniche516d432017-08-09 14:29:29 -060087 Name 25 "@entryPointOutput.Color"
John Kessenich02467d82017-01-19 15:41:47 -070088 Name 30 "TestTexture"
89 Name 31 "$Global"
90 MemberName 31($Global) 0 "TestUF"
91 Name 33 ""
John Kesseniche516d432017-08-09 14:29:29 -060092 Decorate 25(@entryPointOutput.Color) Location 0
John Kessenich02467d82017-01-19 15:41:47 -070093 Decorate 30(TestTexture) DescriptorSet 0
94 MemberDecorate 31($Global) 0 Offset 0
95 Decorate 31($Global) Block
96 Decorate 33 DescriptorSet 0
steve-lunargefe97242016-08-22 16:13:47 -060097 2: TypeVoid
98 3: TypeFunction 2
99 6: TypeFloat 32
100 7: TypeVector 6(float) 4
101 8(PS_OUTPUT): TypeStruct 7(fvec4)
John Kessenich02467d82017-01-19 15:41:47 -0700102 9: TypeFunction 8(PS_OUTPUT)
103 12: TypePointer Function 8(PS_OUTPUT)
104 14: TypeInt 32 1
105 15: 14(int) Constant 0
106 16: 6(float) Constant 0
107 17: 6(float) Constant 1065353216
108 18: 7(fvec4) ConstantComposite 16 16 16 17
109 19: TypePointer Function 7(fvec4)
110 24: TypePointer Output 7(fvec4)
John Kesseniche516d432017-08-09 14:29:29 -060011125(@entryPointOutput.Color): 24(ptr) Variable Output
John Kessenich02467d82017-01-19 15:41:47 -0700112 28: TypeImage 6(float) 2D sampled format:Unknown
113 29: TypePointer UniformConstant 28
114 30(TestTexture): 29(ptr) Variable UniformConstant
115 31($Global): TypeStruct 7(fvec4)
116 32: TypePointer Uniform 31($Global)
117 33: 32(ptr) Variable Uniform
steve-lunargefe97242016-08-22 16:13:47 -0600118 4(main): 2 Function None 3
119 5: Label
John Kessenich02467d82017-01-19 15:41:47 -0700120 26:8(PS_OUTPUT) FunctionCall 10(@main()
121 27: 7(fvec4) CompositeExtract 26 0
John Kesseniche516d432017-08-09 14:29:29 -0600122 Store 25(@entryPointOutput.Color) 27
John Kessenich6a70eb72016-08-28 15:00:23 -0600123 Return
steve-lunargefe97242016-08-22 16:13:47 -0600124 FunctionEnd
John Kessenich02467d82017-01-19 15:41:47 -0700125 10(@main():8(PS_OUTPUT) Function None 9
126 11: Label
127 13(psout): 12(ptr) Variable Function
128 20: 19(ptr) AccessChain 13(psout) 15
129 Store 20 18
130 21:8(PS_OUTPUT) Load 13(psout)
131 ReturnValue 21
132 FunctionEnd