blob: 7a2c55ec954db3d2d2a6bc4501976c7902cbf9db [file] [log] [blame]
John Kessenichcc16fa02015-12-10 18:01:54 -07001spv.conditionalDiscard.frag
2Warning, version 400 is not yet complete; most version-specific features are present, but some are missing.
3
4
5Linked fragment stage:
6
7
8// Module Version 10000
9// Generated by (magic number): 80001
10// Id's are bound by 36
11
12 Capability Shader
13 1: ExtInstImport "GLSL.std.450"
14 MemoryModel Logical GLSL450
15 EntryPoint Fragment 4 "main" 17
16 ExecutionMode 4 OriginLowerLeft
17 Source GLSL 400
18 Name 4 "main"
19 Name 9 "v"
20 Name 13 "tex"
21 Name 17 "coord"
22 Name 34 "gl_FragColor"
23 2: TypeVoid
24 3: TypeFunction 2
25 6: TypeFloat 32
26 7: TypeVector 6(float) 4
27 8: TypePointer Function 7(fvec4)
28 10: TypeImage 6(float) 2D sampled format:Unknown
29 11: TypeSampledImage 10
30 12: TypePointer UniformConstant 11
31 13(tex): 12(ptr) Variable UniformConstant
32 15: TypeVector 6(float) 2
33 16: TypePointer Input 15(fvec2)
34 17(coord): 16(ptr) Variable Input
35 21: 6(float) Constant 1036831949
36 22: 6(float) Constant 1045220557
37 23: 6(float) Constant 1050253722
38 24: 6(float) Constant 1053609165
39 25: 7(fvec4) ConstantComposite 21 22 23 24
40 26: TypeBool
41 27: TypeVector 26(bool) 4
42 33: TypePointer Output 7(fvec4)
4334(gl_FragColor): 33(ptr) Variable Output
44 4(main): 2 Function None 3
45 5: Label
46 9(v): 8(ptr) Variable Function
47 14: 11 Load 13(tex)
48 18: 15(fvec2) Load 17(coord)
49 19: 7(fvec4) ImageSampleImplicitLod 14 18
50 Store 9(v) 19
51 20: 7(fvec4) Load 9(v)
52 28: 27(bvec4) FOrdEqual 20 25
53 29: 26(bool) All 28
54 SelectionMerge 31 None
55 BranchConditional 29 30 31
56 30: Label
57 Kill
58 31: Label
59 35: 7(fvec4) Load 9(v)
60 Store 34(gl_FragColor) 35
61 Return
62 FunctionEnd