1hlsl.frag 2Shader version: 450 3gl_FragCoord origin is upper left 40:? Sequence 50:1 move second child to first child (temp 4-component vector of float) 60:1 'AmbientColor' (temp 4-component vector of float) 70:? Constant: 80:? 1.000000 90:? 0.500000 100:? 0.000000 110:? 1.000000 120:2 move second child to first child (temp float) 130:2 'AmbientIntensity' (temp float) 140:2 Constant: 150:2 0.100000 160:13 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 170:5 Function Parameters: 180:5 'input' (in 4-component vector of float) 190:? Sequence 200:6 Branch: Return with expression 210:6 add (temp 4-component vector of float) 220:6 vector-scale (temp 4-component vector of float) 230:6 'input' (in 4-component vector of float) 240:6 'AmbientIntensity' (temp float) 250:6 'AmbientColor' (temp 4-component vector of float) 260:7 Branch: Return with expression 270:7 add (temp 4-component vector of float) 280:7 component-wise multiply (temp 4-component vector of float) 290:7 'input' (in 4-component vector of float) 300:7 'input' (in 4-component vector of float) 310:7 component-wise multiply (temp 4-component vector of float) 320:7 'input' (in 4-component vector of float) 330:7 'input' (in 4-component vector of float) 340:8 Branch: Return with expression 350:8 add (temp 4-component vector of float) 360:8 add (temp 4-component vector of float) 370:8 'input' (in 4-component vector of float) 380:8 component-wise multiply (temp 4-component vector of float) 390:8 'input' (in 4-component vector of float) 400:8 'input' (in 4-component vector of float) 410:8 'input' (in 4-component vector of float) 420:9 Branch: Return with expression 430:9 component-wise multiply (temp 4-component vector of float) 440:9 Pre-Increment (temp 4-component vector of float) 450:9 'input' (in 4-component vector of float) 460:9 Negate value (temp 4-component vector of float) 470:9 Negate value (temp 4-component vector of float) 480:9 Pre-Decrement (temp 4-component vector of float) 490:9 'input' (in 4-component vector of float) 500:10 Branch: Return with expression 510:10 add (temp 4-component vector of float) 520:10 Post-Increment (temp 4-component vector of float) 530:10 'input' (in 4-component vector of float) 540:10 Pre-Increment (temp 4-component vector of float) 550:10 'input' (in 4-component vector of float) 560:11 Branch: Return with expression 570:11 sine (global 4-component vector of float) 580:11 'input' (in 4-component vector of float) 590:? Linker Objects 600:? 'AmbientColor' (temp 4-component vector of float) 610:? 'AmbientIntensity' (temp float) 62 63 64Linked fragment stage: 65 66 67Shader version: 450 68gl_FragCoord origin is upper left 690:? Sequence 700:1 move second child to first child (temp 4-component vector of float) 710:1 'AmbientColor' (temp 4-component vector of float) 720:? Constant: 730:? 1.000000 740:? 0.500000 750:? 0.000000 760:? 1.000000 770:2 move second child to first child (temp float) 780:2 'AmbientIntensity' (temp float) 790:2 Constant: 800:2 0.100000 810:13 Function Definition: PixelShaderFunction(vf4; (temp 4-component vector of float) 820:5 Function Parameters: 830:5 'input' (in 4-component vector of float) 840:? Sequence 850:6 Branch: Return with expression 860:6 add (temp 4-component vector of float) 870:6 vector-scale (temp 4-component vector of float) 880:6 'input' (in 4-component vector of float) 890:6 'AmbientIntensity' (temp float) 900:6 'AmbientColor' (temp 4-component vector of float) 910:7 Branch: Return with expression 920:7 add (temp 4-component vector of float) 930:7 component-wise multiply (temp 4-component vector of float) 940:7 'input' (in 4-component vector of float) 950:7 'input' (in 4-component vector of float) 960:7 component-wise multiply (temp 4-component vector of float) 970:7 'input' (in 4-component vector of float) 980:7 'input' (in 4-component vector of float) 990:8 Branch: Return with expression 1000:8 add (temp 4-component vector of float) 1010:8 add (temp 4-component vector of float) 1020:8 'input' (in 4-component vector of float) 1030:8 component-wise multiply (temp 4-component vector of float) 1040:8 'input' (in 4-component vector of float) 1050:8 'input' (in 4-component vector of float) 1060:8 'input' (in 4-component vector of float) 1070:9 Branch: Return with expression 1080:9 component-wise multiply (temp 4-component vector of float) 1090:9 Pre-Increment (temp 4-component vector of float) 1100:9 'input' (in 4-component vector of float) 1110:9 Negate value (temp 4-component vector of float) 1120:9 Negate value (temp 4-component vector of float) 1130:9 Pre-Decrement (temp 4-component vector of float) 1140:9 'input' (in 4-component vector of float) 1150:10 Branch: Return with expression 1160:10 add (temp 4-component vector of float) 1170:10 Post-Increment (temp 4-component vector of float) 1180:10 'input' (in 4-component vector of float) 1190:10 Pre-Increment (temp 4-component vector of float) 1200:10 'input' (in 4-component vector of float) 1210:11 Branch: Return with expression 1220:11 sine (global 4-component vector of float) 1230:11 'input' (in 4-component vector of float) 1240:? Linker Objects 1250:? 'AmbientColor' (temp 4-component vector of float) 1260:? 'AmbientIntensity' (temp float) 127 128// Module Version 10000 129// Generated by (magic number): 80001 130// Id's are bound by 58 131 132 Capability Shader 133 1: ExtInstImport "GLSL.std.450" 134 MemoryModel Logical GLSL450 135 EntryPoint Fragment 4 "PixelShaderFunction" 9 136 ExecutionMode 4 OriginUpperLeft 137 Source HLSL 450 138 Name 4 "PixelShaderFunction" 139 Name 9 "input" 140 Name 12 "AmbientIntensity" 141 Name 16 "AmbientColor" 142 2: TypeVoid 143 3: TypeFunction 2 144 6: TypeFloat 32 145 7: TypeVector 6(float) 4 146 8: TypePointer Input 7(fvec4) 147 9(input): 8(ptr) Variable Input 148 11: TypePointer Function 6(float) 149 15: TypePointer Function 7(fvec4) 150 37: 6(float) Constant 1065353216 1514(PixelShaderFunction): 2 Function None 3 152 5: Label 15312(AmbientIntensity): 11(ptr) Variable Function 15416(AmbientColor): 15(ptr) Variable Function 155 10: 7(fvec4) Load 9(input) 156 13: 6(float) Load 12(AmbientIntensity) 157 14: 7(fvec4) VectorTimesScalar 10 13 158 17: 7(fvec4) Load 16(AmbientColor) 159 18: 7(fvec4) FAdd 14 17 160 ReturnValue 18 161 FunctionEnd 162