Home | History | Annotate | Download | only in baseResults
      1 spv.conditionalDiscard.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 36
      5 
      6                               Capability Shader
      7                1:             ExtInstImport  "GLSL.std.450"
      8                               MemoryModel Logical GLSL450
      9                               EntryPoint Fragment 4  "main" 17 34
     10                               ExecutionMode 4 OriginUpperLeft
     11                               Source GLSL 400
     12                               Name 4  "main"
     13                               Name 9  "v"
     14                               Name 13  "tex"
     15                               Name 17  "coord"
     16                               Name 34  "gl_FragColor"
     17                               Decorate 13(tex) DescriptorSet 0
     18                               Decorate 13(tex) Binding 0
     19                               Decorate 34(gl_FragColor) Location 0
     20                2:             TypeVoid
     21                3:             TypeFunction 2
     22                6:             TypeFloat 32
     23                7:             TypeVector 6(float) 4
     24                8:             TypePointer Function 7(fvec4)
     25               10:             TypeImage 6(float) 2D sampled format:Unknown
     26               11:             TypeSampledImage 10
     27               12:             TypePointer UniformConstant 11
     28          13(tex):     12(ptr) Variable UniformConstant
     29               15:             TypeVector 6(float) 2
     30               16:             TypePointer Input 15(fvec2)
     31        17(coord):     16(ptr) Variable Input
     32               21:    6(float) Constant 1036831949
     33               22:    6(float) Constant 1045220557
     34               23:    6(float) Constant 1050253722
     35               24:    6(float) Constant 1053609165
     36               25:    7(fvec4) ConstantComposite 21 22 23 24
     37               26:             TypeBool
     38               27:             TypeVector 26(bool) 4
     39               33:             TypePointer Output 7(fvec4)
     40 34(gl_FragColor):     33(ptr) Variable Output
     41          4(main):           2 Function None 3
     42                5:             Label
     43             9(v):      8(ptr) Variable Function
     44               14:          11 Load 13(tex)
     45               18:   15(fvec2) Load 17(coord)
     46               19:    7(fvec4) ImageSampleImplicitLod 14 18
     47                               Store 9(v) 19
     48               20:    7(fvec4) Load 9(v)
     49               28:   27(bvec4) FOrdEqual 20 25
     50               29:    26(bool) All 28
     51                               SelectionMerge 31 None
     52                               BranchConditional 29 30 31
     53               30:               Label
     54                                 Kill
     55               31:             Label
     56               35:    7(fvec4) Load 9(v)
     57                               Store 34(gl_FragColor) 35
     58                               Return
     59                               FunctionEnd
     60