• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1spv.perprimitiveNV.frag
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 23
5
6                              Capability Shader
7                              Capability MeshShadingNV
8                              Extension  "SPV_NV_mesh_shader"
9               1:             ExtInstImport  "GLSL.std.450"
10                              MemoryModel Logical GLSL450
11                              EntryPoint Fragment 4  "main" 8 11 19
12                              ExecutionMode 4 OriginUpperLeft
13                              Source GLSL 460
14                              SourceExtension  "GL_NV_mesh_shader"
15                              Name 4  "main"
16                              Name 8  "g"
17                              Name 9  "B"
18                              MemberName 9(B) 0  "f"
19                              Name 11  ""
20                              Name 17  "C"
21                              MemberName 17(C) 0  "h"
22                              Name 19  ""
23                              Decorate 8(g) Location 8
24                              MemberDecorate 9(B) 0 PerPrimitiveNV
25                              Decorate 9(B) Block
26                              Decorate 11 Location 0
27                              MemberDecorate 17(C) 0 Flat
28                              MemberDecorate 17(C) 0 Centroid
29                              Decorate 17(C) Block
30                              Decorate 19 Location 4
31               2:             TypeVoid
32               3:             TypeFunction 2
33               6:             TypeFloat 32
34               7:             TypePointer Output 6(float)
35            8(g):      7(ptr) Variable Output
36            9(B):             TypeStruct 6(float)
37              10:             TypePointer Input 9(B)
38              11:     10(ptr) Variable Input
39              12:             TypeInt 32 1
40              13:     12(int) Constant 0
41              14:             TypePointer Input 6(float)
42           17(C):             TypeStruct 6(float)
43              18:             TypePointer Input 17(C)
44              19:     18(ptr) Variable Input
45         4(main):           2 Function None 3
46               5:             Label
47              15:     14(ptr) AccessChain 11 13
48              16:    6(float) Load 15
49              20:     14(ptr) AccessChain 19 13
50              21:    6(float) Load 20
51              22:    6(float) FAdd 16 21
52                              Store 8(g) 22
53                              Return
54                              FunctionEnd
55