Home | History | Annotate | Download | only in baseResults
      1 spv.100ops.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 49
      5 
      6                               Capability Shader
      7                1:             ExtInstImport  "GLSL.std.450"
      8                               MemoryModel Logical GLSL450
      9                               EntryPoint Fragment 4  "main" 21 26 37
     10                               ExecutionMode 4 OriginUpperLeft
     11                               Source ESSL 310
     12                               Name 4  "main"
     13                               Name 8  "foo("
     14                               Name 11  "face1"
     15                               Name 13  "face2"
     16                               Name 17  "z"
     17                               Name 21  "low"
     18                               Name 26  "high"
     19                               Name 37  "Color"
     20                               Decorate 8(foo() RelaxedPrecision
     21                               Decorate 11(face1) RelaxedPrecision
     22                               Decorate 13(face2) RelaxedPrecision
     23                               Decorate 17(z) RelaxedPrecision
     24                               Decorate 21(low) RelaxedPrecision
     25                               Decorate 22 RelaxedPrecision
     26                               Decorate 23 RelaxedPrecision
     27                               Decorate 25 RelaxedPrecision
     28                               Decorate 26(high) RelaxedPrecision
     29                               Decorate 27 RelaxedPrecision
     30                               Decorate 32 RelaxedPrecision
     31                               Decorate 34 RelaxedPrecision
     32                               Decorate 37(Color) RelaxedPrecision
     33                               Decorate 38 RelaxedPrecision
     34                               Decorate 39 RelaxedPrecision
     35                               Decorate 40 RelaxedPrecision
     36                               Decorate 41 RelaxedPrecision
     37                               Decorate 42 RelaxedPrecision
     38                               Decorate 43 RelaxedPrecision
     39                               Decorate 44 RelaxedPrecision
     40                               Decorate 45 RelaxedPrecision
     41                               Decorate 46 RelaxedPrecision
     42                2:             TypeVoid
     43                3:             TypeFunction 2
     44                6:             TypeFloat 32
     45                7:             TypeFunction 6(float)
     46               10:             TypePointer Private 6(float)
     47        11(face1):     10(ptr) Variable Private
     48               12:    6(float) Constant 1093664768
     49        13(face2):     10(ptr) Variable Private
     50               14:    6(float) Constant 3221225472
     51               15:             TypeInt 32 1
     52               16:             TypePointer Function 15(int)
     53               18:     15(int) Constant 3
     54               19:    6(float) Constant 1073741824
     55               20:             TypePointer Input 6(float)
     56          21(low):     20(ptr) Variable Input
     57               24:    6(float) Constant 1065353216
     58         26(high):     20(ptr) Variable Input
     59               28:             TypeBool
     60               33:     15(int) Constant 1
     61               35:             TypeVector 6(float) 4
     62               36:             TypePointer Output 35(fvec4)
     63        37(Color):     36(ptr) Variable Output
     64          4(main):           2 Function None 3
     65                5:             Label
     66            17(z):     16(ptr) Variable Function
     67                               Store 11(face1) 12
     68                               Store 13(face2) 14
     69                               Store 17(z) 18
     70               22:    6(float) Load 21(low)
     71               23:    6(float) FMul 19 22
     72               25:    6(float) FAdd 23 24
     73               27:    6(float) Load 26(high)
     74               29:    28(bool) FOrdLessThan 25 27
     75                               SelectionMerge 31 None
     76                               BranchConditional 29 30 31
     77               30:               Label
     78               32:     15(int)   Load 17(z)
     79               34:     15(int)   IAdd 32 33
     80                                 Store 17(z) 34
     81                                 Branch 31
     82               31:             Label
     83               38:    6(float) Load 11(face1)
     84               39:     15(int) Load 17(z)
     85               40:    6(float) ConvertSToF 39
     86               41:   35(fvec4) CompositeConstruct 40 40 40 40
     87               42:   35(fvec4) VectorTimesScalar 41 38
     88               43:    6(float) FunctionCall 8(foo()
     89               44:   35(fvec4) CompositeConstruct 43 43 43 43
     90               45:   35(fvec4) FAdd 42 44
     91                               Store 37(Color) 45
     92                               Return
     93                               FunctionEnd
     94          8(foo():    6(float) Function None 7
     95                9:             Label
     96               46:    6(float) Load 13(face2)
     97                               ReturnValue 46
     98                               FunctionEnd
     99