1hlsl.entry.rename.frag 2Shader version: 500 3gl_FragCoord origin is upper left 40:? Sequence 50:7 Function Definition: not_the_entry_point( ( temp void) 60:7 Function Parameters: 70:11 Function Definition: @main_in_spv( ( temp structure{ temp 4-component vector of float Color}) 80:11 Function Parameters: 90:? Sequence 100:13 move second child to first child ( temp 4-component vector of float) 110:13 Color: direct index for structure ( temp 4-component vector of float) 120:13 'psout' ( temp structure{ temp 4-component vector of float Color}) 130:13 Constant: 140:13 0 (const int) 150:13 Constant: 160:13 0.000000 170:13 0.000000 180:13 0.000000 190:13 0.000000 200:14 Branch: Return with expression 210:14 'psout' ( temp structure{ temp 4-component vector of float Color}) 220:11 Function Definition: main_in_spv( ( temp void) 230:11 Function Parameters: 240:? Sequence 250:11 Sequence 260:11 move second child to first child ( temp 4-component vector of float) 270:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 280:11 Color: direct index for structure ( temp 4-component vector of float) 290:11 Function Call: @main_in_spv( ( temp structure{ temp 4-component vector of float Color}) 300:11 Constant: 310:11 0 (const int) 320:? Linker Objects 330:? 'anon@0' (layout( row_major std140) uniform block{ uniform int also_not_the_entry_point}) 340:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 35 36 37Linked fragment stage: 38 39 40Shader version: 500 41gl_FragCoord origin is upper left 420:? Sequence 430:7 Function Definition: not_the_entry_point( ( temp void) 440:7 Function Parameters: 450:11 Function Definition: @main_in_spv( ( temp structure{ temp 4-component vector of float Color}) 460:11 Function Parameters: 470:? Sequence 480:13 move second child to first child ( temp 4-component vector of float) 490:13 Color: direct index for structure ( temp 4-component vector of float) 500:13 'psout' ( temp structure{ temp 4-component vector of float Color}) 510:13 Constant: 520:13 0 (const int) 530:13 Constant: 540:13 0.000000 550:13 0.000000 560:13 0.000000 570:13 0.000000 580:14 Branch: Return with expression 590:14 'psout' ( temp structure{ temp 4-component vector of float Color}) 600:11 Function Definition: main_in_spv( ( temp void) 610:11 Function Parameters: 620:? Sequence 630:11 Sequence 640:11 move second child to first child ( temp 4-component vector of float) 650:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 660:11 Color: direct index for structure ( temp 4-component vector of float) 670:11 Function Call: @main_in_spv( ( temp structure{ temp 4-component vector of float Color}) 680:11 Constant: 690:11 0 (const int) 700:? Linker Objects 710:? 'anon@0' (layout( row_major std140) uniform block{ uniform int also_not_the_entry_point}) 720:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 73 74// Module Version 10000 75// Generated by (magic number): 80007 76// Id's are bound by 32 77 78 Capability Shader 79 1: ExtInstImport "GLSL.std.450" 80 MemoryModel Logical GLSL450 81 EntryPoint Fragment 4 "main_in_spv" 26 82 ExecutionMode 4 OriginUpperLeft 83 Source HLSL 500 84 Name 4 "main_in_spv" 85 Name 6 "not_the_entry_point(" 86 Name 10 "PS_OUTPUT" 87 MemberName 10(PS_OUTPUT) 0 "Color" 88 Name 12 "@main_in_spv(" 89 Name 15 "psout" 90 Name 26 "@entryPointOutput.Color" 91 Name 29 "$Global" 92 MemberName 29($Global) 0 "also_not_the_entry_point" 93 Name 31 "" 94 Decorate 26(@entryPointOutput.Color) Location 0 95 MemberDecorate 29($Global) 0 Offset 0 96 Decorate 29($Global) Block 97 Decorate 31 DescriptorSet 0 98 Decorate 31 Binding 0 99 2: TypeVoid 100 3: TypeFunction 2 101 8: TypeFloat 32 102 9: TypeVector 8(float) 4 103 10(PS_OUTPUT): TypeStruct 9(fvec4) 104 11: TypeFunction 10(PS_OUTPUT) 105 14: TypePointer Function 10(PS_OUTPUT) 106 16: TypeInt 32 1 107 17: 16(int) Constant 0 108 18: 8(float) Constant 0 109 19: 9(fvec4) ConstantComposite 18 18 18 18 110 20: TypePointer Function 9(fvec4) 111 25: TypePointer Output 9(fvec4) 11226(@entryPointOutput.Color): 25(ptr) Variable Output 113 29($Global): TypeStruct 16(int) 114 30: TypePointer Uniform 29($Global) 115 31: 30(ptr) Variable Uniform 116 4(main_in_spv): 2 Function None 3 117 5: Label 118 27:10(PS_OUTPUT) FunctionCall 12(@main_in_spv() 119 28: 9(fvec4) CompositeExtract 27 0 120 Store 26(@entryPointOutput.Color) 28 121 Return 122 FunctionEnd 1236(not_the_entry_point(): 2 Function None 3 124 7: Label 125 Return 126 FunctionEnd 12712(@main_in_spv():10(PS_OUTPUT) Function None 11 128 13: Label 129 15(psout): 14(ptr) Variable Function 130 21: 20(ptr) AccessChain 15(psout) 17 131 Store 21 19 132 22:10(PS_OUTPUT) Load 15(psout) 133 ReturnValue 22 134 FunctionEnd 135