1spv.fragmentDensity-es.frag
2// Module Version 10000
3// Generated by (magic number): 80008
4// Id's are bound by 18
5
6                              Capability Shader
7                              Capability FragmentDensityEXT
8                              Extension  "SPV_EXT_fragment_invocation_density"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 4  "main" 9 11 14 16
12                              ExecutionMode 4 OriginUpperLeft
13                              Source ESSL 310
14                              SourceExtension  "GL_EXT_fragment_invocation_density"
15                              Name 4  "main"
16                              Name 9  "FragSize"
17                              Name 11  "gl_FragSizeEXT"
18                              Name 14  "FragInvocationCount"
19                              Name 16  "gl_FragInvocationCountEXT"
20                              Decorate 9(FragSize) Location 0
21                              Decorate 11(gl_FragSizeEXT) Flat
22                              Decorate 11(gl_FragSizeEXT) BuiltIn FragSizeEXT
23                              Decorate 14(FragInvocationCount) Location 2
24                              Decorate 16(gl_FragInvocationCountEXT) Flat
25                              Decorate 16(gl_FragInvocationCountEXT) BuiltIn FragInvocationCountEXT
26               2:             TypeVoid
27               3:             TypeFunction 2
28               6:             TypeInt 32 1
29               7:             TypeVector 6(int) 2
30               8:             TypePointer Output 7(ivec2)
31     9(FragSize):      8(ptr) Variable Output
32              10:             TypePointer Input 7(ivec2)
3311(gl_FragSizeEXT):     10(ptr) Variable Input
34              13:             TypePointer Output 6(int)
3514(FragInvocationCount):     13(ptr) Variable Output
36              15:             TypePointer Input 6(int)
3716(gl_FragInvocationCountEXT):     15(ptr) Variable Input
38         4(main):           2 Function None 3
39               5:             Label
40              12:    7(ivec2) Load 11(gl_FragSizeEXT)
41                              Store 9(FragSize) 12
42              17:      6(int) Load 16(gl_FragInvocationCountEXT)
43                              Store 14(FragInvocationCount) 17
44                              Return
45                              FunctionEnd
46