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