blob: d17251dd61dbd7710418c6c4cc6d1f74192e5827 [file] [log] [blame]
John Kessenich1cc1a282016-06-03 16:55:49 -06001hlsl.cast.frag
2Shader version: 450
3gl_FragCoord origin is upper left
40:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -060050:2 Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
John Kessenich1cc1a282016-06-03 16:55:49 -060060:2 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -060070:2 'input' ( in 4-component vector of float)
John Kessenich1cc1a282016-06-03 16:55:49 -060080:? Sequence
John Kessenich02467d82017-01-19 15:41:47 -070090:3 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600100:3 add ( temp 4-component vector of float)
110:3 add ( temp 4-component vector of float)
120:3 Construct vec4 ( temp 4-component vector of float)
130:3 'input' ( in 4-component vector of float)
140:3 Convert int to float ( temp 4-component vector of float)
150:3 Convert float to int ( temp 4-component vector of int)
160:3 'input' ( in 4-component vector of float)
John Kessenich02467d82017-01-19 15:41:47 -0700170:3 Constant:
180:3 1.198000
190:3 1.198000
200:3 1.198000
210:3 1.198000
John Kessenich71c100d2017-03-14 19:43:13 -0600220:2 Function Definition: PixelShaderFunction( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700230:2 Function Parameters:
240:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600250:2 move second child to first child ( temp 4-component vector of float)
260:? 'input' ( temp 4-component vector of float)
270:? 'input' (layout( location=0) in 4-component vector of float)
280:2 move second child to first child ( temp 4-component vector of float)
290:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
300:2 Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
310:? 'input' ( temp 4-component vector of float)
John Kessenich1cc1a282016-06-03 16:55:49 -0600320:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -0600330:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
340:? 'input' (layout( location=0) in 4-component vector of float)
John Kessenich1cc1a282016-06-03 16:55:49 -060035
36
37Linked fragment stage:
38
39
40Shader version: 450
41gl_FragCoord origin is upper left
420:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600430:2 Function Definition: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
John Kessenich1cc1a282016-06-03 16:55:49 -0600440:2 Function Parameters:
John Kessenich71c100d2017-03-14 19:43:13 -0600450:2 'input' ( in 4-component vector of float)
John Kessenich1cc1a282016-06-03 16:55:49 -0600460:? Sequence
John Kessenich02467d82017-01-19 15:41:47 -0700470:3 Branch: Return with expression
John Kessenich71c100d2017-03-14 19:43:13 -0600480:3 add ( temp 4-component vector of float)
490:3 add ( temp 4-component vector of float)
500:3 Construct vec4 ( temp 4-component vector of float)
510:3 'input' ( in 4-component vector of float)
520:3 Convert int to float ( temp 4-component vector of float)
530:3 Convert float to int ( temp 4-component vector of int)
540:3 'input' ( in 4-component vector of float)
John Kessenich02467d82017-01-19 15:41:47 -0700550:3 Constant:
560:3 1.198000
570:3 1.198000
580:3 1.198000
590:3 1.198000
John Kessenich71c100d2017-03-14 19:43:13 -0600600:2 Function Definition: PixelShaderFunction( ( temp void)
John Kessenich02467d82017-01-19 15:41:47 -0700610:2 Function Parameters:
620:? Sequence
John Kessenich71c100d2017-03-14 19:43:13 -0600630:2 move second child to first child ( temp 4-component vector of float)
640:? 'input' ( temp 4-component vector of float)
650:? 'input' (layout( location=0) in 4-component vector of float)
660:2 move second child to first child ( temp 4-component vector of float)
670:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
680:2 Function Call: @PixelShaderFunction(vf4; ( temp 4-component vector of float)
690:? 'input' ( temp 4-component vector of float)
John Kessenich1cc1a282016-06-03 16:55:49 -0600700:? Linker Objects
John Kessenich71c100d2017-03-14 19:43:13 -0600710:? '@entryPointOutput' (layout( location=0) out 4-component vector of float)
720:? 'input' (layout( location=0) in 4-component vector of float)
John Kessenich1cc1a282016-06-03 16:55:49 -060073
74// Module Version 10000
75// Generated by (magic number): 80001
John Kessenich02467d82017-01-19 15:41:47 -070076// Id's are bound by 39
John Kessenich1cc1a282016-06-03 16:55:49 -060077
78 Capability Shader
79 1: ExtInstImport "GLSL.std.450"
80 MemoryModel Logical GLSL450
John Kessenich02467d82017-01-19 15:41:47 -070081 EntryPoint Fragment 4 "PixelShaderFunction" 32 35
John Kessenich1cc1a282016-06-03 16:55:49 -060082 ExecutionMode 4 OriginUpperLeft
John Kessenich1cc1a282016-06-03 16:55:49 -060083 Name 4 "PixelShaderFunction"
John Kessenich02467d82017-01-19 15:41:47 -070084 Name 11 "@PixelShaderFunction(vf4;"
85 Name 10 "input"
86 Name 30 "input"
87 Name 32 "input"
88 Name 35 "@entryPointOutput"
89 Name 36 "param"
90 Decorate 32(input) Location 0
91 Decorate 35(@entryPointOutput) Location 0
John Kessenich1cc1a282016-06-03 16:55:49 -060092 2: TypeVoid
93 3: TypeFunction 2
94 6: TypeFloat 32
95 7: TypeVector 6(float) 4
John Kessenich02467d82017-01-19 15:41:47 -070096 8: TypePointer Function 7(fvec4)
97 9: TypeFunction 7(fvec4) 8(ptr)
98 20: TypeInt 32 1
99 21: TypeVector 20(int) 4
100 25: 6(float) Constant 1067014160
101 26: 7(fvec4) ConstantComposite 25 25 25 25
102 31: TypePointer Input 7(fvec4)
103 32(input): 31(ptr) Variable Input
104 34: TypePointer Output 7(fvec4)
10535(@entryPointOutput): 34(ptr) Variable Output
John Kessenich1cc1a282016-06-03 16:55:49 -06001064(PixelShaderFunction): 2 Function None 3
107 5: Label
John Kessenich02467d82017-01-19 15:41:47 -0700108 30(input): 8(ptr) Variable Function
109 36(param): 8(ptr) Variable Function
110 33: 7(fvec4) Load 32(input)
111 Store 30(input) 33
112 37: 7(fvec4) Load 30(input)
113 Store 36(param) 37
114 38: 7(fvec4) FunctionCall 11(@PixelShaderFunction(vf4;) 36(param)
115 Store 35(@entryPointOutput) 38
John Kessenich6a70eb72016-08-28 15:00:23 -0600116 Return
John Kessenich1cc1a282016-06-03 16:55:49 -0600117 FunctionEnd
John Kessenich02467d82017-01-19 15:41:47 -070011811(@PixelShaderFunction(vf4;): 7(fvec4) Function None 9
119 10(input): 8(ptr) FunctionParameter
120 12: Label
121 13: 7(fvec4) Load 10(input)
122 14: 6(float) CompositeExtract 13 0
123 15: 6(float) CompositeExtract 13 1
124 16: 6(float) CompositeExtract 13 2
125 17: 6(float) CompositeExtract 13 3
126 18: 7(fvec4) CompositeConstruct 14 15 16 17
127 19: 7(fvec4) Load 10(input)
128 22: 21(ivec4) ConvertFToS 19
129 23: 7(fvec4) ConvertSToF 22
130 24: 7(fvec4) FAdd 18 23
131 27: 7(fvec4) FAdd 24 26
132 ReturnValue 27
133 FunctionEnd