1spv.bool.vert 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 46 5 6 Capability Shader 7 1: ExtInstImport "GLSL.std.450" 8 MemoryModel Logical GLSL450 9 EntryPoint Vertex 4 "main" 24 10 Source GLSL 450 11 Name 4 "main" 12 Name 10 "foo(b1;" 13 Name 9 "b" 14 Name 22 "gl_PerVertex" 15 MemberName 22(gl_PerVertex) 0 "gl_Position" 16 MemberName 22(gl_PerVertex) 1 "gl_PointSize" 17 MemberName 22(gl_PerVertex) 2 "gl_ClipDistance" 18 MemberName 22(gl_PerVertex) 3 "gl_CullDistance" 19 Name 24 "" 20 Name 27 "ubname" 21 MemberName 27(ubname) 0 "b" 22 Name 29 "ubinst" 23 Name 30 "param" 24 MemberDecorate 22(gl_PerVertex) 0 BuiltIn Position 25 MemberDecorate 22(gl_PerVertex) 1 BuiltIn PointSize 26 MemberDecorate 22(gl_PerVertex) 2 BuiltIn ClipDistance 27 MemberDecorate 22(gl_PerVertex) 3 BuiltIn CullDistance 28 Decorate 22(gl_PerVertex) Block 29 MemberDecorate 27(ubname) 0 Offset 0 30 Decorate 27(ubname) Block 31 Decorate 29(ubinst) DescriptorSet 0 32 Decorate 29(ubinst) Binding 0 33 2: TypeVoid 34 3: TypeFunction 2 35 6: TypeBool 36 7: TypePointer Function 6(bool) 37 8: TypeFunction 6(bool) 7(ptr) 38 13: 6(bool) ConstantFalse 39 17: TypeFloat 32 40 18: TypeVector 17(float) 4 41 19: TypeInt 32 0 42 20: 19(int) Constant 1 43 21: TypeArray 17(float) 20 4422(gl_PerVertex): TypeStruct 18(fvec4) 17(float) 21 21 45 23: TypePointer Output 22(gl_PerVertex) 46 24: 23(ptr) Variable Output 47 25: TypeInt 32 1 48 26: 25(int) Constant 0 49 27(ubname): TypeStruct 19(int) 50 28: TypePointer Uniform 27(ubname) 51 29(ubinst): 28(ptr) Variable Uniform 52 31: TypePointer Uniform 19(int) 53 34: 19(int) Constant 0 54 37: 17(float) Constant 0 55 38: 18(fvec4) ConstantComposite 37 37 37 37 56 39: 17(float) Constant 1065353216 57 40: 18(fvec4) ConstantComposite 39 39 39 39 58 41: TypeVector 6(bool) 4 59 44: TypePointer Output 18(fvec4) 60 4(main): 2 Function None 3 61 5: Label 62 30(param): 7(ptr) Variable Function 63 32: 31(ptr) AccessChain 29(ubinst) 26 64 33: 19(int) Load 32 65 35: 6(bool) INotEqual 33 34 66 Store 30(param) 35 67 36: 6(bool) FunctionCall 10(foo(b1;) 30(param) 68 42: 41(bvec4) CompositeConstruct 36 36 36 36 69 43: 18(fvec4) Select 42 38 40 70 45: 44(ptr) AccessChain 24 26 71 Store 45 43 72 Return 73 FunctionEnd 74 10(foo(b1;): 6(bool) Function None 8 75 9(b): 7(ptr) FunctionParameter 76 11: Label 77 12: 6(bool) Load 9(b) 78 14: 6(bool) LogicalNotEqual 12 13 79 ReturnValue 14 80 FunctionEnd 81