1spv.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 34(gl_FragColor) Location 0 19 2: TypeVoid 20 3: TypeFunction 2 21 6: TypeFloat 32 22 7: TypeVector 6(float) 4 23 8: TypePointer Function 7(fvec4) 24 10: TypeImage 6(float) 2D sampled format:Unknown 25 11: TypeSampledImage 10 26 12: TypePointer UniformConstant 11 27 13(tex): 12(ptr) Variable UniformConstant 28 15: TypeVector 6(float) 2 29 16: TypePointer Input 15(fvec2) 30 17(coord): 16(ptr) Variable Input 31 21: 6(float) Constant 1036831949 32 22: 6(float) Constant 1045220557 33 23: 6(float) Constant 1050253722 34 24: 6(float) Constant 1053609165 35 25: 7(fvec4) ConstantComposite 21 22 23 24 36 26: TypeBool 37 27: TypeVector 26(bool) 4 38 33: TypePointer Output 7(fvec4) 3934(gl_FragColor): 33(ptr) Variable Output 40 4(main): 2 Function None 3 41 5: Label 42 9(v): 8(ptr) Variable Function 43 14: 11 Load 13(tex) 44 18: 15(fvec2) Load 17(coord) 45 19: 7(fvec4) ImageSampleImplicitLod 14 18 46 Store 9(v) 19 47 20: 7(fvec4) Load 9(v) 48 28: 27(bvec4) FOrdEqual 20 25 49 29: 26(bool) All 28 50 SelectionMerge 31 None 51 BranchConditional 29 30 31 52 30: Label 53 Kill 54 31: Label 55 35: 7(fvec4) Load 9(v) 56 Store 34(gl_FragColor) 35 57 Return 58 FunctionEnd 59