1spv.always-discard2.frag
2// Module Version 10000
3// Generated by (magic number): 8000a
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 21(tex_coord) Location 0
21                              Decorate 38(gl_FragColor) Location 0
22               2:             TypeVoid
23               3:             TypeFunction 2
24               6:             TypeFloat 32
25               7:             TypeVector 6(float) 4
26               8:             TypePointer Function 7(fvec4)
27              10:    6(float) Constant 1065353216
28              11:    7(fvec4) ConstantComposite 10 10 10 10
29              13:    6(float) Constant 1045220557
30              14:    7(fvec4) ConstantComposite 13 13 13 13
31              17:             TypePointer Function 6(float)
32              19:             TypeVector 6(float) 2
33              20:             TypePointer Input 19(fvec2)
34   21(tex_coord):     20(ptr) Variable Input
35              22:             TypeInt 32 0
36              23:     22(int) Constant 0
37              24:             TypePointer Input 6(float)
38              27:    6(float) Constant 1073741824
39              31:     22(int) Constant 1
40              37:             TypePointer Output 7(fvec4)
4138(gl_FragColor):     37(ptr) Variable Output
42         4(main):           2 Function None 3
43               5:             Label
44        9(white):      8(ptr) Variable Function
45       12(black):      8(ptr) Variable Function
46       15(color):      8(ptr) Variable Function
47           18(x):     17(ptr) Variable Function
48           30(y):     17(ptr) Variable Function
49                              Store 9(white) 11
50                              Store 12(black) 14
51              16:    7(fvec4) Load 9(white)
52                              Store 15(color) 16
53              25:     24(ptr) AccessChain 21(tex_coord) 23
54              26:    6(float) Load 25
55              28:    6(float) FMul 26 27
56              29:    6(float) FSub 28 10
57                              Store 18(x) 29
58              32:     24(ptr) AccessChain 21(tex_coord) 31
59              33:    6(float) Load 32
60              34:    6(float) FMul 33 27
61              35:    6(float) FSub 34 10
62                              Store 30(y) 35
63                              Kill
64                              FunctionEnd
65