1spv.xfbOffsetOnStructMembersAssignment.vert 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 40 5 6 Capability Shader 7 Capability TransformFeedback 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint Vertex 4 "main" 9 21 34 38 39 11 ExecutionMode 4 Xfb 12 Source GLSL 450 13 Name 4 "main" 14 Name 7 "S" 15 MemberName 7(S) 0 "x1_out" 16 MemberName 7(S) 1 "x2_out" 17 Name 9 "s1" 18 Name 19 "S2" 19 MemberName 19(S2) 0 "y1_out" 20 MemberName 19(S2) 1 "y2_out" 21 Name 21 "s2" 22 Name 32 "gl_PerVertex" 23 MemberName 32(gl_PerVertex) 0 "gl_Position" 24 MemberName 32(gl_PerVertex) 1 "gl_PointSize" 25 MemberName 32(gl_PerVertex) 2 "gl_ClipDistance" 26 MemberName 32(gl_PerVertex) 3 "gl_CullDistance" 27 Name 34 "" 28 Name 38 "gl_VertexID" 29 Name 39 "gl_InstanceID" 30 Decorate 9(s1) Location 0 31 Decorate 9(s1) XfbBuffer 2 32 Decorate 9(s1) XfbStride 24 33 Decorate 9(s1) Offset 16 34 Decorate 21(s2) Location 5 35 Decorate 21(s2) XfbBuffer 1 36 Decorate 21(s2) XfbStride 28 37 Decorate 21(s2) Offset 8 38 MemberDecorate 32(gl_PerVertex) 0 BuiltIn Position 39 MemberDecorate 32(gl_PerVertex) 1 BuiltIn PointSize 40 MemberDecorate 32(gl_PerVertex) 2 BuiltIn ClipDistance 41 MemberDecorate 32(gl_PerVertex) 3 BuiltIn CullDistance 42 Decorate 32(gl_PerVertex) Block 43 Decorate 34 XfbBuffer 0 44 Decorate 34 XfbStride 0 45 Decorate 38(gl_VertexID) BuiltIn VertexId 46 Decorate 39(gl_InstanceID) BuiltIn InstanceId 47 2: TypeVoid 48 3: TypeFunction 2 49 6: TypeFloat 32 50 7(S): TypeStruct 6(float) 6(float) 51 8: TypePointer Output 7(S) 52 9(s1): 8(ptr) Variable Output 53 10: TypeInt 32 1 54 11: 10(int) Constant 0 55 12: 6(float) Constant 1084227584 56 13: TypePointer Output 6(float) 57 15: 10(int) Constant 1 58 16: 6(float) Constant 1086324736 59 18: TypeVector 6(float) 4 60 19(S2): TypeStruct 6(float) 18(fvec4) 61 20: TypePointer Output 19(S2) 62 21(s2): 20(ptr) Variable Output 63 22: 6(float) Constant 1088421888 64 24: 6(float) Constant 1065353216 65 25: 6(float) Constant 0 66 26: 18(fvec4) ConstantComposite 24 25 25 24 67 27: TypePointer Output 18(fvec4) 68 29: TypeInt 32 0 69 30: 29(int) Constant 1 70 31: TypeArray 6(float) 30 7132(gl_PerVertex): TypeStruct 18(fvec4) 6(float) 31 31 72 33: TypePointer Output 32(gl_PerVertex) 73 34: 33(ptr) Variable Output 74 35: 18(fvec4) ConstantComposite 25 25 25 25 75 37: TypePointer Input 10(int) 76 38(gl_VertexID): 37(ptr) Variable Input 7739(gl_InstanceID): 37(ptr) Variable Input 78 4(main): 2 Function None 3 79 5: Label 80 14: 13(ptr) AccessChain 9(s1) 11 81 Store 14 12 82 17: 13(ptr) AccessChain 9(s1) 15 83 Store 17 16 84 23: 13(ptr) AccessChain 21(s2) 11 85 Store 23 22 86 28: 27(ptr) AccessChain 21(s2) 15 87 Store 28 26 88 36: 27(ptr) AccessChain 34 11 89 Store 36 35 90 Return 91 FunctionEnd 92