yum-mirror/glslang

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

Jeff BolzImplement GL_EXT_long_vector (#4132)b937eae5

main
6.6 KiB140 linesraw
1spv.longVectorBuiltinsint64.comp
2// Module Version 10300
3// Generated by (magic number): 8000b
4// Id's are bound by 90
5
6                              Capability Shader
7                              Capability Int64
8                              Capability LongVectorEXT
9                              Capability ExpectAssumeKHR
10                              Extension  "SPV_EXT_long_vector"
11                              Extension  "SPV_KHR_expect_assume"
12               1:             ExtInstImport  "GLSL.std.450"
13                              MemoryModel Logical GLSL450
14                              EntryPoint GLCompute 4  "main"
15                              ExecutionMode 4 LocalSize 64 1 1
16                              Source GLSL 450
17                              SourceExtension  "GL_EXT_buffer_reference"
18                              SourceExtension  "GL_EXT_expect_assume"
19                              SourceExtension  "GL_EXT_long_vector"
20                              SourceExtension  "GL_EXT_shader_explicit_arithmetic_types"
21                              SourceExtension  "GL_KHR_memory_scope_semantics"
22                              Name 4  "main"
23                              Name 9  "vi"
24                              Name 12  "i"
25                              Name 41  "vb"
26                              Name 64  "tempArg"
27                              Name 65  "tempArg"
28                              Name 66  "ResType"
29                              Decorate 89 BuiltIn WorkgroupSize
30               2:             TypeVoid
31               3:             TypeFunction 2
32               6:             TypeInt 64 1
33               7:             TypeVector 6(int64_t) 5
34               8:             TypePointer Function 7(i64vec)
35              11:             TypePointer Function 6(int64_t)
36              38:             TypeBool
37              39:             TypeVector 38(bool) 5
38              40:             TypePointer Function 39(bvec)
39     66(ResType):             TypeStruct 7(i64vec) 7(i64vec)
40              85:             TypeInt 32 0
41              86:             TypeVector 85(int) 3
42              87:     85(int) Constant 64
43              88:     85(int) Constant 1
44              89:   86(ivec3) ConstantComposite 87 88 88
45         4(main):           2 Function None 3
46               5:             Label
47           9(vi):      8(ptr) Variable Function
48           12(i):     11(ptr) Variable Function
49          41(vb):     40(ptr) Variable Function
50     64(tempArg):      8(ptr) Variable Function
51     65(tempArg):      8(ptr) Variable Function
52              10:   7(i64vec) Load 9(vi)
53              13:  6(int64_t) Load 12(i)
54              14:   7(i64vec) CompositeConstruct 13 13 13 13 13
55              15:   7(i64vec) ExtInst 1(GLSL.std.450) 39(SMin) 10 14
56                              Store 9(vi) 15
57              16:   7(i64vec) Load 9(vi)
58              17:   7(i64vec) Load 9(vi)
59              18:   7(i64vec) ExtInst 1(GLSL.std.450) 39(SMin) 16 17
60                              Store 9(vi) 18
61              19:   7(i64vec) Load 9(vi)
62              20:  6(int64_t) Load 12(i)
63              21:   7(i64vec) CompositeConstruct 20 20 20 20 20
64              22:   7(i64vec) ExtInst 1(GLSL.std.450) 42(SMax) 19 21
65                              Store 9(vi) 22
66              23:   7(i64vec) Load 9(vi)
67              24:   7(i64vec) Load 9(vi)
68              25:   7(i64vec) ExtInst 1(GLSL.std.450) 42(SMax) 23 24
69                              Store 9(vi) 25
70              26:   7(i64vec) Load 9(vi)
71              27:  6(int64_t) Load 12(i)
72              28:  6(int64_t) Load 12(i)
73              29:   7(i64vec) CompositeConstruct 27 27 27 27 27
74              30:   7(i64vec) CompositeConstruct 28 28 28 28 28
75              31:   7(i64vec) ExtInst 1(GLSL.std.450) 45(SClamp) 26 29 30
76                              Store 9(vi) 31
77              32:   7(i64vec) Load 9(vi)
78              33:   7(i64vec) Load 9(vi)
79              34:   7(i64vec) Load 9(vi)
80              35:   7(i64vec) ExtInst 1(GLSL.std.450) 45(SClamp) 32 33 34
81                              Store 9(vi) 35
82              36:   7(i64vec) Load 9(vi)
83              37:   7(i64vec) Load 9(vi)
84              42:    39(bvec) Load 41(vb)
85              43:   7(i64vec) Select 42 37 36
86                              Store 9(vi) 43
87              44:   7(i64vec) Load 9(vi)
88              45:   7(i64vec) Load 9(vi)
89              46:    39(bvec) SLessThan 44 45
90                              Store 41(vb) 46
91              47:   7(i64vec) Load 9(vi)
92              48:   7(i64vec) Load 9(vi)
93              49:    39(bvec) SLessThanEqual 47 48
94                              Store 41(vb) 49
95              50:   7(i64vec) Load 9(vi)
96              51:   7(i64vec) Load 9(vi)
97              52:    39(bvec) SGreaterThan 50 51
98                              Store 41(vb) 52
99              53:   7(i64vec) Load 9(vi)
100              54:   7(i64vec) Load 9(vi)
101              55:    39(bvec) SGreaterThanEqual 53 54
102                              Store 41(vb) 55
103              56:   7(i64vec) Load 9(vi)
104              57:   7(i64vec) Load 9(vi)
105              58:    39(bvec) IEqual 56 57
106                              Store 41(vb) 58
107              59:   7(i64vec) Load 9(vi)
108              60:   7(i64vec) Load 9(vi)
109              61:    39(bvec) INotEqual 59 60
110                              Store 41(vb) 61
111              62:   7(i64vec) Load 9(vi)
112              63:   7(i64vec) Load 9(vi)
113              67: 66(ResType) SMulExtended 62 63
114              68:   7(i64vec) CompositeExtract 67 0
115                              Store 65(tempArg) 68
116              69:   7(i64vec) CompositeExtract 67 1
117                              Store 64(tempArg) 69
118              70:   7(i64vec) Load 64(tempArg)
119                              Store 9(vi) 70
120              71:   7(i64vec) Load 65(tempArg)
121                              Store 9(vi) 71
122              72:   7(i64vec) Load 9(vi)
123              73:   7(i64vec) BitCount 72
124                              Store 9(vi) 73
125              74:   7(i64vec) Load 9(vi)
126              75:   7(i64vec) Load 9(vi)
127              76:    39(bvec) Load 41(vb)
128              77:   7(i64vec) Select 76 75 74
129                              Store 9(vi) 77
130              78:    39(bvec) Load 41(vb)
131              79:    39(bvec) Load 41(vb)
132              80:    39(bvec) Load 41(vb)
133              81:    39(bvec) Select 80 79 78
134                              Store 41(vb) 81
135              82:   7(i64vec) Load 9(vi)
136              83:   7(i64vec) Load 9(vi)
137              84:   7(i64vec) ExpectKHR 82 83
138                              Store 9(vi) 84
139                              Return
140                              FunctionEnd