1hlsl.multiView.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:3 Function Definition: @main(u1; ( temp 4-component vector of float) 60:3 Function Parameters: 70:3 'ViewIndex' ( in uint) 80:? Sequence 90:4 Branch: Return with expression 100:4 Construct vec4 ( temp 4-component vector of float) 110:4 Convert uint to float ( temp float) 120:4 'ViewIndex' ( in uint) 130:4 Constant: 140:4 0.000000 150:4 Constant: 160:4 0.000000 170:4 Constant: 180:4 0.000000 190:3 Function Definition: main( ( temp void) 200:3 Function Parameters: 210:? Sequence 220:3 move second child to first child ( temp uint) 230:? 'ViewIndex' ( temp uint) 240:? 'ViewIndex' ( flat in uint ViewIndex) 250:3 move second child to first child ( temp 4-component vector of float) 260:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 270:3 Function Call: @main(u1; ( temp 4-component vector of float) 280:? 'ViewIndex' ( temp uint) 290:? Linker Objects 300:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 310:? 'ViewIndex' ( flat in uint ViewIndex) 32 33 34Linked fragment stage: 35 36 37Shader version: 500 38gl_FragCoord origin is upper left 390:? Sequence 400:3 Function Definition: @main(u1; ( temp 4-component vector of float) 410:3 Function Parameters: 420:3 'ViewIndex' ( in uint) 430:? Sequence 440:4 Branch: Return with expression 450:4 Construct vec4 ( temp 4-component vector of float) 460:4 Convert uint to float ( temp float) 470:4 'ViewIndex' ( in uint) 480:4 Constant: 490:4 0.000000 500:4 Constant: 510:4 0.000000 520:4 Constant: 530:4 0.000000 540:3 Function Definition: main( ( temp void) 550:3 Function Parameters: 560:? Sequence 570:3 move second child to first child ( temp uint) 580:? 'ViewIndex' ( temp uint) 590:? 'ViewIndex' ( flat in uint ViewIndex) 600:3 move second child to first child ( temp 4-component vector of float) 610:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 620:3 Function Call: @main(u1; ( temp 4-component vector of float) 630:? 'ViewIndex' ( temp uint) 640:? Linker Objects 650:? '@entryPointOutput' (layout( location=0) out 4-component vector of float) 660:? 'ViewIndex' ( flat in uint ViewIndex) 67 68// Module Version 10000 69// Generated by (magic number): 8000b 70// Id's are bound by 29 71 72 Capability Shader 73 Capability MultiView 74 Extension "SPV_KHR_multiview" 75 1: ExtInstImport "GLSL.std.450" 76 MemoryModel Logical GLSL450 77 EntryPoint Fragment 4 "main" 22 25 78 ExecutionMode 4 OriginUpperLeft 79 Source HLSL 500 80 Name 4 "main" 81 Name 12 "@main(u1;" 82 Name 11 "ViewIndex" 83 Name 20 "ViewIndex" 84 Name 22 "ViewIndex" 85 Name 25 "@entryPointOutput" 86 Name 26 "param" 87 Decorate 22(ViewIndex) BuiltIn ViewIndex 88 Decorate 22(ViewIndex) Flat 89 Decorate 25(@entryPointOutput) Location 0 90 2: TypeVoid 91 3: TypeFunction 2 92 6: TypeInt 32 0 93 7: TypePointer Function 6(int) 94 8: TypeFloat 32 95 9: TypeVector 8(float) 4 96 10: TypeFunction 9(fvec4) 7(ptr) 97 16: 8(float) Constant 0 98 21: TypePointer Input 6(int) 99 22(ViewIndex): 21(ptr) Variable Input 100 24: TypePointer Output 9(fvec4) 10125(@entryPointOutput): 24(ptr) Variable Output 102 4(main): 2 Function None 3 103 5: Label 104 20(ViewIndex): 7(ptr) Variable Function 105 26(param): 7(ptr) Variable Function 106 23: 6(int) Load 22(ViewIndex) 107 Store 20(ViewIndex) 23 108 27: 6(int) Load 20(ViewIndex) 109 Store 26(param) 27 110 28: 9(fvec4) FunctionCall 12(@main(u1;) 26(param) 111 Store 25(@entryPointOutput) 28 112 Return 113 FunctionEnd 114 12(@main(u1;): 9(fvec4) Function None 10 115 11(ViewIndex): 7(ptr) FunctionParameter 116 13: Label 117 14: 6(int) Load 11(ViewIndex) 118 15: 8(float) ConvertUToF 14 119 17: 9(fvec4) CompositeConstruct 15 16 16 16 120 ReturnValue 17 121 FunctionEnd 122