yum-mirror/glslang

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

ifrforspirv: use the lists of optimization passes from spirv-tools6a0d48e4

main
4.1 KiB90 linesraw
1hlsl.partialFlattenLocal.vert
2// Module Version 10000
3// Generated by (magic number): 8000b
4// Id's are bound by 164
5
6                              Capability Shader
7               1:             ExtInstImport  "GLSL.std.450"
8                              MemoryModel Logical GLSL450
9                              EntryPoint Vertex 4  "main" 86 89
10                              Source HLSL 500
11                              Name 4  "main"
12                              Name 86  "pos"
13                              Name 89  "@entryPointOutput"
14                              Decorate 86(pos) Location 0
15                              Decorate 89(@entryPointOutput) BuiltIn Position
16               2:             TypeVoid
17               3:             TypeFunction 2
18               6:             TypeFloat 32
19               7:             TypeVector 6(float) 4
20              14:             TypeVector 6(float) 3
21              15:             TypeInt 32 0
22              16:     15(int) Constant 3
23              17:             TypeArray 14(fvec3) 16
24              18:             TypeVector 6(float) 2
25              19:     15(int) Constant 2
26              20:             TypeArray 18(fvec2) 19
27              21:             TypeInt 32 1
28              25:     21(int) Constant 0
29              31:     21(int) Constant 1
30              32:    6(float) Constant 0
31              33:   14(fvec3) ConstantComposite 32 32 32
32              34:             TypePointer Function 14(fvec3)
33              37:    6(float) Constant 1065353216
34              38:   18(fvec2) ConstantComposite 32 37
35              39:             TypePointer Function 18(fvec2)
36              42:             TypePointer Function 6(float)
37              54:             TypeBool
38              64:     15(int) Constant 0
39              67:     15(int) Constant 1
40              85:             TypePointer Input 7(fvec4)
41         86(pos):     85(ptr) Variable Input
42              88:             TypePointer Output 7(fvec4)
4389(@entryPointOutput):     88(ptr) Variable Output
44             135:             TypePointer Function 17
45             137:             TypePointer Function 20
46         4(main):           2 Function None 3
47               5:             Label
48             138:    137(ptr) Variable Function
49             136:    135(ptr) Variable Function
50              87:    7(fvec4) Load 86(pos)
51             141:     34(ptr) AccessChain 136 25
52                              Store 141 33
53             142:     39(ptr) AccessChain 138 25
54                              Store 142 38
55                              Branch 104
56             104:             Label
57             163:     21(int) Phi 25 5 123 121
58                              LoopMerge 124 121 None
59                              Branch 105
60             105:             Label
61             107:    54(bool) SLessThan 163 31
62                              BranchConditional 107 108 124
63             108:               Label
64             143:     39(ptr)   AccessChain 138 163
65             112:   18(fvec2)   Load 143
66             144:     34(ptr)   AccessChain 136 163
67             114:   14(fvec3)   Load 144
68             115:   18(fvec2)   VectorShuffle 114 114 0 1
69             116:   18(fvec2)   FAdd 115 112
70             145:     42(ptr)   AccessChain 136 163 64
71             118:    6(float)   CompositeExtract 116 0
72                                Store 145 118
73             146:     42(ptr)   AccessChain 136 163 67
74             120:    6(float)   CompositeExtract 116 1
75                                Store 146 120
76                                Branch 121
77             121:               Label
78             123:     21(int)   IAdd 163 31
79                                Branch 104
80             124:             Label
81             148:          17 Load 136
82             162:   14(fvec3) CompositeExtract 148 0
83             129:    6(float) CompositeExtract 162 0
84             130:    6(float) CompositeExtract 162 1
85             131:    6(float) CompositeExtract 162 2
86             132:    7(fvec4) CompositeConstruct 129 130 131 32
87             133:    7(fvec4) FAdd 87 132
88                              Store 89(@entryPointOutput) 133
89                              Return
90                              FunctionEnd