yum-mirror/glslang

git clone https://git.yummers.dev/yum-mirror/glslang

Pankaj MistryImplement GL_NV_gpu_shader5 and enable GL_ARB_gpu_shader5 completely5cffd9a7

main
7.4 KiB148 linesraw
1spv.nvgpushader5.geom
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 66
5
6                              Capability Geometry
7                              Capability Float64
8                              Capability Int64
9                              Capability SampleRateShading
10                              Capability Int8
11                              Capability GeometryStreams
12                              Capability StorageInputOutput16
13                              Extension  "SPV_KHR_16bit_storage"
14               1:             ExtInstImport  "GLSL.std.450"
15                              MemoryModel Logical GLSL450
16                              EntryPoint Geometry 4  "main" 14 22 24 25 28 32 36 39 43 47 51 52 54 56 58 60 62 64 65
17                              ExecutionMode 4 Triangles
18                              ExecutionMode 4 Invocations 6
19                              ExecutionMode 4 OutputPoints
20                              ExecutionMode 4 OutputVertices 3
21                              Source GLSL 150
22                              SourceExtension  "GL_ARB_gpu_shader_fp64"
23                              SourceExtension  "GL_NV_gpu_shader5"
24                              Name 4  "main"
25                              Name 6  "testGeomBuiltins("
26                              Name 12  "i"
27                              Name 14  "gl_InvocationID"
28                              Name 22  "colorSampIn"
29                              Name 24  "colorSampOut"
30                              Name 25  "color"
31                              Name 28  "Ocolor"
32                              Name 32  "var1"
33                              Name 36  "var5"
34                              Name 39  "var9"
35                              Name 43  "var13"
36                              Name 47  "var33"
37                              Name 51  "var41"
38                              Name 52  "var42"
39                              Name 54  "var11"
40                              Name 56  "var51"
41                              Name 58  "var91"
42                              Name 60  "var131"
43                              Name 62  "var331"
44                              Name 64  "var411"
45                              Name 65  "var421"
46                              Decorate 14(gl_InvocationID) BuiltIn InvocationId
47                              Decorate 22(colorSampIn) Sample
48                              Decorate 22(colorSampIn) Location 0
49                              Decorate 24(colorSampOut) Sample
50                              Decorate 24(colorSampOut) Stream 0
51                              Decorate 24(colorSampOut) Location 0
52                              Decorate 25(color) Location 1
53                              Decorate 28(Ocolor) Stream 0
54                              Decorate 28(Ocolor) Location 1
55                              Decorate 32(var1) Location 2
56                              Decorate 36(var5) Location 3
57                              Decorate 39(var9) Location 4
58                              Decorate 43(var13) Location 5
59                              Decorate 47(var33) Location 6
60                              Decorate 51(var41) Location 7
61                              Decorate 52(var42) Location 8
62                              Decorate 54(var11) Stream 1
63                              Decorate 54(var11) Location 2
64                              Decorate 56(var51) Stream 1
65                              Decorate 56(var51) Location 3
66                              Decorate 58(var91) Stream 1
67                              Decorate 58(var91) Location 4
68                              Decorate 60(var131) Stream 1
69                              Decorate 60(var131) Location 5
70                              Decorate 62(var331) Stream 1
71                              Decorate 62(var331) Location 6
72                              Decorate 64(var411) Stream 1
73                              Decorate 64(var411) Location 7
74                              Decorate 65(var421) Stream 1
75                              Decorate 65(var421) Location 8
76               2:             TypeVoid
77               3:             TypeFunction 2
78               8:             TypeInt 32 1
79               9:      8(int) Constant 1
80              10:      8(int) Constant 0
81              11:             TypePointer Function 8(int)
82              13:             TypePointer Input 8(int)
8314(gl_InvocationID):     13(ptr) Variable Input
84              16:             TypeFloat 32
85              17:             TypeVector 16(float) 4
86              18:             TypeInt 32 0
87              19:     18(int) Constant 3
88              20:             TypeArray 17(fvec4) 19
89              21:             TypePointer Input 20
90 22(colorSampIn):     21(ptr) Variable Input
91              23:             TypePointer Output 17(fvec4)
9224(colorSampOut):     23(ptr) Variable Output
93       25(color):     21(ptr) Variable Input
94              26:             TypeVector 16(float) 3
95              27:             TypePointer Output 26(fvec3)
96      28(Ocolor):     27(ptr) Variable Output
97              29:             TypeInt 8 1
98              30:             TypeArray 29(int8_t) 19
99              31:             TypePointer Input 30
100        32(var1):     31(ptr) Variable Input
101              33:             TypeInt 16 1
102              34:             TypeArray 33(int16_t) 19
103              35:             TypePointer Input 34
104        36(var5):     35(ptr) Variable Input
105              37:             TypeArray 8(int) 19
106              38:             TypePointer Input 37
107        39(var9):     38(ptr) Variable Input
108              40:             TypeInt 64 1
109              41:             TypeArray 40(int64_t) 19
110              42:             TypePointer Input 41
111       43(var13):     42(ptr) Variable Input
112              44:             TypeFloat 16
113              45:             TypeArray 44(float16_t) 19
114              46:             TypePointer Input 45
115       47(var33):     46(ptr) Variable Input
116              48:             TypeFloat 64
117              49:             TypeArray 48(float64_t) 19
118              50:             TypePointer Input 49
119       51(var41):     50(ptr) Variable Input
120       52(var42):     50(ptr) Variable Input
121              53:             TypePointer Output 29(int8_t)
122       54(var11):     53(ptr) Variable Output
123              55:             TypePointer Output 33(int16_t)
124       56(var51):     55(ptr) Variable Output
125              57:             TypePointer Output 8(int)
126       58(var91):     57(ptr) Variable Output
127              59:             TypePointer Output 40(int64_t)
128      60(var131):     59(ptr) Variable Output
129              61:             TypePointer Output 44(float16_t)
130      62(var331):     61(ptr) Variable Output
131              63:             TypePointer Output 48(float64_t)
132      64(var411):     63(ptr) Variable Output
133      65(var421):     63(ptr) Variable Output
134         4(main):           2 Function None 3
135               5:             Label
136                              Return
137                              FunctionEnd
1386(testGeomBuiltins():           2 Function None 3
139               7:             Label
140           12(i):     11(ptr) Variable Function
141                              EmitStreamVertex 9
142                              EndStreamPrimitive 10
143                              EmitVertex
144                              EndPrimitive
145              15:      8(int) Load 14(gl_InvocationID)
146                              Store 12(i) 15
147                              Return
148                              FunctionEnd