1spv.sampleId.frag 2// Module Version 10000 3// Generated by (magic number): 8000a 4// Id's are bound by 26 5 6 Capability Shader 7 Capability SampleRateShading 8 1: ExtInstImport "GLSL.std.450" 9 MemoryModel Logical GLSL450 10 EntryPoint Fragment 4 "main" 8 18 20 11 ExecutionMode 4 OriginUpperLeft 12 Source GLSL 450 13 Name 4 "main" 14 Name 8 "gl_SampleID" 15 Name 18 "color" 16 Name 20 "samp" 17 Decorate 8(gl_SampleID) Flat 18 Decorate 8(gl_SampleID) BuiltIn SampleId 19 Decorate 18(color) Location 0 20 Decorate 20(samp) Location 0 21 2: TypeVoid 22 3: TypeFunction 2 23 6: TypeInt 32 1 24 7: TypePointer Input 6(int) 25 8(gl_SampleID): 7(ptr) Variable Input 26 10: 6(int) Constant 3 27 11: TypeBool 28 15: TypeFloat 32 29 16: TypeVector 15(float) 4 30 17: TypePointer Output 16(fvec4) 31 18(color): 17(ptr) Variable Output 32 19: TypePointer Input 16(fvec4) 33 20(samp): 19(ptr) Variable Input 34 23: 15(float) Constant 1073741824 35 4(main): 2 Function None 3 36 5: Label 37 9: 6(int) Load 8(gl_SampleID) 38 12: 11(bool) SLessThan 9 10 39 SelectionMerge 14 None 40 BranchConditional 12 13 22 41 13: Label 42 21: 16(fvec4) Load 20(samp) 43 Store 18(color) 21 44 Branch 14 45 22: Label 46 24: 16(fvec4) Load 20(samp) 47 25: 16(fvec4) VectorTimesScalar 24 23 48 Store 18(color) 25 49 Branch 14 50 14: Label 51 Return 52 FunctionEnd 53