1 hlsl.entry.rename.frag 2 Shader version: 500 3 gl_FragCoord origin is upper left 4 0:? Sequence 5 0:7 Function Definition: not_the_entry_point( ( temp void) 6 0:7 Function Parameters: 7 0:11 Function Definition: @main_in_spv( ( temp structure{ temp 4-component vector of float Color}) 8 0:11 Function Parameters: 9 0:? Sequence 10 0:13 move second child to first child ( temp 4-component vector of float) 11 0:13 Color: direct index for structure ( temp 4-component vector of float) 12 0:13 'psout' ( temp structure{ temp 4-component vector of float Color}) 13 0:13 Constant: 14 0:13 0 (const int) 15 0:13 Constant: 16 0:13 0.000000 17 0:13 0.000000 18 0:13 0.000000 19 0:13 0.000000 20 0:14 Branch: Return with expression 21 0:14 'psout' ( temp structure{ temp 4-component vector of float Color}) 22 0:11 Function Definition: main_in_spv( ( temp void) 23 0:11 Function Parameters: 24 0:? Sequence 25 0:11 Sequence 26 0:11 move second child to first child ( temp 4-component vector of float) 27 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 28 0:11 Color: direct index for structure ( temp 4-component vector of float) 29 0:11 Function Call: @main_in_spv( ( temp structure{ temp 4-component vector of float Color}) 30 0:11 Constant: 31 0:11 0 (const int) 32 0:? Linker Objects 33 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int also_not_the_entry_point}) 34 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 35 36 37 Linked fragment stage: 38 39 40 Shader version: 500 41 gl_FragCoord origin is upper left 42 0:? Sequence 43 0:7 Function Definition: not_the_entry_point( ( temp void) 44 0:7 Function Parameters: 45 0:11 Function Definition: @main_in_spv( ( temp structure{ temp 4-component vector of float Color}) 46 0:11 Function Parameters: 47 0:? Sequence 48 0:13 move second child to first child ( temp 4-component vector of float) 49 0:13 Color: direct index for structure ( temp 4-component vector of float) 50 0:13 'psout' ( temp structure{ temp 4-component vector of float Color}) 51 0:13 Constant: 52 0:13 0 (const int) 53 0:13 Constant: 54 0:13 0.000000 55 0:13 0.000000 56 0:13 0.000000 57 0:13 0.000000 58 0:14 Branch: Return with expression 59 0:14 'psout' ( temp structure{ temp 4-component vector of float Color}) 60 0:11 Function Definition: main_in_spv( ( temp void) 61 0:11 Function Parameters: 62 0:? Sequence 63 0:11 Sequence 64 0:11 move second child to first child ( temp 4-component vector of float) 65 0:? '@entryPointOutput.Color' (layout( location=0) out 4-component vector of float) 66 0:11 Color: direct index for structure ( temp 4-component vector of float) 67 0:11 Function Call: @main_in_spv( ( temp structure{ temp 4-component vector of float Color}) 68 0:11 Constant: 69 0:11 0 (const int) 70 0:? Linker Objects 71 0:? 'anon@0' (layout( row_major std140) uniform block{ uniform int also_not_the_entry_point}) 72 0:? '@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) 112 26(@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 123 6(not_the_entry_point(): 2 Function None 3 124 7: Label 125 Return 126 FunctionEnd 127 12(@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