1spv.specConstantComposite.vert 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 43 5 6 Capability Shader 7 Capability Float64 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint Vertex 4 "main" 27 42 11 Source GLSL 450 12 Name 4 "main" 13 Name 6 "refer_primary_spec_const(" 14 Name 8 "refer_composite_spec_const(" 15 Name 10 "refer_copmosite_dot_dereference(" 16 Name 12 "refer_composite_bracket_dereference(" 17 Name 16 "refer_spec_const_array_length(" 18 Name 18 "declare_spec_const_in_func(" 19 Name 21 "spec_bool" 20 Name 27 "color" 21 Name 28 "spec_int" 22 Name 33 "len" 23 Name 37 "spec_float" 24 Name 39 "spec_double" 25 Name 42 "global_vec4_array_with_spec_length" 26 Decorate 21(spec_bool) SpecId 203 27 Decorate 27(color) Location 0 28 Decorate 28(spec_int) SpecId 200 29 Decorate 37(spec_float) SpecId 201 30 Decorate 39(spec_double) SpecId 202 31 Decorate 42(global_vec4_array_with_spec_length) Location 0 32 2: TypeVoid 33 3: TypeFunction 2 34 14: TypeInt 32 1 35 15: TypeFunction 14(int) 36 20: TypeBool 37 21(spec_bool): 20(bool) SpecConstantTrue 38 24: TypeFloat 32 39 25: TypeVector 24(float) 4 40 26: TypePointer Output 25(fvec4) 41 27(color): 26(ptr) Variable Output 42 28(spec_int): 14(int) SpecConstant 3 43 32: TypePointer Function 14(int) 44 37(spec_float): 24(float) SpecConstant 1078523331 45 38: TypeFloat 64 46 39(spec_double):38(float64_t) SpecConstant 1413754136 1074340347 47 40: TypeArray 25(fvec4) 28(spec_int) 48 41: TypePointer Input 40 4942(global_vec4_array_with_spec_length): 41(ptr) Variable Input 50 4(main): 2 Function None 3 51 5: Label 52 Return 53 FunctionEnd 546(refer_primary_spec_const(): 2 Function None 3 55 7: Label 56 SelectionMerge 23 None 57 BranchConditional 21(spec_bool) 22 23 58 22: Label 59 29: 24(float) ConvertSToF 28(spec_int) 60 30: 25(fvec4) Load 27(color) 61 31: 25(fvec4) VectorTimesScalar 30 29 62 Store 27(color) 31 63 Branch 23 64 23: Label 65 Return 66 FunctionEnd 678(refer_composite_spec_const(): 2 Function None 3 68 9: Label 69 Return 70 FunctionEnd 7110(refer_copmosite_dot_dereference(): 2 Function None 3 72 11: Label 73 Return 74 FunctionEnd 7512(refer_composite_bracket_dereference(): 2 Function None 3 76 13: Label 77 Return 78 FunctionEnd 7916(refer_spec_const_array_length(): 14(int) Function None 15 80 17: Label 81 33(len): 32(ptr) Variable Function 82 Store 33(len) 28(spec_int) 83 34: 14(int) Load 33(len) 84 ReturnValue 34 85 FunctionEnd 8618(declare_spec_const_in_func(): 2 Function None 3 87 19: Label 88 Return 89 FunctionEnd 90