1 hlsl.PointSize.geom 2 Shader version: 500 3 invocations = -1 4 max_vertices = 4 5 input primitive = triangles 6 output primitive = line_strip 7 0:? Sequence 8 0:8 Function Definition: @main(u1[3];struct-S-f11; ( temp void) 9 0:8 Function Parameters: 10 0:8 'ps' ( in 3-element array of uint) 11 0:8 'OutputStream' ( out structure{ temp float ps}) 12 0:? Sequence 13 0:10 Sequence 14 0:10 Sequence 15 0:10 move second child to first child ( temp float) 16 0:? 'OutputStream.ps' ( out float PointSize) 17 0:10 ps: direct index for structure ( temp float) 18 0:10 's' ( temp structure{ temp float ps}) 19 0:10 Constant: 20 0:10 0 (const int) 21 0:10 EmitVertex ( temp void) 22 0:8 Function Definition: main( ( temp void) 23 0:8 Function Parameters: 24 0:? Sequence 25 0:8 move second child to first child ( temp 3-element array of uint) 26 0:? 'ps' ( temp 3-element array of uint) 27 0:? 'ps' ( in 3-element array of uint PointSize) 28 0:8 Function Call: @main(u1[3];struct-S-f11; ( temp void) 29 0:? 'ps' ( temp 3-element array of uint) 30 0:? 'OutputStream' ( temp structure{ temp float ps}) 31 0:? Linker Objects 32 0:? 'ps' ( in 3-element array of uint PointSize) 33 0:? 'OutputStream.ps' ( out float PointSize) 34 35 36 Linked geometry stage: 37 38 39 Shader version: 500 40 invocations = 1 41 max_vertices = 4 42 input primitive = triangles 43 output primitive = line_strip 44 0:? Sequence 45 0:8 Function Definition: @main(u1[3];struct-S-f11; ( temp void) 46 0:8 Function Parameters: 47 0:8 'ps' ( in 3-element array of uint) 48 0:8 'OutputStream' ( out structure{ temp float ps}) 49 0:? Sequence 50 0:10 Sequence 51 0:10 Sequence 52 0:10 move second child to first child ( temp float) 53 0:? 'OutputStream.ps' ( out float PointSize) 54 0:10 ps: direct index for structure ( temp float) 55 0:10 's' ( temp structure{ temp float ps}) 56 0:10 Constant: 57 0:10 0 (const int) 58 0:10 EmitVertex ( temp void) 59 0:8 Function Definition: main( ( temp void) 60 0:8 Function Parameters: 61 0:? Sequence 62 0:8 move second child to first child ( temp 3-element array of uint) 63 0:? 'ps' ( temp 3-element array of uint) 64 0:? 'ps' ( in 3-element array of uint PointSize) 65 0:8 Function Call: @main(u1[3];struct-S-f11; ( temp void) 66 0:? 'ps' ( temp 3-element array of uint) 67 0:? 'OutputStream' ( temp structure{ temp float ps}) 68 0:? Linker Objects 69 0:? 'ps' ( in 3-element array of uint PointSize) 70 0:? 'OutputStream.ps' ( out float PointSize) 71 72 Validation failed 73 // Module Version 10000 74 // Generated by (magic number): 80007 75 // Id's are bound by 36 76 77 Capability Geometry 78 Capability GeometryPointSize 79 1: ExtInstImport "GLSL.std.450" 80 MemoryModel Logical GLSL450 81 EntryPoint Geometry 4 "main" 19 28 82 ExecutionMode 4 Triangles 83 ExecutionMode 4 Invocations 1 84 ExecutionMode 4 OutputLineStrip 85 ExecutionMode 4 OutputVertices 4 86 Source HLSL 500 87 Name 4 "main" 88 Name 11 "S" 89 MemberName 11(S) 0 "ps" 90 Name 16 "@main(u1[3];struct-S-f11;" 91 Name 14 "ps" 92 Name 15 "OutputStream" 93 Name 19 "OutputStream.ps" 94 Name 20 "s" 95 Name 26 "ps" 96 Name 28 "ps" 97 Name 30 "OutputStream" 98 Name 31 "param" 99 Name 33 "param" 100 Decorate 19(OutputStream.ps) BuiltIn PointSize 101 Decorate 28(ps) BuiltIn PointSize 102 2: TypeVoid 103 3: TypeFunction 2 104 6: TypeInt 32 0 105 7: 6(int) Constant 3 106 8: TypeArray 6(int) 7 107 9: TypePointer Function 8 108 10: TypeFloat 32 109 11(S): TypeStruct 10(float) 110 12: TypePointer Function 11(S) 111 13: TypeFunction 2 9(ptr) 12(ptr) 112 18: TypePointer Output 10(float) 113 19(OutputStream.ps): 18(ptr) Variable Output 114 21: TypeInt 32 1 115 22: 21(int) Constant 0 116 23: TypePointer Function 10(float) 117 27: TypePointer Input 8 118 28(ps): 27(ptr) Variable Input 119 4(main): 2 Function None 3 120 5: Label 121 26(ps): 9(ptr) Variable Function 122 30(OutputStream): 12(ptr) Variable Function 123 31(param): 9(ptr) Variable Function 124 33(param): 12(ptr) Variable Function 125 29: 8 Load 28(ps) 126 Store 26(ps) 29 127 32: 8 Load 26(ps) 128 Store 31(param) 32 129 34: 2 FunctionCall 16(@main(u1[3];struct-S-f11;) 31(param) 33(param) 130 35: 11(S) Load 33(param) 131 Store 30(OutputStream) 35 132 Return 133 FunctionEnd 134 16(@main(u1[3];struct-S-f11;): 2 Function None 13 135 14(ps): 9(ptr) FunctionParameter 136 15(OutputStream): 12(ptr) FunctionParameter 137 17: Label 138 20(s): 12(ptr) Variable Function 139 24: 23(ptr) AccessChain 20(s) 22 140 25: 10(float) Load 24 141 Store 19(OutputStream.ps) 25 142 EmitVertex 143 Return 144 FunctionEnd 145