Home | History | Annotate | Download | only in baseResults
      1 spv.always-discard2.frag
      2 // Module Version 10000
      3 // Generated by (magic number): 80007
      4 // Id's are bound by 40
      5 
      6                               Capability Shader
      7                1:             ExtInstImport  "GLSL.std.450"
      8                               MemoryModel Logical GLSL450
      9                               EntryPoint Fragment 4  "main" 21 38
     10                               ExecutionMode 4 OriginUpperLeft
     11                               Source GLSL 140
     12                               Name 4  "main"
     13                               Name 9  "white"
     14                               Name 12  "black"
     15                               Name 15  "color"
     16                               Name 18  "x"
     17                               Name 21  "tex_coord"
     18                               Name 30  "y"
     19                               Name 38  "gl_FragColor"
     20                               Decorate 38(gl_FragColor) Location 0
     21                2:             TypeVoid
     22                3:             TypeFunction 2
     23                6:             TypeFloat 32
     24                7:             TypeVector 6(float) 4
     25                8:             TypePointer Function 7(fvec4)
     26               10:    6(float) Constant 1065353216
     27               11:    7(fvec4) ConstantComposite 10 10 10 10
     28               13:    6(float) Constant 1045220557
     29               14:    7(fvec4) ConstantComposite 13 13 13 13
     30               17:             TypePointer Function 6(float)
     31               19:             TypeVector 6(float) 2
     32               20:             TypePointer Input 19(fvec2)
     33    21(tex_coord):     20(ptr) Variable Input
     34               22:             TypeInt 32 0
     35               23:     22(int) Constant 0
     36               24:             TypePointer Input 6(float)
     37               27:    6(float) Constant 1073741824
     38               31:     22(int) Constant 1
     39               37:             TypePointer Output 7(fvec4)
     40 38(gl_FragColor):     37(ptr) Variable Output
     41          4(main):           2 Function None 3
     42                5:             Label
     43         9(white):      8(ptr) Variable Function
     44        12(black):      8(ptr) Variable Function
     45        15(color):      8(ptr) Variable Function
     46            18(x):     17(ptr) Variable Function
     47            30(y):     17(ptr) Variable Function
     48                               Store 9(white) 11
     49                               Store 12(black) 14
     50               16:    7(fvec4) Load 9(white)
     51                               Store 15(color) 16
     52               25:     24(ptr) AccessChain 21(tex_coord) 23
     53               26:    6(float) Load 25
     54               28:    6(float) FMul 26 27
     55               29:    6(float) FSub 28 10
     56                               Store 18(x) 29
     57               32:     24(ptr) AccessChain 21(tex_coord) 31
     58               33:    6(float) Load 32
     59               34:    6(float) FMul 33 27
     60               35:    6(float) FSub 34 10
     61                               Store 30(y) 35
     62                               Kill
     63                               FunctionEnd
     64