First Commit
This commit is contained in:
48
externals/glslang/Test/baseLegalResults/hlsl.aliasOpaque.frag.out
vendored
Normal file
48
externals/glslang/Test/baseLegalResults/hlsl.aliasOpaque.frag.out
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
hlsl.aliasOpaque.frag
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 89
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 62
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 47 "gss"
|
||||
Name 51 "gtex"
|
||||
Name 62 "@entryPointOutput"
|
||||
Decorate 47(gss) DescriptorSet 0
|
||||
Decorate 47(gss) Binding 0
|
||||
Decorate 51(gtex) DescriptorSet 0
|
||||
Decorate 51(gtex) Binding 2
|
||||
Decorate 62(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeSampler
|
||||
7: TypeFloat 32
|
||||
8: TypeImage 7(float) 2D sampled format:Unknown
|
||||
11: TypeVector 7(float) 4
|
||||
32: TypeSampledImage 8
|
||||
34: TypeVector 7(float) 2
|
||||
35: 7(float) Constant 1045220557
|
||||
36: 7(float) Constant 1050253722
|
||||
37: 34(fvec2) ConstantComposite 35 36
|
||||
43: TypePointer UniformConstant 6
|
||||
47(gss): 43(ptr) Variable UniformConstant
|
||||
50: TypePointer UniformConstant 8
|
||||
51(gtex): 50(ptr) Variable UniformConstant
|
||||
54: 7(float) Constant 1077936128
|
||||
61: TypePointer Output 11(fvec4)
|
||||
62(@entryPointOutput): 61(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
71: 6 Load 47(gss)
|
||||
73: 8 Load 51(gtex)
|
||||
86: 32 SampledImage 73 71
|
||||
87: 11(fvec4) ImageSampleImplicitLod 86 37
|
||||
88: 11(fvec4) VectorTimesScalar 87 54
|
||||
Store 62(@entryPointOutput) 88
|
||||
Return
|
||||
FunctionEnd
|
||||
69
externals/glslang/Test/baseLegalResults/hlsl.flattenOpaque.frag.out
vendored
Normal file
69
externals/glslang/Test/baseLegalResults/hlsl.flattenOpaque.frag.out
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
hlsl.flattenOpaque.frag
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 190
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 120
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 38 "tex"
|
||||
Name 82 "s.s2D"
|
||||
Name 97 "s2.s2D"
|
||||
Name 100 "s2.tex"
|
||||
Name 120 "@entryPointOutput"
|
||||
Decorate 38(tex) DescriptorSet 0
|
||||
Decorate 38(tex) Binding 0
|
||||
Decorate 82(s.s2D) DescriptorSet 0
|
||||
Decorate 82(s.s2D) Binding 1
|
||||
Decorate 97(s2.s2D) DescriptorSet 0
|
||||
Decorate 97(s2.s2D) Binding 2
|
||||
Decorate 100(s2.tex) DescriptorSet 0
|
||||
Decorate 100(s2.tex) Binding 3
|
||||
Decorate 120(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeSampler
|
||||
9: TypeFloat 32
|
||||
10: TypeVector 9(float) 4
|
||||
15: TypeVector 9(float) 2
|
||||
22: TypeImage 9(float) 2D sampled format:Unknown
|
||||
37: TypePointer UniformConstant 22
|
||||
38(tex): 37(ptr) Variable UniformConstant
|
||||
45: TypeSampledImage 22
|
||||
47: 9(float) Constant 1045220557
|
||||
48: 9(float) Constant 1050253722
|
||||
49: 15(fvec2) ConstantComposite 47 48
|
||||
81: TypePointer UniformConstant 6
|
||||
82(s.s2D): 81(ptr) Variable UniformConstant
|
||||
97(s2.s2D): 81(ptr) Variable UniformConstant
|
||||
100(s2.tex): 37(ptr) Variable UniformConstant
|
||||
119: TypePointer Output 10(fvec4)
|
||||
120(@entryPointOutput): 119(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
135: 6 Load 82(s.s2D)
|
||||
160: 22 Load 38(tex)
|
||||
163: 45 SampledImage 160 135
|
||||
164: 10(fvec4) ImageSampleImplicitLod 163 49
|
||||
139: 6 Load 82(s.s2D)
|
||||
167: 22 Load 38(tex)
|
||||
170: 45 SampledImage 167 139
|
||||
172: 10(fvec4) ImageSampleImplicitLod 170 49
|
||||
143: 10(fvec4) FAdd 164 172
|
||||
144: 6 Load 97(s2.s2D)
|
||||
146: 22 Load 100(s2.tex)
|
||||
179: 45 SampledImage 146 144
|
||||
180: 10(fvec4) ImageSampleImplicitLod 179 49
|
||||
150: 10(fvec4) FAdd 143 180
|
||||
151: 6 Load 97(s2.s2D)
|
||||
153: 22 Load 100(s2.tex)
|
||||
187: 45 SampledImage 153 151
|
||||
189: 10(fvec4) ImageSampleImplicitLod 187 49
|
||||
157: 10(fvec4) FAdd 150 189
|
||||
Store 120(@entryPointOutput) 157
|
||||
Return
|
||||
FunctionEnd
|
||||
54
externals/glslang/Test/baseLegalResults/hlsl.flattenOpaqueInit.vert.out
vendored
Normal file
54
externals/glslang/Test/baseLegalResults/hlsl.flattenOpaqueInit.vert.out
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
hlsl.flattenOpaqueInit.vert
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 139
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 80
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 43 "g_tInputTexture_sampler"
|
||||
Name 47 "g_tInputTexture"
|
||||
Name 80 "@entryPointOutput"
|
||||
Decorate 43(g_tInputTexture_sampler) DescriptorSet 0
|
||||
Decorate 43(g_tInputTexture_sampler) Binding 0
|
||||
Decorate 47(g_tInputTexture) DescriptorSet 0
|
||||
Decorate 47(g_tInputTexture) Binding 1
|
||||
Decorate 80(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeSampler
|
||||
7: TypeFloat 32
|
||||
8: TypeImage 7(float) 2D sampled format:Unknown
|
||||
11: TypeVector 7(float) 4
|
||||
31: TypeSampledImage 8
|
||||
33: TypeVector 7(float) 2
|
||||
34: 7(float) Constant 1050253722
|
||||
35: 7(float) Constant 1053609165
|
||||
36: 33(fvec2) ConstantComposite 34 35
|
||||
37: 7(float) Constant 0
|
||||
42: TypePointer UniformConstant 6
|
||||
43(g_tInputTexture_sampler): 42(ptr) Variable UniformConstant
|
||||
46: TypePointer UniformConstant 8
|
||||
47(g_tInputTexture): 46(ptr) Variable UniformConstant
|
||||
79: TypePointer Output 11(fvec4)
|
||||
80(@entryPointOutput): 79(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
91: 6 Load 43(g_tInputTexture_sampler)
|
||||
92: 8 Load 47(g_tInputTexture)
|
||||
113: 31 SampledImage 92 91
|
||||
114: 11(fvec4) ImageSampleExplicitLod 113 36 Lod 37
|
||||
118: 6 Load 43(g_tInputTexture_sampler)
|
||||
120: 8 Load 47(g_tInputTexture)
|
||||
129: 31 SampledImage 120 118
|
||||
130: 11(fvec4) ImageSampleExplicitLod 129 36 Lod 37
|
||||
100: 11(fvec4) FAdd 114 130
|
||||
137: 31 SampledImage 92 91
|
||||
138: 11(fvec4) ImageSampleExplicitLod 137 36 Lod 37
|
||||
105: 11(fvec4) FAdd 100 138
|
||||
Store 80(@entryPointOutput) 105
|
||||
Return
|
||||
FunctionEnd
|
||||
45
externals/glslang/Test/baseLegalResults/hlsl.flattenOpaqueInitMix.vert.out
vendored
Normal file
45
externals/glslang/Test/baseLegalResults/hlsl.flattenOpaqueInitMix.vert.out
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
hlsl.flattenOpaqueInitMix.vert
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 99
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 57
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 44 "g_tInputTexture_sampler"
|
||||
Name 47 "g_tInputTexture"
|
||||
Name 57 "@entryPointOutput"
|
||||
Decorate 44(g_tInputTexture_sampler) DescriptorSet 0
|
||||
Decorate 44(g_tInputTexture_sampler) Binding 0
|
||||
Decorate 47(g_tInputTexture) DescriptorSet 0
|
||||
Decorate 47(g_tInputTexture) Binding 1
|
||||
Decorate 57(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeSampler
|
||||
7: TypeFloat 32
|
||||
8: TypeImage 7(float) 2D sampled format:Unknown
|
||||
11: TypeVector 7(float) 4
|
||||
28: TypeSampledImage 8
|
||||
36: TypeVector 7(float) 2
|
||||
38: 7(float) Constant 0
|
||||
43: TypePointer UniformConstant 6
|
||||
44(g_tInputTexture_sampler): 43(ptr) Variable UniformConstant
|
||||
46: TypePointer UniformConstant 8
|
||||
47(g_tInputTexture): 46(ptr) Variable UniformConstant
|
||||
49: 7(float) Constant 1056964608
|
||||
56: TypePointer Output 11(fvec4)
|
||||
57(@entryPointOutput): 56(ptr) Variable Output
|
||||
98: 36(fvec2) ConstantComposite 49 49
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
64: 6 Load 44(g_tInputTexture_sampler)
|
||||
65: 8 Load 47(g_tInputTexture)
|
||||
75: 28 SampledImage 65 64
|
||||
81: 11(fvec4) ImageSampleExplicitLod 75 98 Lod 38
|
||||
Store 57(@entryPointOutput) 81
|
||||
Return
|
||||
FunctionEnd
|
||||
45
externals/glslang/Test/baseLegalResults/hlsl.flattenSubset.frag.out
vendored
Normal file
45
externals/glslang/Test/baseLegalResults/hlsl.flattenSubset.frag.out
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
hlsl.flattenSubset.frag
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 67
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 50
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 21 "samp"
|
||||
Name 33 "tex"
|
||||
Name 50 "@entryPointOutput"
|
||||
Decorate 21(samp) DescriptorSet 0
|
||||
Decorate 21(samp) Binding 0
|
||||
Decorate 33(tex) DescriptorSet 0
|
||||
Decorate 33(tex) Binding 1
|
||||
Decorate 50(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypeVector 6(float) 4
|
||||
13: TypeSampler
|
||||
20: TypePointer UniformConstant 13
|
||||
21(samp): 20(ptr) Variable UniformConstant
|
||||
31: TypeImage 6(float) 2D sampled format:Unknown
|
||||
32: TypePointer UniformConstant 31
|
||||
33(tex): 32(ptr) Variable UniformConstant
|
||||
37: TypeSampledImage 31
|
||||
39: TypeVector 6(float) 2
|
||||
40: 6(float) Constant 1056964608
|
||||
41: 39(fvec2) ConstantComposite 40 40
|
||||
49: TypePointer Output 7(fvec4)
|
||||
50(@entryPointOutput): 49(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
58: 13 Load 21(samp)
|
||||
62: 31 Load 33(tex)
|
||||
65: 37 SampledImage 62 58
|
||||
66: 7(fvec4) ImageSampleImplicitLod 65 41
|
||||
Store 50(@entryPointOutput) 66
|
||||
Return
|
||||
FunctionEnd
|
||||
27
externals/glslang/Test/baseLegalResults/hlsl.flattenSubset2.frag.out
vendored
Normal file
27
externals/glslang/Test/baseLegalResults/hlsl.flattenSubset2.frag.out
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
hlsl.flattenSubset2.frag
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 53
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 52
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 52 "@entryPointOutput"
|
||||
Decorate 52(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypeVector 6(float) 4
|
||||
43: 6(float) Constant 0
|
||||
44: 7(fvec4) ConstantComposite 43 43 43 43
|
||||
51: TypePointer Output 7(fvec4)
|
||||
52(@entryPointOutput): 51(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
Store 52(@entryPointOutput) 44
|
||||
Return
|
||||
FunctionEnd
|
||||
110
externals/glslang/Test/baseLegalResults/hlsl.intrinsics.evalfns.frag.out
vendored
Normal file
110
externals/glslang/Test/baseLegalResults/hlsl.intrinsics.evalfns.frag.out
vendored
Normal file
@@ -0,0 +1,110 @@
|
||||
hlsl.intrinsics.evalfns.frag
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 274
|
||||
|
||||
Capability Shader
|
||||
Capability InterpolationFunction
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Fragment 4 "main" 138 142 146 150 154 157 161
|
||||
ExecutionMode 4 OriginUpperLeft
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 138 "inF1"
|
||||
Name 142 "inF2"
|
||||
Name 146 "inF3"
|
||||
Name 150 "inF4"
|
||||
Name 154 "inI2"
|
||||
Name 157 "i.vPos"
|
||||
Name 161 "@entryPointOutput"
|
||||
Decorate 138(inF1) Location 0
|
||||
Decorate 142(inF2) Location 1
|
||||
Decorate 146(inF3) Location 2
|
||||
Decorate 150(inF4) Location 3
|
||||
Decorate 154(inI2) Flat
|
||||
Decorate 154(inI2) Location 4
|
||||
Decorate 157(i.vPos) Location 5
|
||||
Decorate 161(@entryPointOutput) Location 0
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
8: TypeVector 6(float) 2
|
||||
10: TypeVector 6(float) 3
|
||||
12: TypeVector 6(float) 4
|
||||
14: TypeInt 32 1
|
||||
15: TypeVector 14(int) 2
|
||||
30: 6(float) Constant 3204448256
|
||||
31: 6(float) Constant 3179282432
|
||||
32: 8(fvec2) ConstantComposite 30 31
|
||||
36: 6(float) Constant 0
|
||||
37: 6(float) Constant 1031798784
|
||||
38: 8(fvec2) ConstantComposite 36 37
|
||||
42: 6(float) Constant 1044381696
|
||||
43: 6(float) Constant 3200253952
|
||||
44: 8(fvec2) ConstantComposite 42 43
|
||||
48: 6(float) Constant 1054867456
|
||||
49: 8(fvec2) ConstantComposite 48 30
|
||||
53: 14(int) Constant 28
|
||||
64: TypeInt 32 0
|
||||
65: 64(int) Constant 3
|
||||
137: TypePointer Input 6(float)
|
||||
138(inF1): 137(ptr) Variable Input
|
||||
141: TypePointer Input 8(fvec2)
|
||||
142(inF2): 141(ptr) Variable Input
|
||||
145: TypePointer Input 10(fvec3)
|
||||
146(inF3): 145(ptr) Variable Input
|
||||
149: TypePointer Input 12(fvec4)
|
||||
150(inF4): 149(ptr) Variable Input
|
||||
153: TypePointer Input 15(ivec2)
|
||||
154(inI2): 153(ptr) Variable Input
|
||||
157(i.vPos): 141(ptr) Variable Input
|
||||
160: TypePointer Output 12(fvec4)
|
||||
161(@entryPointOutput): 160(ptr) Variable Output
|
||||
273: 15(ivec2) ConstantComposite 53 53
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
155: 15(ivec2) Load 154(inI2)
|
||||
183: 6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 138(inF1) 32
|
||||
185: 8(fvec2) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 142(inF2) 38
|
||||
187: 10(fvec3) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 146(inF3) 44
|
||||
189: 12(fvec4) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 150(inF4) 49
|
||||
193: 15(ivec2) ShiftLeftLogical 155 273
|
||||
195: 15(ivec2) ShiftRightArithmetic 193 273
|
||||
196: 8(fvec2) ConvertSToF 195
|
||||
197: 8(fvec2) VectorTimesScalar 196 37
|
||||
198: 6(float) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 138(inF1) 197
|
||||
200: 6(float) FAdd 183 198
|
||||
202: 6(float) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 138(inF1) 65
|
||||
204: 6(float) FAdd 200 202
|
||||
206: 8(fvec2) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 142(inF2) 65
|
||||
208: 8(fvec2) FAdd 185 206
|
||||
210: 10(fvec3) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 146(inF3) 65
|
||||
212: 10(fvec3) FAdd 187 210
|
||||
214: 12(fvec4) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 150(inF4) 65
|
||||
216: 12(fvec4) FAdd 189 214
|
||||
219: 14(int) CompositeExtract 155 0
|
||||
220: 64(int) Bitcast 219
|
||||
221: 6(float) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 138(inF1) 220
|
||||
223: 6(float) FAdd 204 221
|
||||
225: 6(float) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 138(inF1)
|
||||
227: 6(float) FAdd 223 225
|
||||
229: 8(fvec2) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 142(inF2)
|
||||
231: 8(fvec2) FAdd 208 229
|
||||
233: 10(fvec3) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 146(inF3)
|
||||
235: 10(fvec3) FAdd 212 233
|
||||
237: 12(fvec4) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 150(inF4)
|
||||
239: 12(fvec4) FAdd 216 237
|
||||
242: 8(fvec2) ExtInst 1(GLSL.std.450) 78(InterpolateAtOffset) 157(i.vPos) 38
|
||||
244: 8(fvec2) FAdd 231 242
|
||||
247: 8(fvec2) ExtInst 1(GLSL.std.450) 77(InterpolateAtSample) 157(i.vPos) 65
|
||||
249: 8(fvec2) FAdd 244 247
|
||||
252: 8(fvec2) ExtInst 1(GLSL.std.450) 76(InterpolateAtCentroid) 157(i.vPos)
|
||||
254: 8(fvec2) FAdd 249 252
|
||||
257: 6(float) CompositeExtract 254 1
|
||||
259: 6(float) CompositeExtract 235 2
|
||||
261: 6(float) CompositeExtract 239 3
|
||||
262: 12(fvec4) CompositeConstruct 227 257 259 261
|
||||
Store 161(@entryPointOutput) 262
|
||||
Return
|
||||
FunctionEnd
|
||||
86
externals/glslang/Test/baseLegalResults/hlsl.partialFlattenLocal.vert.out
vendored
Normal file
86
externals/glslang/Test/baseLegalResults/hlsl.partialFlattenLocal.vert.out
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
hlsl.partialFlattenLocal.vert
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 164
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 86 89
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 86 "pos"
|
||||
Name 89 "@entryPointOutput"
|
||||
Decorate 86(pos) Location 0
|
||||
Decorate 89(@entryPointOutput) BuiltIn Position
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypeVector 6(float) 4
|
||||
14: TypeVector 6(float) 3
|
||||
15: TypeInt 32 0
|
||||
16: 15(int) Constant 3
|
||||
17: TypeArray 14(fvec3) 16
|
||||
18: TypeVector 6(float) 2
|
||||
19: 15(int) Constant 2
|
||||
20: TypeArray 18(fvec2) 19
|
||||
21: TypeInt 32 1
|
||||
25: 21(int) Constant 0
|
||||
31: 21(int) Constant 1
|
||||
32: 6(float) Constant 0
|
||||
33: 14(fvec3) ConstantComposite 32 32 32
|
||||
34: TypePointer Function 14(fvec3)
|
||||
37: 6(float) Constant 1065353216
|
||||
38: 18(fvec2) ConstantComposite 32 37
|
||||
39: TypePointer Function 18(fvec2)
|
||||
42: TypePointer Function 6(float)
|
||||
54: TypeBool
|
||||
64: 15(int) Constant 0
|
||||
67: 15(int) Constant 1
|
||||
85: TypePointer Input 7(fvec4)
|
||||
86(pos): 85(ptr) Variable Input
|
||||
88: TypePointer Output 7(fvec4)
|
||||
89(@entryPointOutput): 88(ptr) Variable Output
|
||||
135: TypePointer Function 17
|
||||
137: TypePointer Function 20
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
138: 137(ptr) Variable Function
|
||||
136: 135(ptr) Variable Function
|
||||
87: 7(fvec4) Load 86(pos)
|
||||
141: 34(ptr) AccessChain 136 25
|
||||
Store 141 33
|
||||
142: 39(ptr) AccessChain 138 25
|
||||
Store 142 38
|
||||
Branch 104
|
||||
104: Label
|
||||
163: 21(int) Phi 25 5 123 108
|
||||
107: 54(bool) SLessThan 163 31
|
||||
LoopMerge 124 108 None
|
||||
BranchConditional 107 108 124
|
||||
108: Label
|
||||
143: 39(ptr) AccessChain 138 163
|
||||
112: 18(fvec2) Load 143
|
||||
144: 34(ptr) AccessChain 136 163
|
||||
114: 14(fvec3) Load 144
|
||||
115: 18(fvec2) VectorShuffle 114 114 0 1
|
||||
116: 18(fvec2) FAdd 115 112
|
||||
145: 42(ptr) AccessChain 136 163 64
|
||||
118: 6(float) CompositeExtract 116 0
|
||||
Store 145 118
|
||||
146: 42(ptr) AccessChain 136 163 67
|
||||
120: 6(float) CompositeExtract 116 1
|
||||
Store 146 120
|
||||
123: 21(int) IAdd 163 31
|
||||
Branch 104
|
||||
124: Label
|
||||
148: 17 Load 136
|
||||
162: 14(fvec3) CompositeExtract 148 0
|
||||
129: 6(float) CompositeExtract 162 0
|
||||
130: 6(float) CompositeExtract 162 1
|
||||
131: 6(float) CompositeExtract 162 2
|
||||
132: 7(fvec4) CompositeConstruct 129 130 131 32
|
||||
133: 7(fvec4) FAdd 87 132
|
||||
Store 89(@entryPointOutput) 133
|
||||
Return
|
||||
FunctionEnd
|
||||
29
externals/glslang/Test/baseLegalResults/hlsl.partialFlattenMixed.vert.out
vendored
Normal file
29
externals/glslang/Test/baseLegalResults/hlsl.partialFlattenMixed.vert.out
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
hlsl.partialFlattenMixed.vert
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 8000b
|
||||
// Id's are bound by 36
|
||||
|
||||
Capability Shader
|
||||
1: ExtInstImport "GLSL.std.450"
|
||||
MemoryModel Logical GLSL450
|
||||
EntryPoint Vertex 4 "main" 32 35
|
||||
Source HLSL 500
|
||||
Name 4 "main"
|
||||
Name 32 "pos"
|
||||
Name 35 "@entryPointOutput"
|
||||
Decorate 32(pos) Location 0
|
||||
Decorate 35(@entryPointOutput) BuiltIn Position
|
||||
2: TypeVoid
|
||||
3: TypeFunction 2
|
||||
6: TypeFloat 32
|
||||
7: TypeVector 6(float) 4
|
||||
31: TypePointer Input 7(fvec4)
|
||||
32(pos): 31(ptr) Variable Input
|
||||
34: TypePointer Output 7(fvec4)
|
||||
35(@entryPointOutput): 34(ptr) Variable Output
|
||||
4(main): 2 Function None 3
|
||||
5: Label
|
||||
33: 7(fvec4) Load 32(pos)
|
||||
Store 35(@entryPointOutput) 33
|
||||
Return
|
||||
FunctionEnd
|
||||
Reference in New Issue
Block a user