hlsl.nonstaticMemberFunction.frag Shader version: 450 gl_FragCoord origin is upper left 0:? Sequence 0:5 Function Definition: Test::memFun(vf4; ( temp 4-component vector of float) 0:5 Function Parameters: 0:5 'this' ( temp structure{ temp 4-component vector of float memVar, temp int i}) 0:5 'a' ( in 4-component vector of float) 0:? Sequence 0:6 Branch: Return with expression 0:6 vector-scale ( temp 4-component vector of float) 0:6 Constant: 0:6 2.000000 0:6 'a' ( in 4-component vector of float) 0:9 Function Definition: Test::memFun(i1; ( temp int) 0:9 Function Parameters: 0:9 'this' ( temp structure{ temp 4-component vector of float memVar, temp int i}) 0:9 'a' ( in int) 0:? Sequence 0:10 Branch: Return with expression 0:10 add ( temp int) 0:10 Constant: 0:10 2 (const int) 0:10 'a' ( in int) 0:16 Function Definition: @main( ( temp 4-component vector of float) 0:16 Function Parameters: 0:? Sequence 0:18 Sequence 0:18 move second child to first child ( temp 4-component vector of float) 0:18 'f4' ( temp 4-component vector of float) 0:? Constant: 0:? 1.000000 0:? 1.000000 0:? 1.000000 0:? 1.000000 0:19 add second child into first child ( temp 4-component vector of float) 0:19 'f4' ( temp 4-component vector of float) 0:19 Function Call: Test::memFun(vf4; ( temp 4-component vector of float) 0:19 'test' ( temp structure{ temp 4-component vector of float memVar, temp int i}) 0:? Constant: 0:? 5.000000 0:? 5.000000 0:? 5.000000 0:? 5.000000 0:20 add second child into first child ( temp 4-component vector of float) 0:20 'f4' ( temp 4-component vector of float) 0:20 Convert int to float ( temp float) 0:20 Function Call: Test::memFun(i1; ( temp int) 0:20 'test' ( temp structure{ temp 4-component vector of float memVar, temp int i}) 0:20 Constant: 0:20 7 (const int) 0:21 Branch: Return with expression 0:21 'f4' ( temp 4-component vector of float) 0:16 Function Definition: main( ( temp void) 0:16 Function Parameters: 0:? Sequence 0:16 move second child to first child ( temp 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:16 Function Call: @main( ( temp 4-component vector of float) 0:? Linker Objects 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) Linked fragment stage: Shader version: 450 gl_FragCoord origin is upper left 0:? Sequence 0:5 Function Definition: Test::memFun(vf4; ( temp 4-component vector of float) 0:5 Function Parameters: 0:5 'this' ( temp structure{ temp 4-component vector of float memVar, temp int i}) 0:5 'a' ( in 4-component vector of float) 0:? Sequence 0:6 Branch: Return with expression 0:6 vector-scale ( temp 4-component vector of float) 0:6 Constant: 0:6 2.000000 0:6 'a' ( in 4-component vector of float) 0:9 Function Definition: Test::memFun(i1; ( temp int) 0:9 Function Parameters: 0:9 'this' ( temp structure{ temp 4-component vector of float memVar, temp int i}) 0:9 'a' ( in int) 0:? Sequence 0:10 Branch: Return with expression 0:10 add ( temp int) 0:10 Constant: 0:10 2 (const int) 0:10 'a' ( in int) 0:16 Function Definition: @main( ( temp 4-component vector of float) 0:16 Function Parameters: 0:? Sequence 0:18 Sequence 0:18 move second child to first child ( temp 4-component vector of float) 0:18 'f4' ( temp 4-component vector of float) 0:? Constant: 0:? 1.000000 0:? 1.000000 0:? 1.000000 0:? 1.000000 0:19 add second child into first child ( temp 4-component vector of float) 0:19 'f4' ( temp 4-component vector of float) 0:19 Function Call: Test::memFun(vf4; ( temp 4-component vector of float) 0:19 'test' ( temp structure{ temp 4-component vector of float memVar, temp int i}) 0:? Constant: 0:? 5.000000 0:? 5.000000 0:? 5.000000 0:? 5.000000 0:20 add second child into first child ( temp 4-component vector of float) 0:20 'f4' ( temp 4-component vector of float) 0:20 Convert int to float ( temp float) 0:20 Function Call: Test::memFun(i1; ( temp int) 0:20 'test' ( temp structure{ temp 4-component vector of float memVar, temp int i}) 0:20 Constant: 0:20 7 (const int) 0:21 Branch: Return with expression 0:21 'f4' ( temp 4-component vector of float) 0:16 Function Definition: main( ( temp void) 0:16 Function Parameters: 0:? Sequence 0:16 move second child to first child ( temp 4-component vector of float) 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 0:16 Function Call: @main( ( temp 4-component vector of float) 0:? Linker Objects 0:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) // Module Version 10000 // Generated by (magic number): 80001 // Id's are bound by 61 Capability Shader 1: ExtInstImport "GLSL.std.450" MemoryModel Logical GLSL450 EntryPoint Fragment 4 "main" 59 ExecutionMode 4 OriginUpperLeft Name 4 "main" Name 9 "Test" MemberName 9(Test) 0 "memVar" MemberName 9(Test) 1 "i" Name 15 "Test::memFun(vf4;" Name 13 "this" Name 14 "a" Name 21 "Test::memFun(i1;" Name 19 "this" Name 20 "a" Name 24 "@main(" Name 36 "f4" Name 39 "test" Name 42 "param" Name 43 "param" Name 48 "param" Name 49 "param" Name 59 "@entryPointOutput" Decorate 59(@entryPointOutput) Location 0 2: TypeVoid 3: TypeFunction 2 6: TypeFloat 32 7: TypeVector 6(float) 4 8: TypeInt 32 1 9(Test): TypeStruct 7(fvec4) 8(int) 10: TypePointer Function 9(Test) 11: TypePointer Function 7(fvec4) 12: TypeFunction 7(fvec4) 10(ptr) 11(ptr) 17: TypePointer Function 8(int) 18: TypeFunction 8(int) 10(ptr) 17(ptr) 23: TypeFunction 7(fvec4) 26: 6(float) Constant 1073741824 31: 8(int) Constant 2 37: 6(float) Constant 1065353216 38: 7(fvec4) ConstantComposite 37 37 37 37 40: 6(float) Constant 1084227584 41: 7(fvec4) ConstantComposite 40 40 40 40 47: 8(int) Constant 7 58: TypePointer Output 7(fvec4) 59(@entryPointOutput): 58(ptr) Variable Output 4(main): 2 Function None 3 5: Label 60: 7(fvec4) FunctionCall 24(@main() Store 59(@entryPointOutput) 60 Return FunctionEnd 15(Test::memFun(vf4;): 7(fvec4) Function None 12 13(this): 10(ptr) FunctionParameter 14(a): 11(ptr) FunctionParameter 16: Label 27: 7(fvec4) Load 14(a) 28: 7(fvec4) VectorTimesScalar 27 26 ReturnValue 28 FunctionEnd 21(Test::memFun(i1;): 8(int) Function None 18 19(this): 10(ptr) FunctionParameter 20(a): 17(ptr) FunctionParameter 22: Label 32: 8(int) Load 20(a) 33: 8(int) IAdd 31 32 ReturnValue 33 FunctionEnd 24(@main(): 7(fvec4) Function None 23 25: Label 36(f4): 11(ptr) Variable Function 39(test): 10(ptr) Variable Function 42(param): 10(ptr) Variable Function 43(param): 11(ptr) Variable Function 48(param): 10(ptr) Variable Function 49(param): 17(ptr) Variable Function Store 36(f4) 38 Store 43(param) 41 44: 7(fvec4) FunctionCall 15(Test::memFun(vf4;) 42(param) 43(param) 45: 7(fvec4) Load 36(f4) 46: 7(fvec4) FAdd 45 44 Store 36(f4) 46 Store 49(param) 47 50: 8(int) FunctionCall 21(Test::memFun(i1;) 48(param) 49(param) 51: 6(float) ConvertSToF 50 52: 7(fvec4) Load 36(f4) 53: 7(fvec4) CompositeConstruct 51 51 51 51 54: 7(fvec4) FAdd 52 53 Store 36(f4) 54 55: 7(fvec4) Load 36(f4) ReturnValue 55 FunctionEnd