Home | History | Annotate | Download | only in baseResults
      1 spv.specConstantComposite.vert
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      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 28(spec_int) SpecId 200
     28                               Decorate 37(spec_float) SpecId 201
     29                               Decorate 39(spec_double) SpecId 202
     30                2:             TypeVoid
     31                3:             TypeFunction 2
     32               14:             TypeInt 32 1
     33               15:             TypeFunction 14(int)
     34               20:             TypeBool
     35    21(spec_bool):    20(bool) SpecConstantTrue
     36               24:             TypeFloat 32
     37               25:             TypeVector 24(float) 4
     38               26:             TypePointer Output 25(fvec4)
     39        27(color):     26(ptr) Variable Output
     40     28(spec_int):     14(int) SpecConstant 3
     41               32:             TypePointer Function 14(int)
     42   37(spec_float):   24(float) SpecConstant 1078523331
     43               38:             TypeFloat 64
     44  39(spec_double):38(float64_t) SpecConstant 1413754136 1074340347
     45               40:             TypeArray 25(fvec4) 28(spec_int)
     46               41:             TypePointer Input 40
     47 42(global_vec4_array_with_spec_length):     41(ptr) Variable Input
     48          4(main):           2 Function None 3
     49                5:             Label
     50                               Return
     51                               FunctionEnd
     52 6(refer_primary_spec_const():           2 Function None 3
     53                7:             Label
     54                               SelectionMerge 23 None
     55                               BranchConditional 21(spec_bool) 22 23
     56               22:               Label
     57               29:   24(float)   ConvertSToF 28(spec_int)
     58               30:   25(fvec4)   Load 27(color)
     59               31:   25(fvec4)   VectorTimesScalar 30 29
     60                                 Store 27(color) 31
     61                                 Branch 23
     62               23:             Label
     63                               Return
     64                               FunctionEnd
     65 8(refer_composite_spec_const():           2 Function None 3
     66                9:             Label
     67                               Return
     68                               FunctionEnd
     69 10(refer_copmosite_dot_dereference():           2 Function None 3
     70               11:             Label
     71                               Return
     72                               FunctionEnd
     73 12(refer_composite_bracket_dereference():           2 Function None 3
     74               13:             Label
     75                               Return
     76                               FunctionEnd
     77 16(refer_spec_const_array_length():     14(int) Function None 15
     78               17:             Label
     79          33(len):     32(ptr) Variable Function
     80                               Store 33(len) 28(spec_int)
     81               34:     14(int) Load 33(len)
     82                               ReturnValue 34
     83                               FunctionEnd
     84 18(declare_spec_const_in_func():           2 Function None 3
     85               19:             Label
     86                               Return
     87                               FunctionEnd
     88