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