1 spv.always-discard2.frag
2 // Module Version 10000
3 // Generated by (magic number): 8000a
4 // Id's are bound by 40
7 1: ExtInstImport "GLSL.std.450"
8 MemoryModel Logical GLSL450
9 EntryPoint Fragment 4 "main" 21 38
10 ExecutionMode 4 OriginUpperLeft
19 Name 38 "gl_FragColor"
20 Decorate 21(tex_coord) Location 0
21 Decorate 38(gl_FragColor) Location 0
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
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)
41 38(gl_FragColor): 37(ptr) Variable Output
42 4(main): 2 Function None 3
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
51 16: 7(fvec4) Load 9(white)
53 25: 24(ptr) AccessChain 21(tex_coord) 23
55 28: 6(float) FMul 26 27
56 29: 6(float) FSub 28 10
58 32: 24(ptr) AccessChain 21(tex_coord) 31
60 34: 6(float) FMul 33 27
61 35: 6(float) FSub 34 10